Skip to content
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

Update cuml version to 24.02 in ci/Dockerfile #534

Closed
wants to merge 2 commits into from

Conversation

NvTimLiu
Copy link
Collaborator

To fix: #533

PackagesNotFoundError: - cuml=23.12* in the channel rapidsai-nightly

On branch-24.02, Build Docker image failed as below due to referring to ARG CUML_VER=23.12, with file : ci/Dockerfile

Only 24.02 cuml packages available in the rapids-nightly conda channel : https://anaconda.org/rapidsai-nightly/cuml/files

Change ARG CUML_VER=23.12 to ARG CUML_VER=24.02 to PASS the docker build

To fix: NVIDIA#533

```
PackagesNotFoundError: - cuml=23.12* in the channel rapidsai-nightly
```

On branch-24.02, Build Docker image failed as below due to referring to ARG CUML_VER=23.12, with file : ci/Dockerfile

Only 24.02 cuml packages available in the rapids-nightly conda channel : https://anaconda.org/rapidsai-nightly/cuml/files

Change ARG CUML_VER=23.12 to ARG CUML_VER=24.02 to PASS the docker build

Signed-off-by: Tim Liu <[email protected]>
@NvTimLiu
Copy link
Collaborator Author

Docker build can PASS with ARG CUML_VER=24.02 as below:

docker build -t spark-rapids-ml:ubuntu20.04-blossom-ci '--network=host' -f ci/Dockerfile

22:12:22  Step 7/8 : ARG CUML_VER=24.02
22:12:22   ---> Running in 46cae92678e1

22:12:22  Step 8/8 : RUN conda install -y -c rapidsai-nightly -c conda-forge -c nvidia cuml=$CUML_VER python=3.9 cuda-version=11.8     && conda clean --all -f -y

22:18:27  Successfully built cd547260e29b
22:18:27  Successfully tagged spark-rapids-ml:ubuntu20.04-blossom-ci

ci/Dockerfile Outdated
@@ -37,6 +37,6 @@ RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86
&& conda config --set solver libmamba

# install cuML
ARG CUML_VER=23.12
ARG CUML_VER=24.02
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please change back to 23.12 and in line below change rapidsai-nightly to rapidsai

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We needed the change to the conda channel to run ci in another pr and will just merge there: https://github.com/NVIDIA/spark-rapids-ml/pull/531/files#diff-3e80aab0c5827bd91cc241afb47e7d83cf0c2dad29dd29c6be31d7ed46d7adecR41

Please close this PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Close this PR, #531 will fix the failure

Change channel to rapids instead of rapids-nightly

Still install cuml v23.12 from rapids conda channel

Signed-off-by: Tim Liu <[email protected]>
@NvTimLiu NvTimLiu closed this Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants