Skip to content
Other

Kijai/MiniMax-H3-experimental

ускоренные кванты, VAE и LoRA для MiniMax-H3

2 min readupdated

Экспериментальный набор оптимизированных файлов от разработчика Kijai для запуска видеомодели MiniMax-H3 в среде ComfyUI. В репозиторий собраны квантованные (сжатые для экономии памяти и ускорения) версии весов в форматах w4a8 и w6a8, быстрые декодеры VAE и набор адаптированных LoRA (небольших надстроек над базовой моделью). Главное отличие от оригинальных сборок — переход на квантование активаций int8-convrot, которое заметно ускоряет декодирование видео. Сборка пригодится пользователям ComfyUI, которые хотят запускать MiniMax-H3 быстрее и экспериментировать с новыми дистилляциями и файнтюнами.

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

  • Квантование w4a8 и w6a8: форматы с 4-битными и 6-битными весами и активациями int8-convrot для снижения нагрузки на видеопамять.
  • Ускоренные декодеры VAE: стандартный int8_convrot VAE ускоряет декодирование примерно в 2 раза, а облегчённый lynnreal_light_vae_int8_convrot быстрее ещё примерно в 1.3 раза.
  • Ускоряющие LoRA (PDMD и DMAD): конвертированные версии LoRA с пониженным рангом из проектов pdmd_2NFE_lora, pdmd_4NFE_lora и DMAD.
  • Извлечённая LoRA Singularity v2: адаптер с рангом 351 в формате bf16, извлечённый из полноразмерного файнтюна Minimax-h3_Singularity_ref2va_v2_int8.
  • Отдельный рефайнер 2K: файл minimax_h3_open_regenerate_2k_refiner, содержащий только модуль улучшения детализации без LMS и турбо-ускорителей.

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

  • Собирать быстрые пайплайны генерации видео на базе MiniMax-H3 в ComfyUI, экономя время на этапе декодирования кадров через VAE с int8-convrot.
  • Комбинировать квантованные модели ref2va с конвертированными LoRA (PDMD на 2 или 4 шага NFE, DMAD) для ускоренной генерации за меньшее число шагов.
  • Тестировать стилистику файнтюна Singularity v2 в виде отдельной LoRA или подключать open_regenerate_2k_refiner для доработки качества картинки.

Пример

Для максимального прироста скорости в ComfyUI соберите граф с весами формата w4a8 или w6a8 (например, minimax_h3_ref2va_pruned_w6a8_g32.safetensor), подключите int8_convrot VAE и при необходимости добавьте одну из LoRA (например, pdmd_4NFE_lora или minimax_h3_singularity_v2_lora_avg_rank_351_bf16.safetensors).

ПодробнееТребования: ComfyUI 0.31.0 для работы формата w4a8 и ComfyUI 0.36.0 для максимальной скорости int8_convrot VAE.
Скорость: int8_convrot VAE ускоряет декодирование примерно в 2 раза; lynnreal_light_vae_int8_convrot быстрее своей базы примерно в 1.3 раза.
Ограничения: формат w6a8 находится в разработке (WIP); ref lora (разница между fl2va и ref2va) — сугубо экспериментальный файл без подтверждённого сценария.
Детали: извлечённая LoRA Singularity v2 даже при среднем ранге 351 передаёт лишь около 40–50% возможностей исходного полного файнтюна; open_regenerate_2k_refiner не включает LMS и lightx2v turbo.
Discuss 707

Will it run?

Runs in INT8

Fits without quantisation.

  • INT8recommendedweights 21 GB · ready files24 GB
  • 4-bitweights 12 GB14 GB

Tip: go 8-bit.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: 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.

    # Kijai/MiniMax-H3-experimental
    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 Kijai/MiniMax-H3-experimental --local-dir ~/models/MiniMax-H3-experimental
    # The model is in ~/models. How to run it is in the model card (link above).
  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.

  • 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 (2)
    • 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.
  • 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-experimental (quants, finetunes, LoRAs) will show up under the bell.

No known relatives of this model yet. All derivatives on Hugging Face

About the model

Kijai/MiniMax-H3-experimental
Author
Kijai
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

0707

Ask AI about this model

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

Comments