File tree Expand file tree Collapse file tree 8 files changed +53
-14
lines changed Expand file tree Collapse file tree 8 files changed +53
-14
lines changed Original file line number Diff line number Diff line change 1
1
# ChangeLog
2
2
3
+ ## v0.2.0.1
4
+ - Switch to tensorflow 1.14.0.
5
+ - Compatibility with stackage LTS-13.13.
6
+
3
7
## v0.2.0.0
4
8
- Switch to tensorflow 1.9.
5
9
- Switch to proto-lens 0.2.2.
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ stack --docker --docker-image=$IMAGE_NAME build --exec Main
91
91
If you want to use GPU you can do:
92
92
93
93
```
94
- IMAGE_NAME=tensorflow/haskell:1.9 .0-gpu
94
+ IMAGE_NAME=tensorflow/haskell:1.14 .0-gpu
95
95
docker build -t $IMAGE_NAME docker/gpu
96
96
```
97
97
Original file line number Diff line number Diff line change 3
3
# stack to be installed on the host. This comes at the expense of
4
4
# flexibility.
5
5
6
- FROM tensorflow/tensorflow:1.9 .0
6
+ FROM tensorflow/tensorflow:1.14 .0
7
7
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
8
8
9
9
# The build context directory is the top of the tensorflow-haskell
22
22
# Makes stack viable in the container
23
23
libgmp-dev \
24
24
libcurl3-dev \
25
+ zlib1g-dev \
26
+ # For fetching dependencies
27
+ curl \
28
+ unzip \
25
29
# Required for tcp connections by stack (See: https://github.com/tensorflow/haskell/issues/182)
26
30
netbase \
27
31
&& \
32
36
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \
33
37
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \
34
38
chmod 755 /usr/local/bin/protoc && \
35
- curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.9 .0.tar.gz && \
36
- tar zxf libtensorflow-cpu-linux-x86_64-1.9 .0.tar.gz -C /usr/local && \
39
+ curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.14 .0.tar.gz && \
40
+ tar zxf libtensorflow-cpu-linux-x86_64-1.14 .0.tar.gz -C /usr/local && \
37
41
ldconfig && \
38
42
stack setup && \
39
43
stack test --only-dependencies
Original file line number Diff line number Diff line change 1
1
# Prepare the image with:
2
2
# docker build -t tensorflow/haskell:v0 docker
3
- FROM tensorflow/tensorflow:1.9 .0
3
+ FROM tensorflow/tensorflow:1.14 .0
4
4
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
5
5
6
6
RUN apt-get update
@@ -12,6 +12,10 @@ RUN apt-get install -y \
12
12
libncurses5-dev \
13
13
# Makes stack viable in the container
14
14
libgmp-dev \
15
+ zlib1g-dev \
16
+ # For fetching dependencies
17
+ curl \
18
+ unzip \
15
19
# Required for locales configuration.
16
20
locales \
17
21
# Required for tcp connections by stack (See: https://github.com/tensorflow/haskell/issues/182)
27
31
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \
28
32
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \
29
33
chmod 755 /usr/local/bin/protoc && \
30
- curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.9 .0.tar.gz && \
31
- tar zxf libtensorflow-cpu-linux-x86_64-1.9 .0.tar.gz -C /usr/local && \
34
+ curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.14 .0.tar.gz && \
35
+ tar zxf libtensorflow-cpu-linux-x86_64-1.14 .0.tar.gz -C /usr/local && \
32
36
ldconfig
33
37
34
38
ENV LANG en_US.UTF-8
Original file line number Diff line number Diff line change 1
1
# Prepare the image with:
2
- # docker build -t tensorflow/haskell:1.9 .0-gpu docker/gpu
3
- FROM tensorflow/tensorflow:1.9 .0-gpu
2
+ # docker build -t tensorflow/haskell:1.14 .0-gpu docker/gpu
3
+ FROM tensorflow/tensorflow:1.14 .0-gpu
4
4
LABEL maintainer="TensorFlow authors <tensorflow-haskell@googlegroups.com>"
5
5
6
6
RUN apt-get update
@@ -14,6 +14,10 @@ RUN apt-get install -y \
14
14
libncurses5-dev \
15
15
# Makes stack viable in the container
16
16
libgmp-dev \
17
+ zlib1g-dev \
18
+ # For fetching dependencies
19
+ curl \
20
+ unzip \
17
21
# Required for locales configuration.
18
22
locales
19
23
27
31
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \
28
32
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \
29
33
chmod 755 /usr/local/bin/protoc && \
30
- curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-1.9 .0.tar.gz && \
31
- tar zxf libtensorflow-gpu-linux-x86_64-1.9 .0.tar.gz -C /usr/local && \
34
+ curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-1.14 .0.tar.gz && \
35
+ tar zxf libtensorflow-gpu-linux-x86_64-1.14 .0.tar.gz -C /usr/local && \
32
36
ldconfig
33
37
34
38
ENV LANG en_US.UTF-8
Original file line number Diff line number Diff line change @@ -91,6 +91,18 @@ fudgePackageDesc lbi p = p
91
91
blackList =
92
92
[ -- Requires the "func" type:
93
93
" FilterDataset"
94
+ , " BatchFunction"
95
+ , " Case"
96
+ , " ChooseFastestBranchDataset"
97
+ , " ExperimentalGroupByReducerDataset"
98
+ , " ExperimentalGroupByWindowDataset"
99
+ , " ExperimentalMapAndBatchDataset"
100
+ , " ExperimentalMapDataset"
101
+ , " ExperimentalNumaMapAndBatchDataset"
102
+ , " ExperimentalParallelInterleaveDataset"
103
+ , " ExperimentalScanDataset"
104
+ , " ExperimentalTakeWhileDataset"
105
+ , " FilterDataset"
94
106
, " FlatMapDataset"
95
107
, " For"
96
108
, " GeneratorDataset"
@@ -101,22 +113,33 @@ blackList =
101
113
, " MapAndBatchDataset"
102
114
, " MapAndBatchDatasetV2"
103
115
, " MapDataset"
104
- , " MapDataset "
116
+ , " MapDefun "
105
117
, " OneShotIterator"
106
118
, " ParallelInterleaveDataset"
119
+ , " ParallelInterleaveDatasetV2"
107
120
, " ParallelMapDataset"
121
+ , " ParseSequenceExample"
108
122
, " PartitionedCall"
123
+ , " ReduceDataset"
109
124
, " RemoteCall"
110
125
, " ScanDataset"
126
+ , " StatefulPartitionedCall"
127
+ , " StatelessIf"
128
+ , " StatelessWhile"
111
129
, " SymbolicGradient"
130
+ , " TPUPartitionedCall"
112
131
, " TPUReplicate"
113
132
, " While"
114
133
, " XlaIf"
115
134
, " XlaLaunch"
135
+ , " XlaReduce"
116
136
, " XlaReduceWindow"
137
+ , " XlaSelectAndScatter"
117
138
, " XlaWhile"
118
139
, " _If"
140
+ , " _TPUReplicate"
119
141
, " _While"
142
+ , " _XlaCompile"
120
143
]
121
144
122
145
autogenModulesDir :: LocalBuildInfo -> FilePath
Original file line number Diff line number Diff line change 27
27
TMP_DIR=$( mktemp -d)
28
28
29
29
echo " Downloading libtensorflow..."
30
- curl https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-darwin-x86_64-1.9 .0.tar.gz > " $TMP_DIR /libtensorflow.tar.gz"
30
+ curl https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-darwin-x86_64-1.14 .0.tar.gz > " $TMP_DIR /libtensorflow.tar.gz"
31
31
32
32
echo " Extracting and copying libtensorflow..."
33
33
tar zxf " $TMP_DIR /libtensorflow.tar.gz" -C " $TMP_DIR "
You can’t perform that action at this time.
0 commit comments