You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncheck the Graphics Drivers (The drivers included may be outdated, and using the latest Game Ready driver 572.42 is recommended).
⚡ Solution Overview
To get Fooocus working with your NVIDIA 5090, you’ll need to install a custom version of PyTorch and Torchvision that supports CUDA 12.8. Here’s how to do it:
Yes, this should work for most webUIs for 5000-series cards until there's an official release of torch with cuda 12.8.
However, you can save yourself some headache by using our built-in Python Packages dialog (in the 3-dots menu on the Packages page) to skip all the manual venv activation stuff in steps 2-4 and just go straight to step 5 like so:
Proposal
⚙️ Solution for Fooocus on Windows with NVIDIA 50xx Series (Tested on 5090 with Driver 572.42 Game Ready)
This guide explains how to fix compatibility issues for Stability Matrix with Fooocus on Windows using an NVIDIA 50xx series GPU (like the 5090).
🔗 Prerequisites: CUDA 12.8
You need CUDA 12.8 installed on your system for this to work.
https://developer.nvidia.com/cuda-12-8-0-download-archive
During the installation:
⚡ Solution Overview
To get Fooocus working with your NVIDIA 5090, you’ll need to install a custom version of PyTorch and Torchvision that supports CUDA 12.8. Here’s how to do it:
1. 🔗 Download Compatible PyTorch and Torchvision
torch
torchvision
2. 📂 Locate the Virtual Environment
3. 💻 Open Command Prompt in the Correct Directory
cmd
and press Enter. This opens Command Prompt directly in that folder.4. ✅ Activate the Virtual Environment
In the Command Prompt, type:
You should see something like
(venv)
at the start of the command line.5. 📥 Install PyTorch and Torchvision
.whl
files for PyTorch and Torchvision.pip install "paste your file path here"
pip install "paste your file path here" --force-reinstall
pip install "torchvision file path"
pip install "torchvision file path" --force-reinstall
6. 🚫 Deactivate the Virtual Environment
Once the installation is complete, type:
This exits the virtual environment.
✅ Done!
Your Fooocus setup should now work without errors on your NVIDIA 5090 GPU with driver 572.42 Game Ready.
The text was updated successfully, but these errors were encountered: