Skip to content
Other

Fizgig MiniMax-H3-Image Training Adapter

обучение LoRA без карикатурных лиц

2 min read

Это специальный тренировочный адаптер для модели генерации изображений MiniMax-H3-Image от автора ShootTheSound, созданный для инструмента Fizgig. При обычном обучении LoRA (небольшой надстройки для дообучения модели) на дистиллированной базе MiniMax-H3-Image лица людей часто искажаются и превращаются в карикатуры. Если подключить этот адаптер в замороженном виде во время тренировки, новая LoRA корректно запоминает внешность с фотографической текстурой кожи и сохраняет качество базовой модели. После завершения обучения адаптер отключается и при самой генерации картинок уже не используется.

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

  • Сохранение фотореализма: предотвращает деградацию черт лица при обучении пользовательских LoRA на MiniMax-H3-Image.
  • Стандартный формат: выполнен как обычный LoRA-файл с ключами kohya (rank 16, охватывает attention и MLP всех 50 блоков).
  • Совместимость: автоматически скачивается и применяется в утилите Fizgig, а также без проблем загружается в ComfyUI.
  • Учёт дистилляции: обучен на 6 дистиллированных уровнях шума базовой модели через отдельные головы.

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

  • Обучить качественную портретную LoRA на базе MiniMax-H3-Image с естественной кожей и без искажений внешности.
  • Использовать файл в ComfyUI в качестве замороженного вспомогательного слоя при запуске собственных пайплайнов тренировки.
  • Автоматизировать процесс дообучения через инструмент Fizgig, который сам подхватит адаптер с нужными параметрами.

Пример

Сценарий использования из карточки:
1. Подключите адаптер в замороженном состоянии (frozen) со значением strength = 1.0 на этапе тренировки вашей LoRA на базе MiniMax-H3-Image.
2. После завершения обучения полностью отключите адаптер при инференсе (генерации изображений), оставив только вашу новую LoRA.

ПодробнееАрхитектура адаптера: LoRA с ключами kohya, rank 16 (слои attention и MLP всех 50 блоков).
Параметры обучения: реальные фото и рендеры MiniMax-H3-Image в разрешении около 1 Мп, оптимизатор AdamW (1e-4), EMA 0.998, 4 000 шагов.
Лицензия: MiniMax-H3-Image Community License Agreement (действуют ограничения раздела V и приложения Exhibit A).
Discuss 2

Will it run?

Won't run

Not enough memory even for 4-bit. Below are GPUs you can rent.

  • BF16weights 188 GB · ready files207 GB
  • FP8 / INT8recommendedweights 94 GB104 GB
  • 4-bitweights 53 GB59 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: Won't fit any home GPU — renting is cheaper.

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

This is a LoRA: counted together with its base model MiniMax-H3-Image.

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.

    # ShootTheSound/Fizgig-MiniMax-H3-Image-Training-Adapter
    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 MiniMaxAI/MiniMax-H3-Image --local-dir ~/models/MiniMax-H3-Image
    hf download ShootTheSound/Fizgig-MiniMax-H3-Image-Training-Adapter --local-dir ~/models/Fizgig-MiniMax-H3-Image-Training-Adapter
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to MiniMax-H3-Image
  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

Requires the base model

MiniMaxAI/MiniMax-H3-Image

This model is a LoRA / adapter. Download the base model first, then load this one on top.

  1. MiniMax-H3family root
  2. MiniMax-H3-Image
  3. Fizgig-MiniMax-H3-Image-Training-Adapter

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

ShootTheSound/Fizgig-MiniMax-H3-Image-Training-Adapter
Author
ShootTheSound
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

02

Ask AI about this model

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

Comments