mirror of
https://github.com/tensorflow/haskell.git
synced 2024-11-26 21:09:44 +01:00
Update to tensorflow 1.9
This commit is contained in:
parent
e40d2c44f0
commit
ecfea97992
7 changed files with 22 additions and 12 deletions
|
@ -1,5 +1,8 @@
|
||||||
# ChangeLog
|
# ChangeLog
|
||||||
|
|
||||||
|
## v0.2.0.1
|
||||||
|
- Switch to tensorflow 1.9.
|
||||||
|
|
||||||
## v0.2.0.0
|
## v0.2.0.0
|
||||||
- Switch to tensorflow 1.8.
|
- Switch to tensorflow 1.8.
|
||||||
- Switch to proto-lens 0.2.2.
|
- Switch to proto-lens 0.2.2.
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# stack to be installed on the host. This comes at the expense of
|
# stack to be installed on the host. This comes at the expense of
|
||||||
# flexibility.
|
# flexibility.
|
||||||
|
|
||||||
FROM tensorflow/tensorflow:1.8.0
|
FROM tensorflow/tensorflow:1.9.0
|
||||||
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
|
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
|
||||||
|
|
||||||
# The build context directory is the top of the tensorflow-haskell
|
# The build context directory is the top of the tensorflow-haskell
|
||||||
|
@ -32,8 +32,8 @@ RUN \
|
||||||
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \
|
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \
|
||||||
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \
|
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \
|
||||||
chmod 755 /usr/local/bin/protoc && \
|
chmod 755 /usr/local/bin/protoc && \
|
||||||
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.8.0.tar.gz && \
|
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.9.0.tar.gz && \
|
||||||
tar zxf libtensorflow-cpu-linux-x86_64-1.8.0.tar.gz -C /usr/local && \
|
tar zxf libtensorflow-cpu-linux-x86_64-1.9.0.tar.gz -C /usr/local && \
|
||||||
ldconfig && \
|
ldconfig && \
|
||||||
stack setup && \
|
stack setup && \
|
||||||
stack test --only-dependencies
|
stack test --only-dependencies
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Prepare the image with:
|
# Prepare the image with:
|
||||||
# docker build -t tensorflow/haskell:v0 docker
|
# docker build -t tensorflow/haskell:v0 docker
|
||||||
FROM tensorflow/tensorflow:1.8.0
|
FROM tensorflow/tensorflow:1.9.0
|
||||||
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
|
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
@ -27,8 +27,8 @@ RUN \
|
||||||
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \
|
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \
|
||||||
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \
|
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \
|
||||||
chmod 755 /usr/local/bin/protoc && \
|
chmod 755 /usr/local/bin/protoc && \
|
||||||
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.8.0.tar.gz && \
|
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.9.0.tar.gz && \
|
||||||
tar zxf libtensorflow-cpu-linux-x86_64-1.8.0.tar.gz -C /usr/local && \
|
tar zxf libtensorflow-cpu-linux-x86_64-1.9.0.tar.gz -C /usr/local && \
|
||||||
ldconfig
|
ldconfig
|
||||||
|
|
||||||
ENV LANG en_US.UTF-8
|
ENV LANG en_US.UTF-8
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Prepare the image with:
|
# Prepare the image with:
|
||||||
# docker build -t tensorflow/haskell:1.8.0-gpu docker/gpu
|
# docker build -t tensorflow/haskell:1.9.0-gpu docker/gpu
|
||||||
FROM gcr.io/tensorflow/tensorflow:1.8.0-gpu
|
FROM gcr.io/tensorflow/tensorflow:1.9.0-gpu
|
||||||
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
|
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
@ -27,8 +27,8 @@ RUN \
|
||||||
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \
|
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \
|
||||||
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \
|
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \
|
||||||
chmod 755 /usr/local/bin/protoc && \
|
chmod 755 /usr/local/bin/protoc && \
|
||||||
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-1.8.0.tar.gz && \
|
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-1.9.0.tar.gz && \
|
||||||
tar zxf libtensorflow-gpu-linux-x86_64-1.8.0.tar.gz -C /usr/local && \
|
tar zxf libtensorflow-gpu-linux-x86_64-1.9.0.tar.gz -C /usr/local && \
|
||||||
ldconfig
|
ldconfig
|
||||||
|
|
||||||
ENV LANG en_US.UTF-8
|
ENV LANG en_US.UTF-8
|
||||||
|
|
|
@ -94,20 +94,27 @@ blackList =
|
||||||
, "FlatMapDataset"
|
, "FlatMapDataset"
|
||||||
, "For"
|
, "For"
|
||||||
, "GeneratorDataset"
|
, "GeneratorDataset"
|
||||||
|
, "GroupByReducerDataset"
|
||||||
, "GroupByWindowDataset"
|
, "GroupByWindowDataset"
|
||||||
, "If"
|
, "If"
|
||||||
, "InterleaveDataset"
|
, "InterleaveDataset"
|
||||||
, "MapAndBatchDataset"
|
, "MapAndBatchDataset"
|
||||||
|
, "MapAndBatchDatasetV2"
|
||||||
, "MapDataset"
|
, "MapDataset"
|
||||||
, "MapDataset"
|
, "MapDataset"
|
||||||
, "OneShotIterator"
|
, "OneShotIterator"
|
||||||
, "ParallelInterleaveDataset"
|
, "ParallelInterleaveDataset"
|
||||||
, "ParallelMapDataset"
|
, "ParallelMapDataset"
|
||||||
|
, "PartitionedCall"
|
||||||
, "RemoteCall"
|
, "RemoteCall"
|
||||||
, "ScanDataset"
|
, "ScanDataset"
|
||||||
, "SymbolicGradient"
|
, "SymbolicGradient"
|
||||||
, "TPUReplicate"
|
, "TPUReplicate"
|
||||||
, "While"
|
, "While"
|
||||||
|
, "XlaIf"
|
||||||
|
, "XlaLaunch"
|
||||||
|
, "XlaReduceWindow"
|
||||||
|
, "XlaWhile"
|
||||||
, "_If"
|
, "_If"
|
||||||
, "_While"
|
, "_While"
|
||||||
]
|
]
|
||||||
|
|
2
third_party/tensorflow
vendored
2
third_party/tensorflow
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 93bc2e2072e0daccbcff7a90d397b704a9e8f778
|
Subproject commit 25c197e02393bd44f50079945409009dd4d434f8
|
|
@ -27,7 +27,7 @@ fi
|
||||||
TMP_DIR=$(mktemp -d)
|
TMP_DIR=$(mktemp -d)
|
||||||
|
|
||||||
echo "Downloading libtensorflow..."
|
echo "Downloading libtensorflow..."
|
||||||
curl https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-darwin-x86_64-1.8.0.tar.gz > "$TMP_DIR/libtensorflow.tar.gz"
|
curl https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-darwin-x86_64-1.9.0.tar.gz > "$TMP_DIR/libtensorflow.tar.gz"
|
||||||
|
|
||||||
echo "Extracting and copying libtensorflow..."
|
echo "Extracting and copying libtensorflow..."
|
||||||
tar zxf "$TMP_DIR/libtensorflow.tar.gz" -C "$TMP_DIR"
|
tar zxf "$TMP_DIR/libtensorflow.tar.gz" -C "$TMP_DIR"
|
||||||
|
|
Loading…
Reference in a new issue