bark icon indicating copy to clipboard operation
bark copied to clipboard

Not using my GPU getting very slow. I'm using windows 11 and a NVIDIA RTX 4090. Why it isn't working?

Open venturaEffect opened this issue 2 years ago • 3 comments

I'm following other devs guide to solve this issue but it isn't solving it.

When trying to run a script, I get: No GPU being used. Careful, inference might be very slow!

Went to the page https://pytorch.org/get-started/locally/ and saw that my CUDA version 12.2 is not available on the command prompt options so changed to my version:

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu122

Run this and got "Requirement already satisfied.... " but it still doesn't work.

So, went back to run the script but still get: No GPU being used. Careful, inference might be very slow!. That is weird because I already have everything installed of my NVIDIA drivers and CUDA. It came all installed when I bought it. It is completely fresh.

Any suggestion?

Appreciate.

venturaEffect avatar Aug 24 '23 09:08 venturaEffect

found solution from simbuddy in "Unable to use GPU #342" thread

mtnmecca avatar Sep 06 '23 20:09 mtnmecca

Verify if your torch version is compatible with your cuda version else verify if you installed torch on the same python interpreter that you execute with. You can use torch.cuda.is_available() to verify

PastaLaPate avatar Nov 30 '23 07:11 PastaLaPate

I solved the problem using pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121

taomas avatar Dec 26 '23 02:12 taomas