Skip to content

Commit

Permalink
Pin cuda-python (#624)
Browse files Browse the repository at this point in the history
Fixes attempted in rapidsai/integration#695 & rapidsai/integration#697 don't play well with CEC at large, but this repo can pin `cuda-python` more restrictively.

This PR pins `cuda-python` to the CUDA `major.minor.*` version.

See also conda-forge/cuda-python-feedstock#66

Authors:
  - Ray Douglass (https://github.com/raydouglass)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - Jake Awe (https://github.com/AyodeAwe)

URL: #624
  • Loading branch information
raydouglass authored Feb 1, 2024
1 parent eadbe1d commit 7c808e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ WORKDIR /home/rapids

COPY condarc /opt/conda/.condarc

# cuda-python pin required for CUDA 12. See https://github.com/conda-forge/cuda-python-feedstock/issues/66
RUN <<EOF
mamba install -y -n base \
"rapids=${RAPIDS_VER}.*" \
"dask-sql=${DASK_SQL_VER%.*}.*" \
"python=${PYTHON_VER}.*" \
"cuda-python=${CUDA_VER%.*}.*" \
"cuda-version=${CUDA_VER%.*}.*" \
ipython
conda clean -afy
Expand Down

0 comments on commit 7c808e7

Please sign in to comment.