Magi 2 in ComfyUI: VRAM Requirements, Install, Workflow JSON & 96GB NVFP4 Test
No — RTX 4090 (24GB) and 5090 (32GB) OOM even on NVFP4: peaked at 88.99 GiB on 96GB Blackwell.
Magi 2 VRAM: Can RTX 4090 or 5090 Run Locally?
No. NVFP4 shrinks disk size, not working VRAM. The comfyui-magi2-native loader upcasts each expert layer to BF16 on GPU and cannot partially offload the 71.83 GB weights to RAM. Our 1Hz log peaked at 88.99 GiB — beyond 24GB, 32GB, 48GB, and single 80GB cards.
| Your hardware | Runs Magi 2 locally? | Best path |
|---|---|---|
| RTX 4090 / 5090 (24–32GB) | No (~3× your VRAM) | Run hosted 480B in the browser, or run Wan 2.2, LTX‑2, or MAGI‑1 4.5B locally (not Magi 2) |
| 48GB / single 80GB (L40S, A100, H100) | No (peak 88.99 GiB) | Official ComfyUI cloud workflow, Partner API node, or Magi2Free in browser |
| Single 96GB (RTX PRO 6000 Blackwell) | Yes (community NVFP4) | Use the ComfyUI workflow JSON and install steps |
| 8× Hopper (H100/H200) | Yes (official 114B BF16) | Sand.ai official pipeline (306.72 GB weights) |
Download Magi 2 ComfyUI Workflow JSON
Tested 0‑OOM ComfyUI v0.46 API graphs (seed 42, T2V) — import and edit "text" in node 2.
540p 50-Step Fast Draft
Preview 540p ComfyUI JSON
| Node | Setting we used | Why it matters |
|---|---|---|
| MAGI2Guider (5) | video_cfg 5.0 · audio_cfg 7.0 |
Separate guidance for picture and sound |
| MAGI2Sigmas (6) | steps 50 · shift 7.0 |
Each step costs 18.82 s; 50 steps keeps the audio clean |
| MAGI2TextEncode (2, 3) | text_encoder_device cpu |
Runs Qwen3.5 in system RAM; the low-RAM GPU option was only 1.9% slower |
| MAGI2RefinerLatent (16) | 1920×1088 · noise_level 220 |
Upscales the 896×512 latent and sets 25fps output |
| CFGGuider + Sigmas (17, 18) | cfg 2.0 · 5 steps · DisableNoise |
5 refiner steps took 996.7 s at 1080p |
Magi 2 Weights: 114B vs. NVFP4 vs. 480B
Three builds share the Magi 2 name — check before downloading 148–307 GB.
| Spec | Official preview | Community NVFP4 | Hosted 480B |
|---|---|---|---|
| Source | sand-ai/MAGI-2-preview | colinb83/MAGI-2-preview-NVFP4 | Magi2Free Studio (not open-weights) |
| Size & GPU | 114B (~6B active) · 306.72 GB · 8× Hopper | 26 files · 148.57 GB · 1× 96GB | No GPU needed |
| License | Apache‑2.0 | Derived from Apache‑2.0 weights (see repo card) | Commercial use allowed (per Terms) |
| Clip length | Fixed 10s | Fixed 10s | 4 / 10 / 15 / 30s presets |
| End Frame & Multi-Ref | No End Frame · no Multi-Ref | No End Frame · no Multi-Ref | Start+End · 20 refs (10 img, 5 video, 5 audio) |
ComfyUI Node Install & 26‑File Paths
Use Colnb83/comfyui-magi2-native (not MAGI‑1) on 96GB VRAM, 64GB RAM, and 150GB+ SSD.
git clone https://github.com/comfyanonymous/ComfyUI.git && cd ComfyUI git clone https://github.com/Colnb83/comfyui-magi2-native.git \ custom_nodes/comfyui-magi2-native pip install -r custom_nodes/comfyui-magi2-native/requirements.txt # NVFP4 diffusion + refiner + VAE (88.13 GB) hf download colinb83/MAGI-2-preview-NVFP4 \ comfyui/diffusion_models/magi2_preview_nvfp4_comfy.safetensors \ comfyui/diffusion_models/magi2_refiner.safetensors \ comfyui/vae/Wan2.2_VAE.pth --local-dir /tmp/nvfp4 mv /tmp/nvfp4/comfyui/diffusion_models/* models/diffusion_models/ mv /tmp/nvfp4/comfyui/vae/Wan2.2_VAE.pth models/vae/ # Qwen3.5 text encoder + audio decoder (60.44 GB) hf download sand-ai/MAGI-2-preview --include "text_encoder/*" \ "stable-audio-open-1.0/*" --local-dir models/magi2
ComfyUI/models/ ├─ diffusion_models/ │ ├─ magi2_preview_nvfp4_comfy.safetensors 71.83 GB │ └─ magi2_refiner.safetensors 13.48 GB (720p/1080p) ├─ vae/Wan2.2_VAE.pth 2.82 GB └─ magi2/ ← MAGI2_CKPT_ROOT ├─ text_encoder/ 20 files · 55.59 GB └─ stable-audio-open-1.0/ 3 files · 4.85 GB # launch (default NORMAL_VRAM) export MAGI2_CKPT_ROOT="$PWD/models/magi2" export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True python main.py --listen 0.0.0.0 --port 8188
Keep ComfyUI’s default NORMAL_VRAM — never add --highvram or --disable-mmap, so ComfyUI unloads the Preview model before loading the Refiner (~88 GiB down to ~48 GiB).
96GB Blackwell Magi 2 NVFP4 Benchmark
96GB Blackwell G4 · PyTorch 2.14.1+cu130 · ComfyUI v0.46 · seed 42 (10s T2V).
86.61–88.99 GiB; Refiner dropped to ~32.5 GiB (720p) and ~48 GiB (1080p).
| Run (10s clip) | Total time | Peak VRAM | Audio |
|---|---|---|---|
| 540p · 20 steps (cold start) | 11.9 min |
86.91 GiB |
Clean · −29.50 dBFS |
| 540p · 50 steps | 15.8 min |
88.80 GiB |
Clean · −29.79 dBFS |
| 540p · 100 steps | 31.5 min |
88.99 GiB |
Clean · −30.24 dBFS |
| 720p Refiner · 50+5 | 24.9 min |
87.98 GiB |
Clean · −29.91 dBFS |
| 1080p Refiner · 3+5 | 18.6 min |
86.61 GiB |
Hissy · 0.018% clip |
| 1080p Refiner · 50+5 | 33.3 min |
88.08 GiB |
Clean · 0 OOM |
- Linear step scaling: 18.81–18.83 s per step across 20, 50 and 100 steps.
- Low-RAM text encoder: Qwen3.5 on
gpu (low RAM)added only+7.14 s(+1.9%). - Same 96GB GPU comparison: MiniMax H3 (1344×768, 10.12s, 20 steps, 7 runs) took
9.41–11.12 min(~27.5 s/step, 62.32 GiB weights) — faster than MAGI‑2 NVFP4’s33.3 min1080p Refiner, at 768p resolution and narrower 32 kHz audio. - Public telemetry mirror: Both zero‑OOM workflow JSONs and raw chart PNGs are mirrored on GitHub at magi2free-labs/magi2-benchmarks.
Troubleshooting OOM, Disk & Audio Issues
Four production failures we hit and fixed on 96GB Blackwell.
| Symptom | Root cause | Fix |
|---|---|---|
| OOM at 1080p Refiner | --highvram pins the 71.83 GB Preview model |
Use default NORMAL_VRAM + expandable_segments:True |
| 25/26 files after restart | Cloud drive dropped 71.83 GB file before flush | Run os.sync(); drive.flush_and_unmount() or use NVMe |
No module named torchsde |
startswith("torch") filter stripped torchsde |
Filter exact names, then pip install --no-deps torchsde |
| Hissy, clipped audio | 3 base steps under-denoise audio (5,948 Hz centroid) | Use 20+ steps for drafts; 50 for finals |
Self-Hosting 114B vs. Online Cloud 480B
Self-hosting wins per second at full load, at the cost of 33‑min renders and fixed 10s.
| Option | Model & limits | 10s time | Cost / sec |
|---|---|---|---|
| Cloud 96GB G4 Google AI Ultra $249.99/mo · 11.2 CU/h | 114B NVFP4 · fixed 10s · no End Frame | 31.5–33.3 min |
$0.066–$0.070 2/3 requests fell back to L4/A100 |
| 8× H100 rental ~$24/h est. | Official 114B BF16 · fixed 10s | ~4 min (est.) | ~$0.16 billed while idle |
| Partner API (ComfyUI / kie.ai) | Hosted Magi 2 API · code required | Cloud queue | $0.088–$0.114 |
| Magi2Free (browser) | Hosted 480B · 4–30s · Start+End · 20 refs | ~4.8 min |
$0.25–$0.33 packs · $0.139 Pro Yearly |
Keep exploring: Magi 2 prompt guide · Magi 2 vs Veo 3.1 test · Start + End image-to-video · Multi-Reference · No-subscription credits.
Magi 2 ComfyUI & VRAM FAQ
Can Magi 2 run on an RTX 4090 (24GB) or RTX 5090 (32GB)?
No. The smallest build (colinb83/MAGI-2-preview-NVFP4) peaked at 86.91–88.99 GiB VRAM in ComfyUI and cannot partially offload. You need one 96GB GPU (e.g. RTX PRO 6000 Blackwell) or 8 Hopper GPUs for official BF16.
Is Magi 2 open source?
Partly. Sand.ai released sand-ai/MAGI-2-preview (114B, ~6B active) under Apache-2.0, fixed at 10s with no End Frame or Multi-Reference. Hosted Magi 2 480B is closed-weights via cloud studios like Magi2Free.
Does Magi 2 generate audio in ComfyUI?
Yes. MAGI2AudioDecode outputs 44.1 kHz stereo MP4 audio with 0.0 ms A/V drift across all 10 runs. Use 50 base steps for finals: a 3-step 1080p draft clipped at 0 dBFS (5,948 Hz centroid).
How long does Magi 2 take in ComfyUI vs online?
On a 96GB Blackwell GPU, a 10s 540p draft took 11.9–15.8 min and 1080p 50+5 Refiner took 33.3 min. Hosted Magi 2 480B on Magi2Free averages ~4.8 min per 10s 1080p clip.
Can I try Magi 2 for free without a GPU?
Yes. Eligible new Google accounts on Magi2Free get 40 welcome credits (no card) for one unwatermarked 4s 1080p MP4 download on hosted 480B with native audio, valid 30 days, with auto-refund on failure.
Build your scene in the Magi2 Video Studio
Explore curated prompt examples, prepare Start and End frames locally, and generate 1080p clips with synchronized audio.