-
Notifications
You must be signed in to change notification settings - Fork 441
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
Unable to run recent CUDA-enabled docker image against GPU #1584
Comments
The docker image is not compiled with cuda but we just released a cuda tag. Can you please try it instead? |
@josevalim Yes, thank you. I saw the recent PR went onto main, so I assumed it would be in the regular docker image. Thank you, I'll try that and report back. |
@josevalim Thank you. It works but then runs out of memory. I tried the example of changing precision here (elixir-nx/bumblebee#101 (comment)) but am not sure if I converted the code correctly. It is not working yet. I'll keep experimenting. Thanks for your assistance!
|
Yeah, we have done zero optimizations, so we hope there is a bunch to gain as we explore it! |
I'm trying to use the latest docker image to run a neural network example on GPU/CUDA.
Environment
Erlang/OTP 24 [erts-12.3.2.2] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit] [x86_64-pc-linux-gnu]
git rev-parse HEAD
if running with mix): v0.8.0Current behavior
Start docker with GPUs permitted:
Go to http://localhost:8080.
Go to settings, set
XLA_TARGET
tocuda118
.Create a new notebook. Add the Mix install code:
It appears to download the CUDA enabled version of XLA for Linux inside the debug output
Once
:ok
is displayed, then add a smart cell with "Neural Network." Selecttxt2image
. Click evaluate.It sees the GPU, and then fails with:
On the console we see this:
Expected behavior
It should let me use the GPU.
NB: I do have a GPU:
Also, I can run other docker images against the GPU:
The text was updated successfully, but these errors were encountered: