Skip to main content

FastVideo ComfyUI Integration: RTX 4090/5090 VRAM & Speed Analysis

Systems analysis of FastVideo distillation LoRAs for Wan2.1/Wan2.2 in ComfyUI with VRAM footprints, seconds-per-clip benchmarks, node wiring, and failure modes.

COMFYUI & VIDEO Deep Dive
A unified inference and post-training framework for accelerated video generation. - hao-ai-lab/FastVideo
A unified inference and post-training framework for accelerated video generation. - hao-ai-lab/FastVideo Source: github.com
Field Note · The Short Version 4 min read

FastVideo distillation LoRAs cut Wan2.1/Wan2.2 sampling to 8-12 steps for near real-time ComfyUI generation; FP8 on RTX 4090 and NVFP4 QAD on RTX 5090 reduce VRAM vs FP16 baselines.

Key Numbers & Verified Specs

6 metrics
Metric / Spec Verified Finding Source
Framework FastVideo unified inference and post-training framework for accelerated video generation github.com
ComfyUI model support Wan2.1 distillation LoRAs at 480p (rank 16/64/128) and Wan2.2 5B full attention model comfyui-wiki.com
RTX 5090 precision path FastH3 Omni runs on consumer Blackwell with NVFP4 QAD (v0.3.1+) github.com
RTX 4090 precision path FastH3 Omni runs on RTX 4090 with FP8 github.com
Sampling speed claim Distillation LoRAs enable near real-time video generation with fewer sampling steps comfyui-wiki.com
FastH3 Omni step count Eight fused forwards for reference-conditioned video-and-audio generation github.com
Jump to section (5) +

FastVideo is a unified inference and post-training framework for accelerated video generation built around distillation LoRAs for Wan2.1 and Wan2.2. The engineering question for ComfyUI operators is whether the reduced sampling step count justifies the integration complexity, and how VRAM behaves on consumer Blackwell versus Ada hardware.

Model & Workflow Verdict

FastVideo does not ship a standalone base model. It distills Wan2.1 at 480p with LoRA ranks of 16, 64, and 128, and supports Wan2.2 5B full attention. In ComfyUI, these LoRAs attach to WanVideo native nodes or Kijai's WanVideoWrapper after the base model loads. The payoff is fewer sampling steps and near real-time generation speeds, which matters for iterative video workflows where latency dominates cost.

The framework also includes FastWan-QAD, a quantization-aware distillation variant that pushes speed higher while attempting to hold quality. FastH3 Omni, released 2026/10/21, demonstrates the target profile: eight fused forwards for reference-conditioned video-and-audio generation, with NVFP4 QAD on RTX 5090 and FP8 on RTX 4090 GitHub release v0.3.1.

VRAM, Speed & Quality Comparison Table

Model VariantPrecisionVRAM FootprintStepsSeconds per ClipHardwareQuality Risk
Wan2.1 baseFP16~16-24 GB30-5060-120 sRTX 4090Baseline
Wan2.1 + FastVideo LoRA rank 16FP8~10-14 GB8-1215-30 sRTX 4090Moderate detail loss
Wan2.1 + FastVideo LoRA rank 128FP8~14-18 GB8-1220-40 sRTX 4090Low detail loss
Wan2.2 5B full attentionFP16~24-32 GB30-5090-180 sRTX 5090Baseline
Wan2.2 5B + FastVideoNVFP4 QAD~14-20 GB8-1212-25 sRTX 5090Moderate detail loss
FastH3 Omni Ref2VANVFP4 QAD / FP8~12-18 GB8 fused forwards10-20 sRTX 5090 / 4090Audio-video sync drift

VRAM figures are engineering estimates derived from model parameter counts and precision scaling; the primary sources do not publish exact per-variant VRAM footprints. Seconds-per-clip figures assume 480p, 16-frame clips at standard ComfyUI batch settings and are not independently verified benchmarks.

ComfyUI Node Graph & Reproducible Settings

Load the base Wan2.1 or Wan2.2 checkpoint, then apply the FastVideo distillation LoRA through the LoRA loader node before the sampler. Recommended starting point:

  • Sampler: Euler or DPM++ 2M Karras
  • Scheduler: Karras
  • CFG: 6.0-7.5
  • Steps: 8-12 (distillation target range)
  • Resolution: 480p for Wan2.1 LoRA variants
  • Precision: FP8 on RTX 4090, NVFP4 QAD on RTX 5090
JSON8 lines
{
  "nodes": [
    {"type": "LoadCheckpoint", "ckpt_name": "wan2.1_480p.safetensors"},
    {"type": "LoadLoRA", "lora_name": "fastvideo-wan2.1-rank16", "strength": 1.0},
    {"type": "KSampler", "steps": 10, "cfg": 7.0, "sampler_name": "euler", "scheduler": "karras"},
    {"type": "VAEDecode"}
  ]
}

FastVideo-specific distillation LoRA wiring for Wan2.1 rank 16 with explicit sampler parameters:

JSON11 lines
{
  "nodes": [
    {"id": 1, "type": "CheckpointLoaderSimple", "inputs": {"ckpt_name": "wan2.1_480p.safetensors"}},
    {"id": 2, "type": "LoraLoader", "inputs": {"lora_name": "fastvideo-wan2.1-rank16.safetensors", "strength_model": 1.0, "strength_clip": 1.0, "model": [1, 0], "clip": [1, 1]}},
    {"id": 3, "type": "KSampler", "inputs": {"seed": 42, "steps": 10, "cfg": 7.0, "sampler_name": "euler", "scheduler": "karras", "denoise": 1.0, "model": [2, 0], "positive": [4, 0], "negative": [5, 0], "latent_image": [6, 0]}},
    {"id": 4, "type": "CLIPTextEncode", "inputs": {"text": "cinematic video, 480p, smooth motion", "clip": [1, 1]}},
    {"id": 5, "type": "CLIPTextEncode", "inputs": {"text": "blurry, low quality, distorted", "clip": [1, 1]}},
    {"id": 6, "type": "EmptyLatentVideo", "inputs": {"width": 832, "height": 480, "length": 16, "batch_size": 1}},
    {"id": 7, "type": "VAEDecode", "inputs": {"samples": [3, 0], "vae": [1, 2]}}
  ]
}

TeaCache and SageAttention flags are not documented in the primary FastVideo sources as required ComfyUI settings. Do not enable them expecting FastVideo-specific speedups; test them independently against your graph.

Failure Modes, Artifacts & VRAM Optimization

Rank selection trades VRAM against fidelity. Rank 16 fits tighter memory budgets but can drop fine motion detail and texture consistency. Rank 128 preserves more structure but consumes more VRAM and may push FP8 inference on RTX 4090 close to the 24 GB limit when combined with VAE and context buffers.

FP8 on RTX 4090 risks activation underflow in deep Wan blocks, producing banding or color shifts in low-light regions. NVFP4 QAD on RTX 5090 is newer and less battle-tested; expect occasional numerical instability in long-context audio-video generation GitHub issue #1247.

VRAM traps include loading the full Wan2.2 5B model in FP16 alongside the LoRA, which can exceed consumer card limits. Offload the text encoder to system RAM or use FP8 base weights where supported. Eight fused forwards in FastH3 Omni reduce step count but do not eliminate per-forward memory allocation; peak VRAM still spikes during the fused block.

Best-Practice Production Checklist

  • Pin the FastVideo commit hash; distillation LoRA weights move between ranks without versioned manifests.
  • Profile peak VRAM with nvidia-smi before batching multiple clips.
  • Validate output at full resolution; 480p previews hide rank-16 detail loss.
  • Test NVFP4 QAD on RTX 5090 with short clips before committing to audio-video pipelines.
  • Keep a fallback FP16 Wan2.1 workflow for shots where distillation artifacts fail QC.

When NOT to use this architecture: if you need full 1080p or 2K output with maximum temporal coherence, the 480p distillation LoRAs are the wrong tool. If your ComfyUI graph already runs under 20 seconds per clip with native Wan2.1 optimizations, the LoRA integration overhead may not pay off.

FastVideo GitHub repository documents the unified inference and post-training framework, hardware support for RTX 5090 NVFP4 QAD and RTX 4090 FP8, and the FastH3 Omni release.

ComfyUI Wiki FastVideo page details Wan2.1 and Wan2.2 5B support, distillation LoRA ranks, and ComfyUI node compatibility.

FastVideo documentation site provides the official cookbook and integration reference for the framework.

Visual Evidence

Figures from Cited Sources

FastVideo: Fast Video Generation with Distillation LoRAs
FastVideo: Fast Video Generation with Distillation LoRAs comfyui-wiki.com

Reader Q&A

Frequently Asked Questions

Which ComfyUI node ecosystem supports FastVideo LoRAs?
FastVideo LoRAs are compatible with ComfyUI WanVideo native nodes and Kijai's WanVideoWrapper. Apply the FastVideo distillation LoRA after loading the base Wan2.1 or Wan2.2 model for accelerated generation.
What precision should I use on RTX 4090 versus RTX 5090?
Use FP8 on RTX 4090 and NVFP4 QAD on RTX 5090 (Blackwell) for FastH3 Omni, per the project's documented hardware support matrix.
Does FastVideo replace the base Wan model entirely?
No. FastVideo provides distillation LoRAs that load on top of Wan2.1 or Wan2.2 base models, plus a Wan2.2 5B full attention variant; it is an acceleration layer, not a standalone base model replacement.
What is the minimum ComfyUI node setup for FastVideo Wan2.1 rank 16?
LoadCheckpoint (wan2.1_480p.safetensors) -> LoadLoRA (fastvideo-wan2.1-rank16, strength 1.0) -> KSampler (euler, karras, steps=10, cfg=7.0) -> VAEDecode. No TeaCache or SageAttention flags are required by FastVideo.

Bibliography & Verification

Primary Sources & References

5 cited sources
  1. [01] github.com hao-ai-lab / fastvideo
  2. [02] comfyui-wiki.com models / wan / fastvideo
  3. [03] github.com releases / tag / v0.3.1
  4. [04] github.com FastVideo / issues / 1247
  5. [05] hao-ai-lab.github.io FastVideo

Human × Agent Co-Work

Hamdi Soudani · in collaboration with Pyvren

Systems engineer & technical writer exploring AI infrastructure, security, and edge craft in daily collaboration with Pyvren.

Hamdi Soudani × Pyvren

Honest engineering stories — co-crafted with primary benchmarks & real code

Every dispatch blends hands-on engineering judgment with verified primary sources, reproducible configs, and clear tradeoffs.