Skip to content

Commit 586a738

Browse files
committed
Upgrade to PyTorch 1.8.1
http://b/181966788
1 parent c287f51 commit 586a738

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
@@ -43,7 +43,7 @@ RUN conda config --add channels conda-forge && \
4343
# b/182405233 pyproj 3.x is not compatible with basemap 1.2.1
4444
# b/161473620#comment7 pin required to prevent resolver from picking pysal 1.x., pysal 2.2.x is also downloading data on import.
4545
conda install matplotlib basemap cartopy python-igraph imagemagick "pyproj=2.6" "pysal==2.1.0" && \
46-
conda install "pytorch=1.7" "torchvision=0.8" "torchaudio=0.7" "torchtext=0.8" cpuonly && \
46+
conda install "pytorch==1.8.1" "torchvision==0.9.1" "torchaudio==0.8.1" "torchtext==0.9.1" cpuonly && \
4747
/tmp/clean-layer.sh
4848

4949
# 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
@@ -59,7 +59,7 @@ RUN apt-get install -y ocl-icd-libopencl1 clinfo libboost-all-dev && \
5959
# However, because this image is based on the CPU image, this isn't possible but better
6060
# to put them at the top of this file to minize conflicts.
6161
RUN conda remove --force -y pytorch torchvision torchaudio cpuonly && \
62-
conda install "pytorch=1.7" "torchvision=0.8" "torchaudio=0.7" "torchtext=0.8" "cudf=0.16" "cuml=0.16" cudatoolkit=$CUDA_VERSION && \
62+
conda install "pytorch==1.8.1" "torchvision==0.9.1" "torchaudio==0.8.1" "torchtext==0.9.1" "cudf=0.16" "cuml=0.16" cudatoolkit=$CUDA_VERSION && \
6363
/tmp/clean-layer.sh
6464

6565
# Install LightGBM with GPU

0 commit comments

Comments
 (0)