Skip to content
Video

DMAD

генерация видео со звуком за 4 и 8 шагов

2 min readupdated

Набор дистиллированных моделей и LoRA (небольших надстроек для ускорения и адаптации) от исследователей из Texas A&M University и ByteDance. Главная звезда релиза — LoRA-адаптеры для огромной 33B модели MiniMax-H3, которые сжимают генерацию 1344×768 видео со стереозвуком с 50 шагов до 4 или 8 без использования CFG. В репозиторий также вошли ускоренные 4-шаговые версии Wan2.1-T2V (1.3B и 14B), SDXL и ImageNet-64. Благодаря оптимизациям и готовым воркфлоу для ComfyUI тяжёлую MiniMax-H3 теперь можно запустить даже на потребительских видеокартах с 8 ГБ VRAM.

Ключевые особенности

  • Ускорение MiniMax-H3 (33B) с 50 до 4 или 8 шагов при разрешении 1344×768, 24 fps и нативном стереозвуке.
  • На выбор доступны три варианта rank-128 LoRA (lora_critic, full_critic на 4 шага и свежий 8step_full_critic) как для Diffusers, так и в формате для ComfyUI.
  • Работа на видеокартах от 8 ГБ VRAM: 5-секундный ролик укладывается в 7 ГБ видеопамяти, а 15-секундный — в 12–14 ГБ.
  • В комплекте идут готовые JSON-воркфлоу и примеры MP4 со встроенными схемами для ComfyUI на стандартных нодах (сэмплер lcm + планировщик simple).
  • Дополнительно опубликованы 4-шаговые чекпоинты Wan2.1 (1.3B и 14B) для 480p видео и 1–4-шаговые версии SDXL.

Что можно сделать

  • Генерировать 15-секундные ролики со встроенным стереозвуком в ComfyUI на картах с 16–24 ГБ VRAM с помощью готовых воркфлоу dmad_h3_4step_15s_podcast.json или dmad_h3_8step_15s_wok.json.
  • Запускать генерацию 5-секундных видео со звуком на бюджетных GPU с 8 ГБ видеопамяти через специальный облегчённый воркфлоу или флаг --low-vram в CLI.
  • Использовать дистиллированные веса dmad_wan2pt1_1pt3B.pth и 14B для быстрой 4-шаговой генерации видео в 480p (81 кадр) без CFG.

Пример

hf download MiniMaxAI/MiniMax-H3 --local-dir models/MiniMax-H3 --exclude "FL2VA/*" --exclude "Ref2VA/*" --exclude "transformer_ref/*"
hf download ZhengmingYu/DMAD --include "minimax_h3/*_critic.safetensors" --local-dir ckpt
python inference.py --model-dir models/MiniMax-H3 --lora ckpt/minimax_h3/dmad_minimax_h3_4step_lora_critic.safetensors \
    --prompt-file prompts/dmad_sweater.txt --seed 42 --output-dir outputs/dmad_sweater
ПодробнееЛокальный запуск требует большого объёма оперативной памяти: при генерации на картах 8–16 ГБ VRAM расходуется около 45–46 ГБ ОЗУ (рекомендуется 64 ГБ RAM).
Для 15-секундных роликов на 16–24 ГБ GPU в ComfyUI требуется кастомная нода H3 Memory Optimization из пакета H3-Optimizations.
На ускорителе H200 (с лимитом 14 ГБ VRAM) генерация 15 секунд видео занимает ~470 секунд за 4 шага и ~886 секунд за 8 шагов; 5 секунд на 8 ГБ укладываются в ~210 секунд.
Версия full_critic (обученная с размороженным критиком) показывает более высокие оценки на бенчмарке AVGen-Bench по сравнению с lora_critic.
Видео-примеры
Discuss 197 89.7K

Will it run?

Runs in FP8 / INT8

Full precision does not fit, a quantised version does: quality barely changes down to 8 bits, more noticeably at 4 bits.

  • BF16weights 27 GB · ready files34 GB
  • FP8 / INT8recommendedweights 13 GB18 GB
  • 4-bitweights 7.5 GB12 GB

Tip: go 8-bit.FP8 / INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

What to get for this model

Massed ComputeOpen Massed Compute

Your own GPU: FP8 / INT8 — from RTX 4090

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # ZhengmingYu/DMAD
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download ZhengmingYu/DMAD --local-dir ~/models/DMAD
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to DMAD
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • SageAttention 3v2.2.0from October 28, 2025

    even faster on RTX 50 / Blackwell

    FP4 attention for Blackwell. Faster than SageAttention 2, but the authors suggest v2 when accuracy matters.

    How to enable: Build from the sageattention3_blackwell folder of the repo; in ComfyUI via KJNodes.

    Earlier generations (2)
    • SageAttention 2++ — Quantised (INT8/FP8) attention with no visible quality loss. The main speed-up for image and video generation.
    • SageAttention 1 — First version: INT8 for Q·K. Still works, but 2++ is faster and more accurate.
  • FlashAttention 44.0.0b40from November 18, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (3)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
    • xFormers — The older way to speed up attention, works almost everywhere. Sage or Flash are faster where available.
  • cache-dit (DBCache)v1.5.6from November 20, 2026new release

    1.5–3× at nearly the same quality

    Reuses block outputs between diffusion steps. Supports most DiT models.

    How to enable: pip install cache-dit; one line cache_dit.enable_cache(pipe) for diffusers.

    Earlier generations (2)
    • MagCache — Skips steps by magnitude of change. More accurate than TeaCache, no calibration.
    • TeaCache — The first popular diffusion step cache. Works, newer methods are more accurate.
  • LightX2V step distill0.6.1from November 9, 2026new release

    5–10× fewer steps

    Distilled LoRAs and an engine: video in 4–8 steps instead of 30–50.

    How to enable: Load their step-distill LoRA, CFG 1.0, 4–8 steps.

  • torch.compile2.15.0from October 28, 2026new release

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

MiniMax H3 prompts

All prompts

Ready prompts with the resulting video: copy and try.

Model family

New posts about versions of MiniMax-H3 (quants, finetunes, LoRAs) will show up under the bell.

Quantised versions 12All on Hugging Face
Fine-tunes 12All on Hugging Face
LoRAs and adapters 12All on Hugging Face
Merges 3All on Hugging Face

About the model

ZhengmingYu/DMAD
Author
ZhengmingYu
Category
Video
Released
Posted

On NeyroLearn

Hugging Face

89.7K197

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments

Video

HyperFlow

HyperFlow