Skip to content

Upgrade cuml/cudf to 21.06 #1038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions gpu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ RUN apt-get install -y ocl-icd-libopencl1 clinfo libboost-all-dev && \
# the remaining pip commands: https://www.anaconda.com/using-pip-in-a-conda-environment/
# However, because this image is based on the CPU image, this isn't possible but better
# to put them at the top of this file to minize conflicts.
RUN conda remove --force -y pytorch torchvision torchaudio cpuonly && \
conda install "pytorch=1.7" "torchvision=0.8" "torchaudio=0.7" "torchtext=0.8" "cudf=0.16" "cuml=0.16" cudatoolkit=$CUDA_VERSION && \
RUN conda remove --force -y pytorch torchvision torchaudio torchtext cpuonly && \
conda install "pytorch=1.7" "torchvision=0.8" "torchaudio=0.7" "torchtext=0.8" cudatoolkit=$CUDA_VERSION && \
conda install "cudf=21.06" "cuml=21.06" && \
/tmp/clean-layer.sh

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

# Install GPU-only packages
RUN pip install pycuda && \
pip install cupy-cuda$CUDA_MAJOR_VERSION$CUDA_MINOR_VERSION && \
pip install pynvrtc && \
# 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.
pip install pynvml==8.0.4 && \
Expand Down