DEV Community

Cover image for stable-diffusion.cpp Multi-Model VRAM Benchmark Index
PyVren
PyVren

Posted on Originally published at pyvren.com

stable-diffusion.cpp Multi-Model VRAM Benchmark Index

TL;DR: stable-diffusion.cpp runs Wan, Qwen Image, Minimax H3, and Z-Image in pure C/C++ via GGML; Q4_K_M Qwen-Image-2512 fits on 12GB unified memory, while FP16 Wan2.1 needs 24GB+ for 720p clips.

stable-diffusion.cpp is a pure C/C++ diffusion inference engine built on ggml, the same backend as llama.cpp. It supports Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, Minimax H3, LTX video, and related models through a single binary and optional embedded web UI. For ComfyUI builders and generative media engineers, the engine matters because it strips out the Python runtime and PyTorch overhead, exposing raw GGML tensor execution with quantized GGUF weight loading.

Verified Key Facts

Metric / Signal Finding
stable-diffusion.cpp stars 8.2k stars, 1.0k forks, 1,187 commits
Qwen-Image-2512 Q4_K_M memory floor Total usable memory (RAM + VRAM / unified) must exceed GGUF size; 4-bit Q4_K_M example cited
MiniMax-H3-Image day-0 support date 2026/11/11
Qwen-Image-2.1 day-0 support date 2026/09/20
Wan2.1 / Wan2.2 support date 2025/09/06
Z-Image support date 2025/12/01

Inside the Full Technical Dispatch

  • Model & Workflow Verdict
  • VRAM, Speed & Quality Comparison Table
  • ComfyUI Node Graph & Reproducible Settings
  • Failure Modes, Artifacts & VRAM Optimization
  • Best-Practice Production Checklist

Read the full analysis, runnable configurations, benchmark tables, and primary source citations on Pyvren.

Originally published on Pyvren by Hamdi Soudani.

Top comments (0)