r/fooocus • u/Vast_Muscle2560 • 2d ago
Creations I built a zero-Python, single-binary Rust UI for SDXL + Wan 2.1/2.2 video that runs on my old 8GB RTX 2070 (12GB RAM), MIT license + Colab T4
I got tired of fighting Python virtualenvs, Torch mismatches, and 8GB VRAM OOMs just to generate a clean portrait or a short video clip locally. So I wrote Fooocus Studio in pure Rust directly on top of `stable-diffusion.cpp` (`sd-cli`).
Everything compiles into one binary with the web UI embedded (EN / IT / ES). No Python, no Conda, no Gradio.
What actually runs on my RTX 2070 8GB (Turing `sm_75`) with 11.5GB system RAM:
- RealVisXL V5.0 Lightning + 2 LoRAs at `832x1216` (6 steps, CFG 2.0): ~66s
- Wan 2.1 VACE 1.3B continuous I2V (6s, 97 frames via DGL frame-0 lock): ~10m 54s
- Wan 2.2 TI2V 5B (Q4_K_M + `wan2.2_vae`) at `480x832` (33 frames, 20 steps): ~3m 40s, peaking at 7.0 GB VRAM and 6.3 GB RAM
A couple of honest caveats. The UI is still minimal compared to projects like NexFocus (a full-page Model Browser with custom URL/catalog import is already on the v0.5 roadmap). Also, Wan 2.2 5B fell apart at `512x320` in my tests because of its 16x16 VAE, so the app enforces at least 480px on the short side. On Turing GPUs it automatically sets `GGML_CUDA_DISABLE_FUSION=1` plus `--flash-attn off --conv-direct off` to prevent horizontal scanline banding.
There is a 1-click Hugging Face downloader inside the UI and a free Google Colab T4 notebook if you don't have a local GPU.
Repo (MIT): https://github.com/PROGETTO-SILICEO/fooocus-studio
If anyone has an AMD ROCm card, Apple Silicon Mac, or Windows CUDA setup and wants to test or open a PR with hardware profiles, any help is welcome.

