File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,9 @@ BASE_IMAGE_TAG=m94
3
3
CPU_BASE_IMAGE_NAME=tf2-cpu.2-9
4
4
GPU_BASE_IMAGE_NAME=tf2-gpu.2-9
5
5
LIGHTGBM_VERSION=3.3.2
6
- TORCH_VERSION=1.11.0
7
- # TODO(b/215031404#comment4) Remove zlib sed command after upgrade to >= 0.11.1
8
- TORCHAUDIO_VERSION=0.11.0
9
- TORCHTEXT_VERSION=0.12.0
10
- TORCHVISION_VERSION=0.12.0
6
+ TORCH_VERSION=1.12.0
7
+ TORCHAUDIO_VERSION=0.12.0
8
+ TORCHTEXT_VERSION=0.13.0
9
+ TORCHVISION_VERSION=0.13.0
11
10
CUDA_MAJOR_VERSION=11
12
11
CUDA_MINOR_VERSION=0
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ ARG CUDA_MINOR_VERSION
13
13
RUN test -n "$TORCHVISION_VERSION"
14
14
15
15
# Build instructions: https://github.com/pytorch/pytorch#from-source
16
- RUN conda install astunparse numpy ninja pyyaml mkl mkl-include setuptools==59.5.0 cmake cffi typing_extensions future six requests dataclasses
16
+ RUN conda install astunparse numpy ninja pyyaml mkl mkl-include setuptools cmake cffi typing_extensions future six requests dataclasses
17
17
RUN conda install -c pytorch magma-cuda${CUDA_MAJOR_VERSION}${CUDA_MINOR_VERSION}
18
18
19
19
# By default, it uses the version from version.txt which includes the `a0` (alpha zero) suffix and part of the git hash.
@@ -44,8 +44,6 @@ RUN cd /usr/local/src && \
44
44
git checkout tags/v$TORCHAUDIO_VERSION && \
45
45
git submodule sync && \
46
46
git submodule update --init --recursive --jobs 0 && \
47
- # TODO(b/215031404#comment4) Remove after upgrade next release (0.11.1)
48
- sed -i s?https://zlib.net/zlib-1.2.11.tar.gz?https://sourceforge.net/projects/libpng/files/zlib/1.2.11/zlib-1.2.11.tar.gz? third_party/zlib/CMakeLists.txt && \
49
47
python setup.py bdist_wheel
50
48
51
49
# Build torchtext
You can’t perform that action at this time.
0 commit comments