#Linux Fedora 37 no GPU utilizign with my Nvidia RTX 2070 Super
92 messages · Page 1 of 1 (latest)
In the install i picked the Nvidia card but everytime i start Invoke AI it uses the CPU.
You installed the nvidia drivers before running the installer?
Hum, I can't remember now, but there is a command that you can run in python to see If It sees your gpu
But It seems by the first print that torch can't see your gpu
Try to reinstall torch
And the run the command inside python
Import torch
cuda.get_device_count()
Or
cuda.is_available()
The First need to return 1
The Second needs to return True
okay im very sorry but im a noob how exactly can i reinstall torch?
Oh, ok, I'm on my phone so give me a minute
np
Use the process in troubleshoot
To "InvokeAI runs extremely slowly on Linux or Windows systems"
okay thanks i will try
You need to run the command inside the option 5 of the invoke
Same with the pip install torch torchvision --force-reinstall --extra-index-url https://download.pytorch.org/whl/cu117
pip install xformers
No prob
sorry but did you really mean option 5?
so this happens when i run "pip install torch torchvision --force-reinstall --extra-index-url https://download.pytorch.org/whl/cu117"
For now let's see what the torch return when you run It with python
At least he installed the torch again
ok so what exactly should i do?
And execute the same commands as before
so you mean torch."cuda.get_device_count()" ?
Yes, without the quotation marks
Hum
Let me see, I think that I wrote wrong
Try torch.cuda.is_available()
And torch.cuda.device_count()
Yeah, but It is ignoring it
welp
I think It can be two things
But let's try sometimes first
Type ctrl+d to exit the python
Type
export HSA_OVERRIDE_GFX_VERSION=10.3.0
Then enter python
And try to see again If It gets your gpu
470.182.03
The Cuda version is 11.7?
Resources CUDA Documentation/Release NotesMacOS Tools Training Sample Code Forums Archive of Previous CUDA Releases FAQ Open Source PackagesSubmit a BugTarball and Zip Archive Deliverables
so i found out my cuda version is 11.4
Try to see If your gpu supports 11.7
I use AMD gpu
So I'm not used to how they work with drivers
Ok, i have to tell you im very thankfull that you tried to help me but i think i will only use this on windows.
Sorry but i really didn't try It with a nvidia gpu until now

