point-e icon indicating copy to clipboard operation
point-e copied to clipboard

i can't get cuda working

Open eliecer696 opened this issue 2 years ago • 5 comments

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 ?

eliecer696 avatar Dec 22 '22 04:12 eliecer696

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

Natotela avatar Dec 22 '22 12:12 Natotela

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

Jgensel avatar Dec 23 '22 05:12 Jgensel

Uninstall torch and torchvision, then try:

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

n00mkrad avatar Dec 24 '22 16:12 n00mkrad

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

Natotela avatar Jan 02 '23 16:01 Natotela

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 😊

Arkay92 avatar Jan 04 '23 11:01 Arkay92