@@ -47,7 +47,7 @@ RUN conda config --add channels conda-forge && \
4747 conda install matplotlib basemap cartopy python-igraph imagemagick "pysal==2.1.0" && \
4848 # b/142337634#comment22 pin required to avoid torchaudio downgrade.
4949 # b/162357958##comment7 Upgrade once new versions of torch* libs are released for pytorch 1.6.
50- conda install "pytorch=1.5 " "torchvision=0.6 " "torchaudio=0.5 " "torchtext=0.6 " cpuonly && \
50+ conda install "pytorch=1.6 " "torchvision=0.7 " "torchaudio=0.6 " "torchtext=0.7 " cpuonly && \
5151 /tmp/clean-layer.sh
5252
5353# The anaconda base image includes outdated versions of these packages. Update them to include the latest version.
@@ -343,8 +343,7 @@ RUN pip install bcolz && \
343343 pip install nbformat && \
344344 pip install notebook==5.5.0 && \
345345 pip install olefile && \
346- # b/162850432 unpin once we upgrade to pytorch 1.6
347- pip install kornia==0.3.2 && \
346+ pip install kornia && \
348347 pip install pandas_summary && \
349348 pip install pandocfilters && \
350349 pip install pexpect && \
@@ -374,8 +373,7 @@ RUN pip install bcolz && \
374373 pip install widgetsnbextension && \
375374 pip install pyarrow && \
376375 pip install feather-format && \
377- # b/162850432 unpin once we upgrade to pytorch 1.6
378- pip install fastai~=1.0.61 && \
376+ pip install fastai && \
379377 pip install allennlp && \
380378 python -m spacy download en && python -m spacy download en_core_web_lg && \
381379 apt-get install -y ffmpeg && \
0 commit comments