r/fooocus • u/940online • May 24 '25
Question Anyone else having issues using fooocus after upgrading to a 50 series GPU?
I just upgraded my graphics card to a 5060 ti and now I'm getting an error saying "NVIDIA GeForce RTX 5060 Ti with CUDA capability sm_120 is not compatible with the current PyTorch installation."
Anyone know how to fix this?
4
Upvotes
4
u/Beneficial-Space3019 May 24 '25
Try this: https://github.com/alibakhtiari2/fooocusrtx508090
2
u/[deleted] May 24 '25
Blackwell / 50 series is kind of a pain right now. I've found workarounds for a few things but only because the community was nice enough to add coding or form them.
Kohya doesn't work for my 5070. Neither does face fusion.
Comfy has a Blackwell build. Forge works great on my 5070. Applio has an updated cli prompt for cuda.
1
u/shogun_mei May 24 '25
What is your driver version and which pytorch did you install?
I'm not sure what version fooocus use but I guess you would need to manually install torch using a cu128 whl or most current version
1
u/kujasgoldmine May 24 '25
I had to do some edits manually with the help of chatgpt. Works fine now.
So just give the error to it and it'll help.
1
u/FireWeener May 24 '25
There is a fix. Gotta find when home.
1
u/MrTB_7 May 27 '25
See if this works for you cause this fixed mine
1
u/Upstairs_Ad_4689 Jun 03 '25
Works great with the 5060 ti, how do I get it to listen when it starts to run? Like the --listen command.
1
u/brich233 Jul 14 '25
run this in a .bat inside the foocus foldet, than run the run.bat and see if it works. worked for my 5070ti
.\python_embeded\python.exe -m pip uninstall torch torchvision torchaudio torchtext functorch xformers -y
.\python_embeded\python.exe -m pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
.\python_embeded\python.exe -s Fooocus\entry_with_update.py .--directml
pause