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

CPU-only pypi and conda packages #280

Open
luweizheng opened this issue Sep 24, 2024 · 4 comments
Open

CPU-only pypi and conda packages #280

luweizheng opened this issue Sep 24, 2024 · 4 comments

Comments

@luweizheng
Copy link

Hi,

Is there a CPU-only pypi or conda package of ucxx. I used to install by conda install -c conda-forge -c rapidsai ucx-proc=*=cpu ucx ucx-py, and now I will move to ucxx.
I now can install by pip install ucxx-cu12 on a CPU node, and it seems that most of ucxx's functions work, but it has some warning of not having cuda devices. What's more, I am not sure if the performance of the GPU-compiled package is fast enough and whether I need to compile a CPU version.

If there is a CPU version pypi or conda package, it would be great.

@pentschev
Copy link
Member

@luweizheng thanks for the report. One thing you don't need to do anymore is provide ucx-proc=*=cpu, since UCX 1.14 there's only one package that is supported both by CPU and CUDA, which is determined at runtime.

As for CPU packages of UCXX we still have to figure out what's possible both for conda and pip packages. In both cases the only dependency to CUDA is in libucxx (C++ implementation). @jameslamb do you have any sense of what would be necessary to provide libucxx without CUDA/RMM dependencies so it runs also on CPU-only systems both for conda and pip packages?

@jameslamb
Copy link
Member

@jameslamb do you have any sense of what would be necessary to provide libucxx without CUDA/RMM dependencies so it runs also on CPU-only systems both for conda and pip packages?

I don't know that. I suspect we could borrow some ideas from there:

@luweizheng
Copy link
Author

Hoping there is a CPU-only package 🫡

@luweizheng
Copy link
Author

Currently, the (v.0.40) conda package can run on a CPU-only computing node.

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

No branches or pull requests

3 participants