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

i can't get cuda working #27

Open
eliecer696 opened this issue Dec 22, 2022 · 5 comments
Open

i can't get cuda working #27

eliecer696 opened this issue Dec 22, 2022 · 5 comments

Comments

@eliecer696
Copy link

am using conda latest version i have cudatoolkit installed on my environment and when run the text 2point cloud it chooses my CPU instead of my GPU any solutions ?

@Natotela
Copy link

Same issue here. GPU util 0%, CPU up to 77%

@Jgensel
Copy link

Jgensel commented Dec 23, 2022

I had to manually install pytorch to get it to run on the GPU.
Run the command from here: https://pytorch.org/get-started/locally/
Make sure you have the correct version of Cuda installed (11.7) as well

@n00mkrad
Copy link

Uninstall torch and torchvision, then try:

install torch torchvision --extra-index-url https://download.pytorch.org/whl/cu117

@Natotela
Copy link

Natotela commented Jan 2, 2023

not sure if I wanna screw anything up, at the moment I run it with certain parameters, which my 8gb seems to handle. Problem is I can't seem to allow a sufficient standard for proper embedding training.
Regarding what's in that Link of @Arkay92 mention, what's that about "torch.cuda.device_of() function to determine if the input tensors are on the GPU or CPU" - is it solely for the Colab or I can use it somehow running webUI? to see utilization of GPU

@Arkay92
Copy link

Arkay92 commented Jan 4, 2023

not sure if I wanna screw anything up, at the moment I run it with certain parameters, which my 8gb seems to handle. Problem is I can't seem to allow a sufficient standard for proper embedding training.

Regarding what's in that Link of @Arkay92 mention, what's that about "torch.cuda.device_of() function to determine if the input tensors are on the GPU or CPU" - is it solely for the Colab or I can use it somehow running webUI? to see utilization of GPU

Hi, seems I may have overthought the gpu detection and need to rework in a new PR but with the current one it should delete old gradients in the forward pass leading to much faster compilation on point diffusion stuff check it out and let me know if you have any issues 😊

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

5 participants