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

[QST] Is it possible to install cuML without Anaconda? #6262

Closed
songwenas12 opened this issue Jan 25, 2025 · 5 comments
Closed

[QST] Is it possible to install cuML without Anaconda? #6262

songwenas12 opened this issue Jan 25, 2025 · 5 comments
Labels
? - Needs Triage Need team to review and classify question Further information is requested

Comments

@songwenas12
Copy link

What is your question?
Thank you for developing such an amazing tool. I am using cuML for a commercial project. Currently we use docker to deploy our model, but found that the docker imge depends on Anaconda, for which I need to obtain licence for commercial use. Is it possible for me to install and deploy cuML without Anaconda?

Thanks in advance for your kind help!

@songwenas12 songwenas12 added ? - Needs Triage Need team to review and classify question Further information is requested labels Jan 25, 2025
@quasiben
Copy link
Member

Yes! You can install cuML through pip:

pip install
--extra-index-url=https://pypi.nvidia.com
"cudf-cu12==24.12." "cuml-cu12==24.12."

You can see all the options on the install guide page

We'd love to hear more about your usage and experience with cuML if you're able to share.

@betatim
Copy link
Member

betatim commented Jan 27, 2025

In addition to Ben's reply, you can continue to install the conda package of cuml as it does not depend on packages from the defaults conda channel. As far as I understand the licensing requirements it isn't the use of conda but the use of packages from the defaults channel that counts. An article that explains more: https://prefix.dev/blog/towards_a_vendor_lock_in_free_conda_experience

The docker image you are currently using, could you share a few more details on it? Is it one maintained by RAPIDS or someone else? if it is maintained by RAPIDS we could potentially improve the documentation to help others with the conda licensing.

@bdice
Copy link
Contributor

bdice commented Jan 27, 2025

Adding a few more links to @betatim's excellent reply above:

RAPIDS is built and tested without the use of the defaults channel. We use the miniforge conda distribution, which uses only conda-forge and does not use Anaconda's defaults channel (unless explicitly added by the user). We recommend the Miniforge distribution as a minimal installation that uses conda-forge by default.

The Docker images deployed by RAPIDS are based on miniforge: https://github.com/rapidsai/docker/blob/b2701d6095dae3bd5b4782863c3c461c57b42512/Dockerfile#L37

You can also add nodefaults to your conda channel list to avoid the use of the defaults channel. See this link (scroll down a bit): https://docs.conda.io/projects/conda/en/stable/user-guide/tasks/manage-environments.html#creating-an-environment-file-manually

@songwenas12
Copy link
Author

Thank you all for the valuable answers! @betatim we are indeed using the official docker image provided by the RAPIDS selector. So glad to know that we can continue using the default docker image 😊 👍

@betatim
Copy link
Member

betatim commented Jan 28, 2025

Great :D

I'll close this then as it seems like the original question is solved. Feel free to re-open it if needed.

@betatim betatim closed this as completed Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
? - Needs Triage Need team to review and classify question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants