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

Needs cuda (at least for pytorch) #1

Closed
charlesritchea opened this issue Sep 13, 2023 · 2 comments
Closed

Needs cuda (at least for pytorch) #1

charlesritchea opened this issue Sep 13, 2023 · 2 comments

Comments

@charlesritchea
Copy link

This is less a bug report and more of an FYI for anyone else trying to use this container with a pytorch or any torch?. I was able to get nvidia-smi to work inside my matroska container, but the cuda version was n/a and torch.cuda.is_available() would be False. So I changed the base from ubuntu to the cuda base that matched my AMI (11.4 in this case) and now it works!

@charlesritchea
Copy link
Author

Thank you for the image, but if you could maybe just add a note to the README

@ehfd
Copy link
Owner

ehfd commented Sep 15, 2023

The typical expectation is to use a container within the DinD container which has the CUDA libraries. Are you using Torch directly in the DinD container?

@ehfd ehfd closed this as completed Nov 25, 2023
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