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

Is it possible to set using CUDA:1 or something else? #140

Closed
Watterry opened this issue May 24, 2024 · 1 comment
Closed

Is it possible to set using CUDA:1 or something else? #140

Watterry opened this issue May 24, 2024 · 1 comment

Comments

@Watterry
Copy link

I tried to use CUDA:1 or other device because my CUDA:0 is taken by other application. I tried to change "cuda" to "cuda:1" in all script but it didn't worked.

Is it possible to do this?

@VikParuchuri
Copy link
Owner

Just set CUDA_VISIBLE_DEVICES=1 as an env var, and set TORCH_DEVICE=cuda

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