til icon indicating copy to clipboard operation
til copied to clipboard

Dolly not using GPU

Open UtahDave opened this issue 1 year ago • 0 comments

I ran into the issue you hit where the GPU isn't being used by pytorch.

First you need to find out which version on cuda is installed, then you need to install pytorch kind of like this:

sudo pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113

Change the torch version to what you want and change the cuda version to match what's installed in your environment

UtahDave avatar Apr 13 '23 07:04 UtahDave