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

Specify cuda device for model storage #477

Open
MaxiBoether opened this issue Jun 7, 2024 · 0 comments
Open

Specify cuda device for model storage #477

MaxiBoether opened this issue Jun 7, 2024 · 0 comments

Comments

@MaxiBoether
Copy link
Contributor

device = "cuda:1" if torch.cuda.is_available() else "cpu"

I am not sure how this made it into the codebase, but we need to make this configurable. I wasted time trying to debug an invalid cuda device error here.

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

1 participant