-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix compilation with tensorflow 2.12 and higher * Update tensorflow submodule to 2.12.0 * Update Dockerfiles to 2.12.0
- Loading branch information
Showing
8 changed files
with
204 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# stack to be installed on the host. This comes at the expense of | ||
# flexibility. | ||
|
||
FROM tensorflow/tensorflow:2.10.1 | ||
FROM tensorflow/tensorflow:2.12.0 | ||
LABEL maintainer="TensorFlow authors <[email protected]>" | ||
|
||
# The build context directory is the top of the tensorflow-haskell | ||
|
@@ -36,8 +36,8 @@ RUN \ | |
curl -O -L https://github.com/google/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip && \ | ||
unzip -d /usr/local protoc-3.13.0-linux-x86_64.zip bin/protoc && \ | ||
chmod 755 /usr/local/bin/protoc && \ | ||
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.10.1.tar.gz && \ | ||
tar zxf libtensorflow-cpu-linux-x86_64-2.10.1.tar.gz -C /usr/local && \ | ||
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.12.0.tar.gz && \ | ||
tar zxf libtensorflow-cpu-linux-x86_64-2.12.0.tar.gz -C /usr/local && \ | ||
ldconfig && \ | ||
stack setup && \ | ||
stack test --only-dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Prepare the image with: | ||
# docker build -t tensorflow/haskell:2.10.1 docker | ||
FROM tensorflow/tensorflow:2.10.1 | ||
# docker build -t tensorflow/haskell:2.12.0 docker | ||
FROM tensorflow/tensorflow:2.12.0 | ||
LABEL maintainer="TensorFlow authors <[email protected]>" | ||
|
||
RUN apt-get update | ||
|
@@ -31,8 +31,8 @@ RUN \ | |
curl -O -L https://github.com/google/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip && \ | ||
unzip -d /usr/local protoc-3.13.0-linux-x86_64.zip bin/protoc && \ | ||
chmod 755 /usr/local/bin/protoc && \ | ||
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.10.1.tar.gz && \ | ||
tar zxf libtensorflow-cpu-linux-x86_64-2.10.1.tar.gz -C /usr/local && \ | ||
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.12.0.tar.gz && \ | ||
tar zxf libtensorflow-cpu-linux-x86_64-2.12.0.tar.gz -C /usr/local && \ | ||
ldconfig | ||
|
||
ENV LANG en_US.UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Prepare the image with: | ||
# docker build -t tensorflow/haskell:2.10.1-gpu docker/gpu | ||
FROM tensorflow/tensorflow:2.10.1-gpu | ||
# docker build -t tensorflow/haskell:2.12.0-gpu docker/gpu | ||
FROM tensorflow/tensorflow:2.12.0-gpu | ||
LABEL maintainer="TensorFlow authors <[email protected]>" | ||
|
||
RUN apt-get update | ||
|
@@ -31,8 +31,8 @@ RUN \ | |
curl -O -L https://github.com/google/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip && \ | ||
unzip -d /usr/local protoc-3.13.0-linux-x86_64.zip bin/protoc && \ | ||
chmod 755 /usr/local/bin/protoc && \ | ||
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-2.10.1.tar.gz && \ | ||
tar zxf libtensorflow-gpu-linux-x86_64-2.10.1.tar.gz -C /usr/local && \ | ||
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-2.12.0.tar.gz && \ | ||
tar zxf libtensorflow-gpu-linux-x86_64-2.12.0.tar.gz -C /usr/local && \ | ||
ldconfig | ||
|
||
ENV LANG en_US.UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule tensorflow
updated
11710 files