@@ -40,14 +40,12 @@ RUN conda config --add channels conda-forge && \
4040 conda config --add channels pytorch && \
4141 conda config --add channels rapidsai && \
4242 # ^ rapidsai is the highest priority channel, default lowest, conda-forge 2nd lowest.
43- # b/182405233 pyproj 3.x is not compatible with basemap 1.2.1
4443 # b/161473620#comment7 pin required to prevent resolver from picking pysal 1.x., pysal 2.2.x is also downloading data on import.
45- 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 && \
44+ conda install basemap cartopy imagemagick pyproj pysal==2.1.0 && \
45+ conda install "pytorch=1.8.1 " "torchvision=0.9.1 " "torchaudio=0.8.1 " "torchtext=0.9.1 " cpuonly && \
4746 /tmp/clean-layer.sh
4847
49- # The anaconda base image includes outdated versions of these packages. Update them to include the latest version.
50- RUN pip install seaborn python-dateutil dask && \
48+ RUN pip install seaborn python-dateutil dask python-igraph && \
5149 pip install pyyaml joblib husl geopy ml_metrics mne pyshp && \
5250 pip install pandas && \
5351 # Install h2o from source.
@@ -346,8 +344,7 @@ RUN pip install bleach && \
346344 pip install widgetsnbextension && \
347345 pip install pyarrow && \
348346 pip install feather-format && \
349- # fastai >= 2.3.1 upgrades pytorch/torchvision. upgrade of pytorch will be handled in b/181966788
350- pip install fastai==2.2.7 && \
347+ pip install fastai && \
351348 pip install allennlp && \
352349 # https://b.corp.google.com/issues/184685619#comment9: 3.9.0 is causing a major performance degradation with spacy 2.3.5
353350 pip install importlib-metadata==3.4.0 && \
0 commit comments