-
Hi, I have problems to get cuda support running, CUDA libraries are available as 11.7 and 12.0, however neither mxnet nor pytorch can find the correct cuda version. Always I get a error message like this: PyTorch: Other libraries like onnx native (outside ai.djl) have no problems finding and using CUDA. pom.xml contains this:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
MXNext only works for cu102 and cu112, see: https://docs.djl.ai/master/engines/mxnet/mxnet-engine/index.html#linux-gpu PyTorch should work on cu117, what you need to do is set current cuda version to 11.7. DJL try to load default If you use DJL 0.22.0-SNAPSHOT version, you should be able to use cuda 12.0. See: #2485 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the pointer, 11.2 is working and finding the GPU with mxnet. |
Beta Was this translation helpful? Give feedback.
MXNext only works for cu102 and cu112, see: https://docs.djl.ai/master/engines/mxnet/mxnet-engine/index.html#linux-gpu
PyTorch should work on cu117, what you need to do is set current cuda version to 11.7. DJL try to load default
libcudart.so
file and detect the current cuda version. Make sure cu117 version of libcudart.so is before cu120.If you use DJL 0.22.0-SNAPSHOT version, you should be able to use cuda 12.0. See: #2485