File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -55,13 +55,11 @@ RUN apt-get install -y ocl-icd-libopencl1 clinfo libboost-all-dev && \
55
55
# the remaining pip commands: https://www.anaconda.com/using-pip-in-a-conda-environment/
56
56
# However, because this image is based on the CPU image, this isn't possible but better
57
57
# to put them at the top of this file to minize conflicts.
58
- RUN conda remove --force -y pytorch torchvision torchaudio torchtext cpuonly && \
59
- conda install "pytorch=1.7" "torchvision=0.8" "torchaudio=0.7" "torchtext=0.8" cudatoolkit=$CUDA_VERSION && \
60
- conda install "cudf=21.06" "cuml=21.06" && \
58
+ RUN conda install "cudf=21.06" "cuml=21.06" && \
61
59
/tmp/clean-layer.sh
62
60
63
61
# Install Pytorch and torchvision with GPU support.
64
- # Note: torchtext and torchaudio do not require a separate package.
62
+ # Note: torchtext and torchaudio do not require a separate GPU package.
65
63
RUN pip install torch==1.7.1+cu110 torchvision==0.8.2+cu110 -f https://download.pytorch.org/whl/torch_stable.html && \
66
64
/tmp/clean-layer.sh
67
65
You can’t perform that action at this time.
0 commit comments