Simple way to install mlx[cuda] with uv? #2839
Replies: 1 comment
-
|
Currently mlx-cuda does require a system installed CUDA toolkit, your use case is definitely reasonable and I have opened an issue for it: #2842. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am testing (again) MLX with CUDA.
I found installation (I use uv, maybe that matters) a bit finicky - in some combination, if mlx is installed after torch, it would work; sometimes it doesn't. Some cases are totally weird:
let's change command to
uv run --with 'mlx[cuda]==0.30.0' python test_mlx.pyadding addmm makes code fail with
Ok, let's add toolkit with all packages, to match torch installation:
I was able to make it work with one of previous MLX versions 😅 .
I'd appreciate help with getting right installation which avoids installing system packages, as I don't want to keep multiple containers while running simple tests.
Beta Was this translation helpful? Give feedback.
All reactions