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

My CUDA Has seen the GPU but did not use it, why? #443

Open
Mark-ssss opened this issue May 16, 2024 · 2 comments
Open

My CUDA Has seen the GPU but did not use it, why? #443

Mark-ssss opened this issue May 16, 2024 · 2 comments

Comments

@Mark-ssss
Copy link

it seems like: torch.cuda.device_count()=1, but torch.cuda.current_device()=0....
What I 've got:
NVIDIA GeForce GTX 1650 Ti
CUDA available: True (version:11.1)
cuDNN enabled: True(version:8.9.729)
pytorch 1.9.0
torchvision 0.10.0
prettytable
easydict

@Mark-ssss
Copy link
Author

QQ截图20240517014552
it comes out just like this orz....

@cohml
Copy link

cohml commented Oct 15, 2024

Have you manually moved your tensors into VRAM?

model = model.to("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