Skip to content

Commit a1ba224

Browse files
committed
Upgrade to PyTorch 1.8
http://b/181966788
1 parent 8bf4913 commit a1ba224

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ RUN conda config --add channels conda-forge && \
4242
# b/182405233 pyproj 3.x is not compatible with basemap 1.2.1
4343
# b/161473620#comment7 pin required to prevent resolver from picking pysal 1.x., pysal 2.2.x is also downloading data on import.
4444
conda install matplotlib basemap cartopy python-igraph imagemagick "pyproj=2.6" "pysal==2.1.0" && \
45-
conda install "pytorch=1.7" "torchvision=0.8" "torchaudio=0.7" "torchtext=0.8" cpuonly && \
45+
conda install "pytorch=1.8" "torchvision=0.9" "torchaudio=0.8" "torchtext=0.9" cpuonly && \
4646
/tmp/clean-layer.sh
4747

4848
# The anaconda base image includes outdated versions of these packages. Update them to include the latest version.

gpu.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN apt-get install -y ocl-icd-libopencl1 clinfo libboost-all-dev && \
6161
# However, because this image is based on the CPU image, this isn't possible but better
6262
# to put them at the top of this file to minize conflicts.
6363
RUN conda remove --force -y pytorch torchvision torchaudio cpuonly && \
64-
conda install "pytorch=1.7" "torchvision=0.8" "torchaudio=0.7" "torchtext=0.8" "cudf=0.16" "cuml=0.16" cudatoolkit=$CUDA_VERSION && \
64+
conda install "pytorch=1.8" "torchvision=0.9" "torchaudio=0.8" "torchtext=0.9" "cudf=0.16" "cuml=0.16" cudatoolkit=$CUDA_VERSION && \
6565
/tmp/clean-layer.sh
6666

6767
# Install LightGBM with GPU

0 commit comments

Comments
 (0)