-
Notifications
You must be signed in to change notification settings - Fork 7
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
Use latest supported CUDA version to install PyTorch #31
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @fepegar, appreciate the PR! It only partially fixes #30, since now restricts the CUDA version to the most recent. In your use case you now will be able to use PyTorch compiled for CUDA 10.1, but no longer PyTorch compiled for CUDA 10.0 although that should be possible.
Anyway, if CI is happy I'm going to merge this, since it improves on the current implementation.
Thanks for your feedback. I'll try to fix those tests. |
Let me know if you need help with that. |
Thanks! I had to modify the test, I hope they still make sense. I'm not very good at testing. |
No worries, this whole thing grabbed me. I'll make some time to fix this. |
Do you have the development environment set up? If yes, please run |
I thought running |
Oh well, sorry for the bad directions. |
A little. Enough to solve this, hopefully! Let me know if there's anything else I should do. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks a lot @fepegar!
Thanks for your guidance. I think I have a lot of software engineering to learn from this package, I'm looking forward to getting deeper into it and using the knowledge for TorchIO! I will recommend using |
If you or any user encounters some issues feel free to send them my way. Happy to make this better for everyone 🙂 |
Thanks, I will! |
Before these changes, the installed PyTorch version was unnecessarily old for the installed drivers (
430.50
):After these changes, the latest PyTorch compatible with my drivers is correctly used:
Fixes #30.