Stable Diffusion VRAM Requirements: Measure Your Workflow’s Peak

Model file size is not a complete VRAM requirement. Understand the limits of SD 3.5 Medium’s 9.9 GB figure, measure loading, generation and decoding, and compare OOM fixes without hiding runtime or system-memory costs.

·

AI-generated illustration: Stable Diffusion VRAM Requirements: Measure Your Workflow’s Peak
AI-generated illustration: Stable Diffusion VRAM Requirements: Measure Your Workflow’s Peak · Original file

Stable Diffusion VRAM requirements depend on the exact model and the complete workflow, not just the size of a checkpoint. A GPU that finishes one configuration may run out of memory after a resolution increase, a larger parallel batch or an extra processing node.

If you already have a local setup, the useful question is not simply “What is the minimum number of gigabytes?” It is where your workflow reaches its peak—and what runtime and system-memory costs you can accept to make it finish.

What does the 9.9 GB figure include?

Stability AI’s SD 3.5 announcement gives a 9.9 GB VRAM figure for Stable Diffusion 3.5 Medium, excluding text encoders. That qualification matters. It is not a universal minimum for the Stable Diffusion family or a guarantee that a complete workflow will fit.

Text encoders turn prompts into representations the model uses. Generation needs the model and intermediate computation data. The VAE decodes the latent result into an image. Adding an image encoder, a control module or an upscaling node changes what you need to test.

Fliflik’s hardware introduction addresses common minimum-versus-recommended questions, but its broad capacity recommendations do not establish whether a particular model and node combination will run. Keep the model version, precision and workflow conditions attached to any capacity claim.

Peak memory is not the sum of file sizes

A better mental model is the components resident on the GPU at a particular moment, plus the data and runtime overhead needed at that moment. Components do not necessarily stay on the GPU together. Conversely, memory usage immediately after loading is not necessarily the peak.

Record resolution, the number of images generated in parallel, prompt length and additional nodes. Do not assume peak VRAM scales directly with pixel count. A queue of several images is also not the same as generating that many images simultaneously.

Loading successfully therefore proves only that loading succeeded. A failure near the end still calls for checking decoding and post-processing.

Establish a baseline you can repeat

Choose the model you actually intend to use and save the complete workflow. Record the GPU and its capacity, driver, interface or framework version, model identifier and revision, precision, attention implementation and offload settings. Fix width, height, prompts, negative prompts, seed, steps, guidance settings and parallel image count. A fixed seed reduces variation within the experiment; it does not guarantee identical results across hardware or software versions.

For an initial diagnosis, you can start with one image at a time and no optional nodes. If that is not your intended workflow, restore the necessary nodes and test again afterward. The following is a recording method, not a completed hardware benchmark:

Measurement intervalWhat to recordImportant distinction
Before and during loadingIdle GPU usage, loading peak, loading timeState whether downloads are included; network waits are not inference speed
Prompt processing and generationInterval peak VRAM and elapsed timeSeparate text encoding and denoising if supported; otherwise label the combined interval
VAE decoding and required post-processingInterval peak, elapsed time, output completionKeep previews and upscaling settings consistent
Complete runEnd-to-end time, peak system RAM, success or failure stageSeparate first runs from subsequent runs

Use the same GPU monitoring tool and sampling interval throughout the comparison, and retain its logs. Sampling can miss brief spikes, so label its maximum as the “maximum observed.” If you use framework peak counters, reset them at the intended boundaries and follow the tool’s device-synchronization requirements. Framework-allocated memory, reserved memory and whole-device usage are not interchangeable measurements.

Do not add stage peaks together. The full-run peak is the highest usage over the full timeline, not the sum of each stage’s maximum. Splitting execution can also change component residency or caching; stage markers inside the original workflow are preferable to treating separate runs as exact substitutes.

Keep first-run and subsequent-run records separate. Repeat the same configuration several times and retain individual results and their range. One successful image is not enough to establish that the target workload runs reliably.

Change one variable when investigating OOM

Save the error and the last completed stage first. Do not lower resolution, change precision, remove nodes and enable offloading in the same experiment. Even if it works, you will not know which change helped.

For loading failures, inspect which components are being loaded and where they are placed. For prompt-processing or generation failures, test parallel image count or output dimensions separately. For decoding or upscaling failures, inspect that stage’s dimensions and enabled features rather than changing only the denoising step count. Rerun and record the result after each change.

Treat CPU offloading as its own comparison. The Diffusers SD3 documentation explains that model offloading moves a component onto the GPU when it needs to execute, while keeping other components on the CPU. This changes simultaneous GPU residency, but introduces transfers and system-memory demands. The documentation also notes increased inference latency; measure the actual change locally.

Save the original configuration, enable only an offloading method supported by your pipeline, and compare completion, observed peak VRAM, end-to-end time and peak system RAM. The linked documentation tracks main; consult documentation matching your installed Diffusers version before applying an interface. Other pipelines and user interfaces may implement memory management differently.

A useful result reads: “This model revision, at these dimensions and with these nodes, completed repeated runs under this software configuration, with these observed peaks and runtimes.” It does not read: “This GPU can run every Stable Diffusion workflow.” If offloading is necessary, its extra time and system-memory use belong in your workflow requirements too.

Related articles and cases