Closed usama-ghufran closed 1 year ago
okay so I installed CUDA 11.7 and removed 12.1
>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Tue_May__3_19:00:59_Pacific_Daylight_Time_2022
Cuda compilation tools, release 11.7, V11.7.64
Build cuda_11.7.r11.7/compiler.31294372_0
Reinstalled the dependencies Restarted Houdini
Still no luck :(
After installed the correct version of CUDA (11.7), I wasn't uninstalling torch. I was just deleting the folders in the Houdini/scripts/python folder.
Installing torch again didn't compile it with CUDA as there was already torch CPU version present.
I uninstalled torch and installed again and it works!
Tldr: I cannot use CUDA or CPU with MLOPs
I never had pyTorch installed but I keep getting CUDA errors
AssertionError: Torch not compiled with CUDA enabled
I've removed all my anaconda installations and installed the latest Houdini 19.5.569 CUDA 12.1Reinstalled dependencies but yet in Houdini Python Shell:
So I decided to just work with CPU mode. But I get
Which stackoverflow tells me is because:
The error was throwing because the data type of operands was float16. Changing it back to float32 solved the problem. I guess float16 is for GPU implementation only.
So MLOPs is expecting a GPU solver, not CPU and I cannot use a GPU because CUDA cannot be found.