File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,7 @@ RUN conda config --add channels conda-forge && \
4141 # ^ rapidsai is the highest priority channel, default lowest, conda-forge 2nd lowest.
4242 # 161473620#comment7 pin required to prevent resolver from picking pysal 1.x., pysal 2.2.x is also downloading data on import.
4343 conda install matplotlib basemap cartopy python-igraph imagemagick "pysal==2.1.0" && \
44- # b/142337634#comment22 pin required to avoid torchaudio downgrade.
45- # b/162357958##comment7 Upgrade once new versions of torch* libs are released for pytorch 1.6.
46- conda install "pytorch=1.6" "torchvision=0.7" "torchaudio=0.6" "torchtext=0.7" cpuonly && \
44+ conda install "pytorch=1.7" "torchvision=0.8" "torchaudio=0.7" "torchtext=0.8" cpuonly && \
4745 /tmp/clean-layer.sh
4846
4947# The anaconda base image includes outdated versions of these packages. Update them to include the latest version.
@@ -370,10 +368,7 @@ RUN pip install bcolz && \
370368 pip install widgetsnbextension && \
371369 pip install pyarrow && \
372370 pip install feather-format && \
373- # b/172491515: Unpin after upgrading to torch 1.7
374- pip install fastai==2.0.19 && \
375- # b/172491515: Remove the next line after removing pin for fastai
376- pip install fastcore==1.3.2 && \
371+ pip install fastai && \
377372 pip install allennlp && \
378373 python -m spacy download en && python -m spacy download en_core_web_lg && \
379374 apt-get install -y ffmpeg && \
Original file line number Diff line number Diff 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.
6363RUN conda remove --force -y pytorch torchvision torchaudio cpuonly && \
64- conda install "pytorch=1.6 " "torchvision=0.7 " "torchaudio=0.6 " "torchtext=0.7 " "cudf=0.16" "cuml=0.16" cudatoolkit=$CUDA_VERSION && \
64+ conda install "pytorch=1.7 " "torchvision=0.8 " "torchaudio=0.7 " "torchtext=0.8 " "cudf=0.16" "cuml=0.16" cudatoolkit=$CUDA_VERSION && \
6565 /tmp/clean-layer.sh
6666
6767# Install LightGBM with GPU
You can’t perform that action at this time.
0 commit comments