Instructions to use woodfireind/MiniMax-H3-GGUF-MiniStack with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use woodfireind/MiniMax-H3-GGUF-MiniStack with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("woodfireind/MiniMax-H3-GGUF-MiniStack", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
MiniMax H3 GGUF MiniStack
A shrunk, GGUF-quantized MiniMax H3 FL2VA stack built for ComfyUI on consumer GPUs (developed on Intel Arc A770 16 GB). The full 33B stack has been reduced via AdaLN pruning of the DiT and distillation of the 32B text encoder down to a 4B student, then quantized to Q4_K_M. The audio VAE is dropped (see Limitations).
Provenance: this is a derived, quantized repack of MiniMaxAI/MiniMax-H3 as repackaged by Comfy-Org/MiniMax-H3, plus locally trained adapter weights. It is released under the MiniMax H3 Community License Agreement.
What's in the box
π ComfyUI/models/
βββ π diffusion_models/
β βββ MiniMax-H3-FL2VA-pruned-Q4_K_M.gguf 11.38 GB pruned AdaLN DiT, Q4_K_M
βββ π text_encoders/
β βββ qwen3vl-4b-h3student-Q4_K_M.gguf 2.50 GB distilled TE, Q4_K_M (default)
β βββ qwen3vl-4b-h3student-BF16.gguf 8.05 GB distilled TE, BF16 (optional)
β βββ te_adapter_v1.safetensors 120 MB studentβH3 5120-d MLP adapter (required)
β βββ h3_tokenizer/ 11 MB H3 tokenizer (required)
βββ π vae/
βββ minimax_h3_video_vae_fp16.safetensors 4.85 GB stock video VAE, fp16
Total download β 27 GB (Q4 default β 19 GB if you skip the BF16 TE).
| File | SHA-256 |
|---|---|
diffusion_models/MiniMax-H3-FL2VA-pruned-Q4_K_M.gguf |
51783047a6be43c9fcedc3c0a1746480dac867839ba1ad2e1c698da9d7058201 |
text_encoders/qwen3vl-4b-h3student-Q4_K_M.gguf |
7ff66b1541723fc4c4c3f2cba75f72740fad43276ab1d6d564379e591a2e74e5 |
text_encoders/qwen3vl-4b-h3student-BF16.gguf |
b6c55a51fe20aca2700fcedd228ad9af9b67f896a10ae5ff80092752c09145ba |
text_encoders/te_adapter_v1.safetensors |
ef2060e1a277820416d895812dd580234d3c2760af8e6d203b38e3df2e0952b0 |
text_encoders/h3_tokenizer/tokenizer.json |
a5d85b6dcc535e6b93115a9ef287e6132fdbf30270da6218194ba742261173c7 |
text_encoders/h3_tokenizer/tokenizer_config.json |
a07e942ac874baa13758de8d1fbdb186683cc03416b5589e1b6671c6b3057c68 |
text_encoders/h3_tokenizer/vocab.json |
ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910 |
text_encoders/h3_tokenizer/merges.txt |
599bab54075088774b1733fde865d5bd747cbcc7a547c5bc12610e874e26f5e3 |
vae/minimax_h3_video_vae_fp16.safetensors |
7c1f131492e7eddacaac9069a61b81bdd39de5cc96561e677c5eab1cdce5e522 |
Documented changes vs. stock
- Pruned DiT (FL2VA). The 33B full-width DiT is replaced with the AdaLN-curve form from
Comfy-Org/MiniMax-H3(minimax_h3_fl2va_pruned_bf16): AdaLN 13Bβ44M params via theadaln_t_table[1025,8] + per-block [96768,8] projections. Effective β 18.7B params. - Q4_K_M quantization. Converted with a two-pass streaming converter and quantized with a ComfyUI-GGUF-patched llama.cpp build (arch
"wan"; stockllama-quantizerejects this arch). 11.38 GB vs 14.5 GiB for the full Q3_K_M. GGUF:general.architecture=wan, 532 tensors, 53 fp32/fp16 hiprec islands (adaln*, t_embed, norm, patch_proj) kept as-is. - Distilled student text encoder. The 32B Qwen3-VL-32B teacher is replaced with a Qwen3-VL-4B student plus a trained MLP adapter (
2560β4096β5120, fp32) that maps student language hidden states into H3's 5120-d multimodal token slots. Distilled from 2,500 teacher dumps; val_cos 0.9310 (full-corpus v4 adapter). Q4_K_M GGUF is numerically near-identical to the BF16 student (>0.99 cosine); the gap to the teacher is adapter fidelity, not quant noise. - Audio VAE dropped. The
minimax_h3_audio_vae_fp32component is removed from the workflow. Output videos are silent. The stockminimax_h3_video_vae_fp16is unchanged and included. - Video VAE unchanged. Stock fp16 video VAE; no pruning or requantization was applied.
Requirements
- ComfyUI with MiniMax H3 support (
Comfy-Org/ComfyUIPR #15224 / current main) and the ComfyUI-GGUF custom node. - For the student TE you need the
h3_small_tecustom node (H3SmallTELoader / H3SmallTextEncoder) β it loads the GGUF via ComfyUI-GGUF'sgguf_clip_loaderinto comfy-nativeLlama2_(Qwen3VL_4BConfig)with GGMLOps, keeping the H3 HF tokenizer + Identity final-norm + the adapter. The adapter andh3_tokenizer/are required β without them the student cannot encode. - DiT and video VAE are loaded with the standard
UnetLoaderGGUF/VAELoadernodes.
Recommended settings (640Γ480 previz, Arc A770 16 GB)
- Sampling: 8 steps with the turbo LoRA (
larryvrh/MiniMax-H3-Turbo-Lora),--reserve-vram 3. Note the turbo LoRA'sadaln_projtargets dangle on the pruned checkpoint β apply it to the full checkpoint if you need those. - Length: snap to
5 mod 17frames (17k+5 grid). Example:length = max(5, round(seconds*24)) + (5 - (max(5, round(seconds*24)) % 17)) % 17. - Default: 640Γ480 / 124 frames / 24 fps / 8 steps.
Limitations
- No audio. The audio VAE is dropped from this stack β generated videos are silent and there is no voice/SFX/music output.
- Student TE is text-only. The 4B student adapter was distilled on pure-text teacher dumps; it has no vision path. For I2V / FL2V keyframe identity (which needs the teacher's vision tower + deepstack features), use the teacher 32B TE (
qwen3vl-32B-MiniMax-H3-*); the student cannot consume image tokens. - Adapter fidelity ceiling. val_cos β 0.93 vs the teacher. Shot structure and cuts are preserved, but cut timing can drift Β±2 s and fine prompt specifics (small props, signage details) can wash out. Timestamp-magnitude tuning (v3/v4) plateaued; this is accepted as a known tradeoff.
- Turbo LoRA compatibility. The preview turbo LoRA targets full-width
adaln_projweights that do not exist in the pruned curve-form checkpoint; using both together silently skips those targets. - GGUF arch. The DiT is archived as
"wan"for quantizer compatibility; use a ComfyUI-GGUF build that can load arch-wanGGUFs. The student GGUF is archqwen3vl. - Frames-vs-seconds prompting. H3 is trained on
mm:ss.mmmtimestamps; the 4Γ temporal VAE grid only quantizes where cuts can land β frame-based timestamps are off-distribution. - Not for 2K. Local gen is 640Γ480 previz; 768P/2K regeneration requires the official MiniMax cloud API.
Usage
- Unzip files into the ComfyUI
models/folders as shown above. - For T2V (text only):
UnetLoaderGGUFβ pruned Q4 GGUF;H3SmallTELoaderβ student Q4 GGUF + adapter + tokenizer dir;VAELoaderβ video VAE. - For I2V / FL2V: swap the student TE for the teacher 32B TE (vision path); everything else stays.
- Encode with
MiniMaxH3ImageToVideo, sample withSamplerCustomAdvanced(res_multistep / simple, 25 steps, or 8 with turbo LoRA).
Eval notes (summary)
- Baseline (full Q3_K_M, 25 steps): 620 s wall @ 640Γ480/124f.
- Pruned Q4_K_M (25 steps): 610 s wall, output on-par with baseline (same composition/cut).
- Turbo 4/8-step: ~160 s / ~250 s wall; 8-step recommended.
- FL2V smoke (pruned Q4 + teacher TE): 295.5 s wall; keyframe lock first/last pixel-cos 0.9905/0.9987.
- Student vs teacher numeric A/B: mean cosine 0.847 (mid adapter) β 0.9310 (full-corpus v4). Video A/B: structure and cuts preserved; fine details degrade consistent with ~0.93 cos.
License
Derived from MiniMaxAI/MiniMax-H3 β MiniMax H3 Community License Agreement (see link in metadata header). The student adapter is a training-derived artifact of distillation against the teacher model and is distributed under the same agreement. The video VAE is the unmodified Comfy-Org repack.
- Downloads last month
- -
4-bit
16-bit
Model tree for woodfireind/MiniMax-H3-GGUF-MiniStack
Base model
MiniMaxAI/MiniMax-H3