Linux installations give you full control over the Python environment and are well-suited for headless servers and remote workflows. Fooocus supports three setup paths — Anaconda (recommended for most users), Python virtual environments, and native system Python — as well as AMD GPUs via ROCm. All three methods require Python 3.10.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.
Hardware Requirements
| GPU | Minimal GPU Memory | Minimal System Memory | Notes |
|---|---|---|---|
| Nvidia RTX 4XXX | 4 GB | 8 GB | Fastest |
| Nvidia RTX 3XXX | 4 GB | 8 GB | Usually faster than RTX 2XXX |
| Nvidia RTX 2XXX | 4 GB | 8 GB | Usually faster than GTX 1XXX |
| Nvidia GTX 1XXX | 8 GB (6 GB uncertain) | 8 GB | Only marginally faster than CPU |
| Nvidia GTX 9XX | 8 GB | 8 GB | Faster or slower than CPU |
| AMD GPU (ROCm) | 8 GB | 8 GB | ~1.5× slower than Nvidia RTX 3XXX |
Installation
- Anaconda
- Python venv
- System Python
Fooocus/models/checkpoints. The web UI opens at http://127.0.0.1:7865 once the download completes.
Model Presets
You can launch with an alternate preset using the--preset flag:
| Preset flag | Main model | Equivalent Windows file |
|---|---|---|
| (none) | juggernautXL_v8Rundiffusion | run.bat |
--preset anime | animaPencilXL_v500 | run_anime.bat |
--preset realistic | realisticStockPhoto_v20 | run_realistic.bat |
Remote Access
To expose the UI on your local network or a remote machine, pass the--listen flag. You can optionally specify a port with --port:
Remote access is unauthenticated by default. To add basic authentication, create an
auth.json file in the Fooocus directory containing a list of {"user": "...", "pass": "..."} objects.AMD GPU Support (ROCm)
AMD ROCm support on Linux is in beta and approximately 1.5× slower than an Nvidia RTX 3XXX. ROCm for Windows is currently on hold.
--preset flag alongside ROCm:
