-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
CUDA backend does not work with rust nightly #1867
Comments
I've fixed this by depending on This problem could definitely be documented better; it took me a couple hours to figure this out. |
I agree that when running into issues with What happens the most often is trying to use the CUDA version when the environment variable was set in another shell (not persistent), so you try to run your program and you get an error similar to the one you posted. Cargo is all sorts of confused and the resolution on We tried to improve the setup but the environment variables are required by We're open to suggestions! |
Describe the bug
This is not actually clear whether this is a bug or a feature/documentation request but here it goes:
Running rust nightly 2024-05-30, no matter how I set up libtorch I will end up with
The reason I am reporting is that this is at least the third time that I encounter this same issue for different reasons such as :
What is my point
I think this error is totally unhelpful and there is a loot of room for improvement regarding the setup tch-gpu.
What are you thinking ?
Should we :
The text was updated successfully, but these errors were encountered: