PotionUI Docs v0.3.0

Hardware Requirements

PotionUI runs on a single CUDA-capable NVIDIA GPU. What you can actually generate — and how well — depends on that GPU's VRAM and, just as much, on the host's system RAM. This page gives honest numbers instead of "a GPU with enough VRAM."

On this page

GPU generation and driver#

PotionUI requires Turing or newer GPUs (sm_75 and above). CUDA 13 dropped support for Maxwell, Pascal, and Volta architectures, so GTX 10-series and older cards cannot run PotionUI at all — RTX 20xx / GTX 16xx and newer are supported.

The NVIDIA driver must be version 580 or newer on your host machine. Older r550 or r570 drivers fail immediately with "CUDA driver version is insufficient for CUDA runtime version." Within the CUDA 13.x series, the 580+ driver remains compatible across minor versions, so a 580.65+ driver will continue to work as CUDA 13 updates ship.

For Docker deployments, the host needs only the NVIDIA driver and nvidia-container-toolkit — the torch PyPI wheel carries the CUDA 13 userspace runtime, so a separate host CUDA toolkit install is not required.

The floor#

8 GB VRAM + 16 GB system RAM is the supported minimum. On that floor, SDXL is the model family PotionUI guarantees works — it runs on diffusers pipelines with its own VRAM-tier memory policy (aggressive sequential offload + max attention slicing below 8 GB, model offload 8–12 GB, no offload 12–16 GB, fully GPU-resident at 16 GB+ — src/platform/runtime/model_lifecycle/memory_policy.py). Every other native-engine family (Flux, Krea-2, Qwen-Image, Wan, LTX, Z-Image, Anima, MiniMax-H3) needs more, some considerably more — see the per-family table below.

Recommended: 16–24 GB VRAM + 32 GB system RAM. This is what the native engine's low-VRAM design targets as "first class" (docs/native-engine.md), and it's comfortably above the RAM-cache floor (below) for realistic multi-model sessions.

The native engine (src/platform/runtime/native/) is explicitly designed for small GPUs, not just the 32 GB card it was developed on: memory/tiering.py places each component (DiT / text encoder / VAE) by its actual measured size, and a component that doesn't fit fully resident streams the overflow from pinned host RAM (partial residency) or gets quantized to fp8 on load instead of failing outright. That's what makes several families runnable — slowly — below their "comfortable" VRAM tier.

System RAM is not optional headroom#

PotionUI reserves system RAM the same way it reserves VRAM, and this bites on small boxes:

  • Before a load, the model RAM cache tries to reclaim free system RAM up to a reserve of min(max(8 GiB, 10% of total RAM), 25% of total RAM) (host_ram_reserve_gb(), src/platform/runtime/model_lifecycle/lifecycle.py, applied in _make_room_for_ram). That's 2 GiB on an 8 GiB box, 4 GiB at 16 GiB, 8 GiB at 32 and 64 GiB, and 10% of total once total RAM exceeds 80 GiB (12.8 GiB at 128 GiB) — it scales down on small machines instead of reserving a fixed 8 GiB regardless of total RAM. It is a retention/eviction policy, not a guarantee that any particular model fits: cached entries are evicted until the reserve is met, and if pressure persists (for example when every remaining entry is leased by an active generation) the lifecycle warns and continues, so don't count on cross-generation caching surviving a genuinely tight box.
  • Low-VRAM streaming (partial residency) needs streamed_gb + 2 GB of free host RAM up front, and refuses to start rather than risk an OS OOM-kill if it isn't there (HostMemoryExhaustedError, _guard_host_ram_for_streaming / _STREAM_HOST_RESERVE_GB = 2.0, src/platform/runtime/native/engine.py:271,353-375). A big model streaming several GB of overflow on a 16 GB RAM host can hit this guard even when VRAM itself would have been fine.

Practical takeaway: 16 GB system RAM is the bare minimum that keeps the app from refusing to load, not a comfortable amount. 32 GB+ is what lets the RAM cache actually do its job (reuse a loaded checkpoint across generations instead of re-reading it from disk every time) and gives streaming headroom for the larger native families.

Per-family verdicts#

Peak-VRAM figures below marked (32 GB-card ceiling) are measured GPU runs on a 32 GB development card under fit-first placement (docs/native-engine.md) — they are not minimums, since a smaller card places the same model differently (more offload/streaming, lower peak, slower). Where there is no measurement, the table says so rather than guessing.

FamilyDiT size (bf16 unless noted)Measured peak (32 GB-card ceiling)8 GB card12 GB cardRecommended
SDXLfew GB, single-file checkpoint— (diffusers pipeline, not native engine)Works — the supported floorWorks comfortably8 GB+
Z-Image~11.5 GB bf16 (zImage_turbo, docs/native-engine.md)Not measuredNot measuredNot measured, but the best native bet at this tier (smallest native DiT)12–16 GB
Krea-226 GB bf16 on disk (~12B DiT); fp8 quantize-at-load brings it to ~12.5 GB (docs/native-engine.md)26 GB (streaming manual_cast tier, 1024² turbo)NoViable via fp8 quantize-at-load16 GB+ bf16, 12 GB fp8
Flux2 / Klein9B params → ~18 GB bf16 estimated (params×2); fp8 checkpoint measured smallerfp8: 28.7 GB · bf16: 28.55 GB (both include the Qwen3 TE, docs/native-engine.md)NoViable but slow — partial residency + fp8-auto, unmeasured at this tier16 GB+
Qwen-Imagefp8 DiT file ~20 GB (qwen_image_2512_fp8_e4m3fn)19.37 GB (1024², true-CFG, docs/native-engine.md)NoMarginal — close to the fp8 file size itself16 GB+
Animanot separately measured; small Qwen3-0.6B TE keeps total footprint below other families20.7 GB (1024², 24 steps, incl. causal-3D fp32 decode spike, docs/native-engine.md)NoMarginal24 GB
Wan 2.2 (14B, dual-expert)14B per resident expert15.2 GB (33 frames, 832×480, fp8 expert pair — short low-res clip, docs/native-engine.md)NoNo16 GB+; 5B ti2v variant is the realistic small-card option
Wan 2.2 (5B ti2v)single dense model, coarser spatial granularitynot separately measuredNot measuredRealistic candidate — smallest Wan variant12 GB+
LTX-2 / 2.3 / 2.5~27 GB on-disk all-in-one AV checkpoint (19–22B params)Whole-run peak not measured; the video decode alone peaks at about 5.8 GiB logical at 1920×1024 and 73 frames (docs/models/ltx.md)Not measuredNot measuredNot measured; the checkpoint alone is ~27 GB on disk
MiniMax-H320B (pruned) / 33B (full) params, per its own doc front matterNot measured (docs/models/minimax_h3.md)NoNoNot measured on small cards; weights are territorially license-restricted (excludes EU/UK/US/KR)
MiniMax-Music3 (audio)4.9 GB fp16 DiT plus a 15.6 GB bf16 fused text encoder (Qwen3-8B AR core, docs/models/minimax_music3.md)Not measured on a 32 GB card. On a 12 GB card with gpu_max_vram 10: 10.9 GB (10 s song, 8 steps, AR layers streamed)Not measuredWorks but slow — the AR stage streams its LLM layers, about 17 s per second of audio24 GB
MiniMax-H3-Image20B params; int8 ConvRot file 19.5 GB, bf16 37.5 GB (docs/models/minimax_h3_image.md)Not measured — estimated ~24 GB at 4 MP with the int8 DiT resident and the 15.7 GB nvfp4 text encoder swapped in per promptNoNo32 GB VRAM + 64 GB RAM; 24 GB not measured; weights territorially restricted
SeedVR2 (upscaler)3B fp8 3.39 GB / 3B fp16 6.78 GB / 7B fp8 8.24 GB / 7B fp16 16.48 GB (content/presets/marketplace/SeedVR2/modes/upscale/tabs/generation.yml)Batch 5 frames on 12.5 GB or less, else sized from live free VRAM; VAE tiles sized from costs measured on a 12 GB card (docs/models/seedvr2.md); an OOM halves and retries, except the first driver-error OOM under WSL23B fp8 works7B fp8 worksScales down cleanly to small cards — no fixed floor

Disk space#

Budget for the checkpoint files themselves plus their text encoders and VAEs — native-engine families ship DiT, text encoder, and VAE as separate files, all of which sit on disk simultaneously once downloaded:

  • SDXL: a few GB per checkpoint.
  • Z-Image: ~11.5 GB DiT (bf16) + a Qwen3-4B text encoder.
  • Krea-2: 26 GB DiT (bf16) + a Qwen3-VL-4B text encoder + the shared Wan 2.1 causal-3D VAE.
  • Flux2/Klein: ~18 GB DiT (bf16 estimate) or a smaller fp8 file + an 8B or 4B Qwen3 text encoder.
  • Qwen-Image: ~20 GB DiT (fp8) + a Qwen2.5-VL-7B text encoder.
  • Wan 2.2 14B: two DiT files (high/low-noise experts, 14B each) + UMT5-XXL + VAE — the largest native disk footprint short of LTX/MiniMax.
  • LTX-2/2.3: ~27 GB all-in-one file (DiT + both VAEs + vocoder + text-embedding projection). LTX-2.5 splits into separate DiT/TE/VAE files instead.
  • MiniMax-H3: four separate files (DiT, text encoder, video VAE, audio VAE) — no confirmed sizes since no local weights exist yet.
  • MiniMax-H3-Image: three files — the int8 DiT (19.5 GB) or bf16 DiT (37.5 GB), the Qwen3-VL-32B text encoder shared with MiniMax-H3 (14.6 GB nvfp4), and the image VAE (1.1 GB).
  • SeedVR2: 3.39–16.48 GB per DiT variant (see table above) + a ~501 MB VAE.

None of these are downloaded by PotionUI itself unless you ask — see Models for how installation works.

Three different numbers, three different sources#

The per-family table above, a backend's configured VRAM cap, and a per-request memory estimate answer three different questions, and PotionUI never blends them into one verdict:

  • A preset's requires: badge (in the picker, sourced from this page's per-family table) is static, author-supplied guidance about the model family — it says nothing about the specific request you're about to submit (resolution, frame count, which optional components — LoRAs, a second text encoder — you've added).
  • A backend's configured VRAM budget (its gpu_max_vram setting, Admin → Backends) is the ceiling the native engine plans model placement against. It's physical device evidence bounded by an admin-set cap, not a prediction for any one request.
  • A request's memory estimate (POST /api/generations/memory-preview, same payload as /start plus an optional backend_id) is a non-blocking, checkpoint-based estimate for the specific form you're about to submit — never called a lower bound or "at least" anywhere in the response, since runtime use can land on either side of it: it sums the on-disk size of every model reference on an active loader (checkpoint, LoRA, VAE, text encoder alike — never a component a preset pins in its own config outside a form picker, and never a Video/Music Director document's raw wire shape — the same normalized document a real generation would build from, so the active checkpoint set matches), applies a small weight-load margin, and adds a resolution/frame-count-scaled activation term. It never allocates GPU memory, never loads a model, and never enqueues anything — it only inspects the form and the model index.

The estimate is deliberately never a fit guarantee. Its response carries the evidence behind the number rather than a verdict:

  • coverage.known / coverage.unknown — which referenced models had an indexed on-disk size and which didn't; an unresolvable size is skipped, so the estimate only gets more precise, never less, as more models get indexed. When the request itself couldn't be resolved (an in-progress or invalid Video/Music Director document, or any other pipeline-build failure), coverage.active_set_resolved is false and the estimate reports nothing counted — displayed as "the request could not be resolved," never "no model references."
  • coverage.uncertainty — plain-language caveats: the activation term is a heuristic, not a measurement; quantization/dtype settings on an active loader may lower real residency below the summed weight sizes; a component a preset pins outside a form picker is never counted.
  • device — what the routed backend's hardware actually reports, read from that backend's own resolve_execution_device() (never guessed from its driver name, and never a bare class tag — a native backend can be configured for cpu or any cuda:N, so only the specific instance knows which): free/total VRAM from this host's own GPU monitor when the backend is configured for a GPU AND that GPU's own stable hardware identity (a UUID, never an enumeration index or ordinal — neither is proof of the same physical card) actually matches the one the monitor is bound to (local); none when there's definite evidence of no applicable GPU — a native backend explicitly configured with no GPU (device="cpu"), or this host genuinely has no GPU at all; null numbers for a remote worker whose hardware isn't this process's to read (remote); or unknown when either side's identity couldn't be established, the two identities disagree, or the backend hasn't declared where it executes at all (e.g. a comfyui backend, whose server has its own hardware this host doesn't see). It is also unknown — never a confident local or none — when an ACTIVE stage in the request's own resolved pipeline pins its own device that conflicts with (or isn't a plain literal comparable to) the backend's configured one: a preset's pipeline.yml can override the backend's device per-stage, and the backend's own GPU reading cannot honestly be claimed to apply to a stage pinned elsewhere. A matching override, an absent one, or one on a disabled stage changes nothing.
  • budget — the configured loading budget for the backend as a whole (its gpu_max_vram, bounded by the device's reported free VRAM when there is one) — configuration, not a promise about this request. Reported separately in budget.pipe_hints_gb: each active pipe's own per-stage vram_limit_gb hint (e.g. a tiled detailer's own tile budget), composed against that same backend cap individually — a preset can declare several with different values, so none of them is presented as if it were the whole request's budget.

Reading the estimate against the device/budget evidence is a judgment call for whoever is looking at it — PotionUI reports the numbers, not a pass/fail.

See also#

  • Models — the installed-models inventory and how models connect to presets.
  • Administration — backends and where generations actually run.
  • Per-family reference docs under docs/models/ (in the repository) for full architecture and sampling details — this page only covers the memory/disk numbers.