audiocraft icon indicating copy to clipboard operation
audiocraft copied to clipboard

Why xformer can not load, and gpu usage is lower than cpu usage?

Open allen-studio opened this issue 1 year ago • 3 comments

GPU 3060,cpu 12490F image

image

image

allen-studio avatar Jun 19 '23 19:06 allen-studio

image

My GPU load is 90% but on average 50-60%

unununununununun avatar Jun 19 '23 19:06 unununununununun

I was running into the same issue and decided to make a virtual environment, open a terminal at the folder (i open the folder in vscode and then open a terminal at the folder path) pip install virtualenv virtualevn venv .\venv\Scripts\activate pip install -r requirements.txt Changed torch>=2.0.0 to torch==2.0.0 in the requirements.txt file, not sure if this is required Make sure to save ctrl+s To fix running it on CPU vs my 3090 I did pip install torch==2.0.0+cu118 torchvision==0.15.1+cu118 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu118

nolanduly avatar Jun 19 '23 23:06 nolanduly

When looking at the Task Manager, you need to click on where it says 3D and change it to CUDA to see the usage

donaldanixon avatar Jun 20 '23 00:06 donaldanixon