Fooocus on Thumper
Fooocus is a simplified image generation tool — enter a prompt and get an image. No node editor, no complex settings. It’s the fastest way to generate high-quality images with SDXL.
Manual vs Thumper Install
Installing Fooocus manually requires cloning the repo, setting up Python, downloading SDXL models, and configuring GPU-specific flags. Thumper handles all of this in one click.
| Step | Manual Install | Thumper Install | Time Saved |
|---|---|---|---|
| 1. Clone repository | git clone + cd | Click Install | ~1 min |
| 2. Create Python venv | python -m venv + activate | Automatic | ~2 min |
| 3. Install PyTorch | pip install torch (GPU-specific) | GPU auto-detected | ~5 min |
| 4. Install dependencies | pip install -r requirements.txt | Automatic | ~3 min |
| 5. Download models | Manual HF/CivitAI download (~6.5 GB) | Model pack auto-download | ~10 min |
| 6. Configure GPU flags | Research + set env vars | Platform patches applied | ~10 min |
Model Configuration
Fooocus ships with an SDXL-based model by default. It includes built-in style presets (cinematic, anime, photographic, etc.) that modify the generation pipeline without requiring manual prompt engineering.
Default Model
The default checkpoint is an SDXL variant optimized for Fooocus. Style presets are applied as additional prompt conditioning and LoRA weights — no separate model downloads needed.
Changing the Default Model
To use a different checkpoint, edit the Fooocus config file or place a new .safetensors file in the models directory:
# Model directory:~/.local/share/tr-desktop/apps/fooocus/models/checkpoints/# Set default model in config:"default_model": "your-model.safetensors"
Key Features
- Prompt-only generation — type and click Generate
- Style presets: cinematic, anime, photographic, and more
- Inpaint and outpaint for editing existing images
- Upscaling with built-in upscale models
- Image variation — generate alternatives from a source image
- Describe (reverse prompt) — generate a text prompt from an image
GPU-Specific Tips
Thumper auto-detects your GPU and applies appropriate launch flags. Here are the vendor-specific details:
| GPU | Status | Backend | Image Gen | LLM Speed | Notes |
|---|---|---|---|---|---|
| RTX 4090 (24 GB) | Full | CUDA 12.4 | ~3s | ~120 tok/s | Fastest consumer GPU |
| RTX 4070 (12 GB) | Full | CUDA 12.4 | ~8s | ~80 tok/s | Great balance of price/performance |
| RTX 3060 (12 GB) | Full | CUDA 11.8 | ~15s | ~45 tok/s | 12 GB VRAM at budget price |
| GTX 1660 (6 GB) | Partial | CUDA 11.8 | ~30s | ~20 tok/s | 6 GB limits model size |
| RX 7900 XT (20 GB) | Full | ROCm 6.2 | ~6s | ~90 tok/s | Best AMD option, large VRAM |
| RX 7600 (8 GB) | Full | ROCm 6.2 | ~18s | ~40 tok/s | Budget AMD with ROCm support |
| Radeon 780M APU (8 GB shared) | Partial | ROCm 6.2 | ~45s | ~15 tok/s | BF16 only, 5-min MIOpen warmup |
| Arc A770 (16 GB) | Partial | oneAPI/IPEX | ~20s | ~35 tok/s | Requires oneAPI runtime |
| M2 Pro (16 GB unified) | Full | MPS (Metal) | ~12s | ~50 tok/s | Unified memory, no discrete VRAM limit |
| M1 (8 GB unified) | Partial | MPS (Metal) | ~35s | ~25 tok/s | 8 GB tight for SDXL |
| M3 Max (36 GB unified) | Full | MPS (Metal) | ~8s | ~70 tok/s | Runs large models easily |
| CPU only (no GPU) | Partial | CPU fallback | ~180s | ~5 tok/s | Works but 10-50x slower |
NVIDIA (CUDA)
- Works out of the box with CUDA 11.8+
- For 4 GB VRAM cards,
--lowvramis applied automatically - FP16 is the default precision for best speed
AMD Discrete GPU (ROCm)
- Requires ROCm 5.7+
- Set
TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1for flash attention - First run may be slow while MIOpen builds its Find-DB
AMD APU (Integrated Graphics)
- Use
--disable-offload-from-vramto prevent partial eviction OOM - BF16 is mandatory — FP16 causes overflow in SDXL attention layers
Apple Silicon (MPS)
- Set
PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0for maximum memory usage - Unified memory — no explicit VRAM limit
CPU Only
- Very slow — basic images only, expect 5–10 minutes per generation
- FP32 precision is used automatically
Troubleshooting
Common issues and how to fix them:
| Symptom | Cause | Fix |
|---|---|---|
| CUDA out of memory | SDXL too large for GPU VRAM | Enable --lowvram (NVIDIA only) or use a smaller model |
| Black images on AMD | FP16 overflow in attention layers | Switch to BF16 precision |
| MIOpen first-run delay (5–8 min) | Building kernel cache for AMD GPU | Normal on first run; subsequent launches use cached kernels |
| Broken symlinks in models dir | Model files moved or deleted | Re-launch the app to regenerate symlinks |
| Windows DirectML errors | Incompatible DirectML version | Update GPU drivers; use CUDA or ROCm if available |
| Port 7865 conflict | Old Fooocus process still running | Kill the stale process or let Thumper manage it |
| macOS MPS warnings in console | FP32 fallback for unsupported ops | Safe to ignore; generation still works correctly |
Fooocus vs ComfyUI
Both tools generate images with SDXL, but they serve very different workflows:
| Feature | Fooocus | ComfyUI |
|---|---|---|
| Difficulty | Beginner-friendly | Advanced (node editor) |
| Customization | Presets and sliders | Full pipeline control via nodes |
| Speed to first image | Seconds (type + click) | Minutes (wire nodes first) |
| Models supported | SDXL checkpoints | Any diffusion model (SDXL, SD3, Flux, LTX-Video) |
| Best for | Quick image generation | Complex pipelines, batch workflows, video |
Adding Custom LoRAs
LoRA (Low-Rank Adaptation) files add trained styles or subjects to the base model. To use custom LoRAs with Fooocus:
# 1. Place LoRA files in the models directory:~/.local/share/tr-desktop/apps/fooocus/models/loras/# 2. Supported formats:your-style.safetensors # SDXL-compatible LoRA# 3. Enable in Fooocus UI:# Advanced > LoRA tab > select your LoRA and set weight (0.5-1.0)
Upscale Models
Fooocus includes built-in upscaling. These are the upscale models it supports:
| Model | Scale Factor | Quality | Speed |
|---|---|---|---|
| fooocus_upscaler_s (default) | 2x | Good | Fast |
| RealESRGAN_x4plus | 4x | Excellent | Moderate |
| RealESRGAN_x4plus_anime_6B | 4x | Best for anime/illustration | Moderate |
| SwinIR_4x | 4x | Excellent detail preservation | Slow |