Skip to content

How to get CUDA to work? #2505

Answered by frankfliu
thhart asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by thhart
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants