Skip to content

Commit 391dc1b

Browse files
authored
Upgrade cuml/cudf to 21.06 (#1038)
* Upgrade cuml/cudf to 21.06 http://b/192568337 * add torchtext to list of package to remove to avoid inconsistent environment * Use cupy installed by conda
1 parent 3d698a6 commit 391dc1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gpu.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ RUN apt-get install -y ocl-icd-libopencl1 clinfo libboost-all-dev && \
5757
# the remaining pip commands: https://www.anaconda.com/using-pip-in-a-conda-environment/
5858
# However, because this image is based on the CPU image, this isn't possible but better
5959
# to put them at the top of this file to minize conflicts.
60-
RUN conda remove --force -y pytorch torchvision torchaudio cpuonly && \
61-
conda install "pytorch=1.7" "torchvision=0.8" "torchaudio=0.7" "torchtext=0.8" "cudf=0.16" "cuml=0.16" cudatoolkit=$CUDA_VERSION && \
60+
RUN conda remove --force -y pytorch torchvision torchaudio torchtext cpuonly && \
61+
conda install "pytorch=1.7" "torchvision=0.8" "torchaudio=0.7" "torchtext=0.8" cudatoolkit=$CUDA_VERSION && \
62+
conda install "cudf=21.06" "cuml=21.06" && \
6263
/tmp/clean-layer.sh
6364

6465
# Install LightGBM with GPU
@@ -89,7 +90,6 @@ RUN pip uninstall -y tensorflow && \
8990

9091
# Install GPU-only packages
9192
RUN pip install pycuda && \
92-
pip install cupy-cuda$CUDA_MAJOR_VERSION$CUDA_MINOR_VERSION && \
9393
pip install pynvrtc && \
9494
# b/190622765 latest version is causing issue. nnabla fixed it in https://github.com/sony/nnabla/issues/892, waiting for new release before we can remove this pin.
9595
pip install pynvml==8.0.4 && \

0 commit comments

Comments
 (0)