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

No matching cuda flavor for win found: cu112mkl/sm_86. #2775

Closed
eleven-dimension opened this issue Sep 10, 2023 · 6 comments
Closed

No matching cuda flavor for win found: cu112mkl/sm_86. #2775

eleven-dimension opened this issue Sep 10, 2023 · 6 comments

Comments

@eleven-dimension
Copy link

eleven-dimension commented Sep 10, 2023

Hi, team. I am trying to run TrainMnist in examples on gpu in windows os but get this warning so DJL is running on CPU. Is this the result of a downloading problem? How can I fix it?

Thank you very much!

@eleven-dimension
Copy link
Author

After going through the source code, I find only cuda 11.8 is supported :(

@frankfliu
Copy link
Contributor

frankfliu commented Sep 11, 2023

@eleven-dimension
PyTorch cu118 is compatible with cu12.1. You should be able to run run PyTorch with cud121.

See: #2485

@frankfliu
Copy link
Contributor

@eleven-dimension
My bad. cu-112 is bit too old. Would you please upgrade to 11.8?

It should still work if you set PYTORCH_FLAVOR, but remember there are issues with 112

@eleven-dimension
Copy link
Author

image

My build passes device test but cpu is still used in TrainMnist example. I set breakpoints and it seems that win/cu118mkl/mxnet_86.dll.gz doesn't exist and it can't be found at the url https://publish.djl.ai/mxnet-1.9.1/win/cu118mkl/mxnet_86.dll.gz as I expected. Where can it be downloaded?

@frankfliu
Copy link
Contributor

Can set default engine to PyTorch to avoid using MXNet?

@eleven-dimension
Copy link
Author

Okay, thanks for your time!

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

2 participants