@@ -40,14 +40,12 @@ RUN conda config --add channels conda-forge && \
40
40
conda config --add channels pytorch && \
41
41
conda config --add channels rapidsai && \
42
42
# ^ 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
44
43
# 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 && \
47
46
/tmp/clean-layer.sh
48
47
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 && \
51
49
pip install pyyaml joblib husl geopy ml_metrics mne pyshp && \
52
50
pip install pandas && \
53
51
# Install h2o from source.
@@ -346,8 +344,7 @@ RUN pip install bleach && \
346
344
pip install widgetsnbextension && \
347
345
pip install pyarrow && \
348
346
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 && \
351
348
pip install allennlp && \
352
349
# https://b.corp.google.com/issues/184685619#comment9: 3.9.0 is causing a major performance degradation with spacy 2.3.5
353
350
pip install importlib-metadata==3.4.0 && \
0 commit comments