File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ RUN conda config --add channels conda-forge && \
46
46
# 161473620#comment7 pin required to prevent resolver from picking pysal 1.x., pysal 2.2.x is also downloading data on import.
47
47
conda install matplotlib basemap cartopy python-igraph imagemagick "pysal==2.1.0" && \
48
48
# b/142337634#comment22 pin required to avoid torchaudio downgrade.
49
- conda install "pytorch>=1.5.0" "torchvision>=0.6.0" "torchaudio>=0.5.0" cpuonly && \
49
+ # 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
51
/tmp/clean-layer.sh
51
52
52
53
# The anaconda base image includes outdated versions of these packages. Update them to include the latest version.
@@ -373,7 +374,6 @@ RUN pip install bcolz && \
373
374
pip install pyarrow && \
374
375
pip install feather-format && \
375
376
pip install fastai && \
376
- pip install torchtext && \
377
377
pip install allennlp && \
378
378
python -m spacy download en && python -m spacy download en_core_web_lg && \
379
379
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 && \
61
61
# However, because this image is based on the CPU image, this isn't possible but better
62
62
# to put them at the top of this file to minize conflicts.
63
63
RUN conda remove --force -y pytorch torchvision torchaudio cpuonly && \
64
- conda install "pytorch> =1.5.0 " "torchvision> =0.6.0 " "torchaudio> =0.5.0 " cudatoolkit=$CUDA_VERSION && \
64
+ conda install "pytorch=1.5" "torchvision=0.6" "torchaudio=0.5" "torchtext=0.6 " cudatoolkit=$CUDA_VERSION && \
65
65
/tmp/clean-layer.sh
66
66
67
67
# Install LightGBM with GPU
You can’t perform that action at this time.
0 commit comments