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

install pytorch-cuda & tensorflow-gpu #112

Merged
merged 1 commit into from
Sep 25, 2024
Merged

install pytorch-cuda & tensorflow-gpu #112

merged 1 commit into from
Sep 25, 2024

Conversation

casperdcl
Copy link
Member

@casperdcl casperdcl commented Sep 25, 2024

Because they're very fiddly, I've now included pytorch-cuda and tensorflow-gpu in the CI by default.

Also updated the readme with instructions for how to reproduce locally.

Tested working with:

import tensorflow, torch
print(tensorflow.config.list_physical_devices("GPU"))
print(torch.cuda.is_available())

/CC @gschramm @alexdenker

@casperdcl casperdcl self-assigned this Sep 25, 2024
@casperdcl casperdcl added documentation Improvements or additions to documentation enhancement New feature or request participant Team requests labels Sep 25, 2024
Copy link
Member

@KrisThielemans KrisThielemans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine for me. Who asked for monai, by the way?

@gschramm
Copy link

I also experience that tensorflow / pytorch cuda installation from pypi can be tricky (very sensitive to the local cuda version). However, installing them from conda-forge is usually quite stable since they will ship the correct cuda version.

@casperdcl
Copy link
Member Author

conda refused to install both for me in the image, unfortunately.

Meanwhile monai is purely for tensorboard3D, which is frustratingly not working KitwareMedical/tensorboard-plugin-3d#69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request participant Team requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants