Most Fooocus issues fall into a few categories: insufficient system swap (the single most common root cause), GPU driver problems, and corrupted model files. Work through the accordion sections below to find your specific error and its solution. If your error is not listed, check that you are using the official installation guide — incorrect third-party tutorials are a frequent source of problems.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/lllyasviel/Fooocus/llms.txt
Use this file to discover all available pages before exploring further.
RuntimeError: CPUAllocator / Segmentation Fault / Killed / core dumped
RuntimeError: CPUAllocator / Segmentation Fault / Killed / core dumped
RuntimeError: CPUAllocatorSegmentation FaultAbortedcore dumpedKilled^C, then quitadm 2816, then stuckConnection errored out/Error 1006/WinError 10060/Read timed out- Model loading is extremely slow (more than 1 minute)
- No error visible — the console closes in a flash
Model loaded, then paused — nothing happens
Model loaded, then paused — nothing happens
MetadataIncompleteBuffer / PytorchStreamReader failed
MetadataIncompleteBuffer / PytorchStreamReader failed
Generation is extremely slow
Generation is extremely slow
-
Two Fooocus instances running simultaneously. Check your task manager / process list and close any duplicate
pythonprocesses running Fooocus. - Nvidia driver version above 532. A known issue with Nvidia drivers newer than 532 can make generation 10× slower than driver 531.
CUDA Out of Memory — 8 GB VRAM (Nvidia)
CUDA Out of Memory — 8 GB VRAM (Nvidia)
CUDA Out of Memory — 6 GB VRAM (Nvidia)
CUDA Out of Memory — 6 GB VRAM (Nvidia)
CUDA Out of Memory — 4 GB VRAM with Float16 (e.g. RTX 3050)
CUDA Out of Memory — 4 GB VRAM with Float16 (e.g. RTX 3050)
CUDA Out of Memory — 4 GB VRAM without Float16 (e.g. GTX 960)
CUDA Out of Memory — 4 GB VRAM without Float16 (e.g. GTX 960)
CUDA Out of Memory — AMD GPU on Windows
CUDA Out of Memory — AMD GPU on Windows
CUDA Out of Memory — AMD GPU on Linux
CUDA Out of Memory — AMD GPU on Linux
Torch not compiled with CUDA enabled
Torch not compiled with CUDA enabled
subprocess-exited-with-error during pip install
subprocess-exited-with-error during pip install
pip install -r requirements_versions.txt.Cause: Wrong Python version, or not following the official install guide.Solution: Use Python 3.10 exactly. Other Python versions (3.11, 3.12, etc.) are not guaranteed to work. Follow the official installation guide.SSL: CERTIFICATE_VERIFY_FAILED
SSL: CERTIFICATE_VERIFY_FAILED
- Try turning off your VPN and launching Fooocus again.
- If the problem persists, download the required model files manually. The console prints the download URL and target path for each model when a download is triggered.
CUDA kernel errors might be asynchronously reported
CUDA kernel errors might be asynchronously reported
Verify you are using the official release
Upgrade your Nvidia driver
Try the CUDA 11 + xFormers environment (Windows only)
- Back up and delete your
python_embededfolder (located next torun.bat). - Download
previous_old_xformers_env.7zfrom the Fooocus releases page. - Decompress it and place the extracted
python_embededfolder next torun.bat. - Launch Fooocus normally.
Open an issue
Found no NVIDIA driver on your system
Found no NVIDIA driver on your system
- Nvidia GPU users: Update to the latest Nvidia driver from the Nvidia driver download page.
- AMD GPU users: Follow the official AMD installation guide for Linux (ROCm) or Windows (DirectML).
NVIDIA driver too old
NVIDIA driver too old
UserWarning: aten::std_mean.correction not supported on DML
UserWarning: aten::std_mean.correction not supported on DML
Mac performance is very slow
Mac performance is very slow
- Add
--disable-offload-from-vramto speed up model loading and unloading between generations: - Be aware that Mac support in Fooocus is experimental. For a more optimized Mac experience, consider dedicated Mac applications such as Diffusionbee or Draw Things, which are built specifically for Apple hardware.
System Swap
Many of the errors above are caused by the system running out of virtual memory (swap space). Fooocus requires your system to have at least 40 GB of free disk space so the OS can create a sufficiently large swap / page file.Windows
Windows 10 and 11 manage virtual memory automatically. The most important thing you need to do is ensure you have at least 40 GB of free space on each disk drive. Windows will use that space for automatic page file management. If you have manually disabled automatic page file management — or if you obtained Windows from an unofficial provider that altered these defaults — re-enable automatic management:Open System Properties
Win + R, type sysdm.cpl, and press Enter. Navigate to the Advanced tab, then click Settings under Performance.Open Virtual Memory settings
Enable automatic management
Linux and macOS
Follow your distribution or OS provider’s official documentation for configuring swap space:- Ubuntu/Debian: Ubuntu swap guide
- CentOS/RHEL: Red Hat swap documentation
- macOS: macOS manages swap automatically; ensure you have at least 40 GB of free space on your startup volume.
