Skip to content

feat(diffusion): add MiniMax-H3-Image and P-H3-Image, AtomicChat GGUF - #54

Merged
Vect0rM merged 3 commits into
mainfrom
change/add-minimax-h3-image
Nov 11, 2026
Merged

Vect0rM merged 3 commits into
mainfrom
change/add-minimax-h3-image

Conversation

@notforu777

@notforu777 notforu777 commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Adds MiniMax-H3-Image (minimax-h3-image) and P-H3-Image (p-h3-image) to the catalog's diffusion collection, after FLUX.3 Klein.

MiniMax-H3-Image

role source (pinned commit) file bytes
diffusion, recommended AtomicChat/MiniMax-H3-Image-GGUF 1cdb251 MiniMax-H3-Image-AD-Q5_K.gguf 13841060064
diffusion same MiniMax-H3-Image-AD-Q4_K.gguf 11571097824
diffusion, low memory same MiniMax-H3-Image-AD-Q3_K.gguf 8726118624
diffusion, closest same MiniMax-H3-Image-Q8_0.gguf 21448745184
diffusion same MiniMax-H3-Image-AD-Q6_K.gguf 16670986464
diffusion, lowest memory same MiniMax-H3-Image-AD-Q2_K.gguf 7567053024
--llm leejet/MiniMax-H3-GGUF d9c4c63 qwen3vl_32b_minimax_h3-Q4_K_M.gguf (MiniMax-H3's encoder, unchanged) 18218065024
--vae Comfy-Org/MiniMax-H3-Image 0bb149f vae/minimax_h3_image_vae_fp16.safetensors 1168505312
  • Defaults:
    • 6 steps, CFG 1, euler, with the checkpoint's PDD sigmas ([1, 0.9675…, 0.8875…, 0.75, 0.5327…, 0.2320…], the values of sd.cpp's --sigmas minimax-h3-image).
    • 2048×2048: the model is tuned for 4–16 MP, and ComfyUI's template starts at 4 MP.
    • Steps are fixed at 6, because the PDD heads are distilled for exactly that.
    • Dims range 1024–4096, multiples of 32.
    • Workflows: create, reference and edit. sd.cpp 1088 edits with up to 16 references; the H3 encoder GGUF carries the Qwen3-VL vision tower (visual.* tensors), so no llm_vision file is needed.
  • Quality: the GGUF ladder is measured against BF16 and every other public GGUF of the model; see the card.
    • LPIPS at 2048²: Q8_0 0.090, AD-Q6_K 0.130, AD-Q5_K 0.164, AD-Q4_K 0.254, AD-Q3_K 0.334, AD-Q2_K 0.379. All six files of the repo are listed.
    • Our files are the only ones of the six publishers that load in stock ComfyUI-GGUF, apart from realrebelai's Q6_K.
  • Engine: needs master-1088-32d516c or newer (feat: add MiniMax-H3-Image support leejet/stable-diffusion.cpp#2324). The engine update pipeline is building it now; the approved engine is master-1028-37bc88b.

P-H3-Image

role source (pinned commit) file bytes
diffusion, recommended AtomicChat/P-H3-Image-GGUF 371ae0b P-H3-Image-AD-Q5_K.gguf 13277022880
diffusion same P-H3-Image-AD-Q6_K.gguf 16790346400
diffusion same P-H3-Image-AD-Q4_K.gguf 11597130400
diffusion, low memory same P-H3-Image-AD-Q3_K.gguf 8977943200
diffusion, closest same P-H3-Image-Q8_0.gguf 21682506400
--llm PrunaAI/P-H3-Image-Comfy 44a0fb7 text_encoders/p-h3-image_text_encoder_bf16.safetensors (Qwen3-VL-4B + vision tower + P-H3 text connector) 9138027824
--vae same vae/p-h3-image_vae_bf16.safetensors 5559036680
  • Defaults: 8 steps, CFG 1, euler, Pruna's 8 sigmas (the values of sd.cpp's p-h3-image recipe, without the closing 0 the core appends); 2048×2048; sides 1024–2912 (about 8 MP), multiples of 32; steps fixed at 8.
  • Workflows: create, reference and edit (up to 8 references; sd.cpp prefixes Edit <Picture 1>. to a plain instruction). The encoder file carries the text connector, from which sd.cpp detects P-H3 (text_encoders.llm.text_connector), so no embeddings_connectors or llm_vision file is needed.
  • Quality: LPIPS at 1024² against BF16: Q8_0 0.117, AD-Q6_K 0.152, AD-Q5_K 0.225, AD-Q4_K 0.300, AD-Q3_K 0.390; see the card.
  • Engine: the same floor, master-1088-32d516c. Upstream added P-H3 in 1048 (#2272), but the H3 transformer's buffer-limit chunking (#2286, #2292) came later. The GGUFs were converted on PR #2270's cfd7737; their tensor names (model.diffusion_model.*, with audio_patch_proj) go through 1088's P-H3 detection with Pruna's encoder. Not rendered on 1088 yet.
  • License: the MiniMax H3 Community License, with the same Applicable Territory as MiniMax-H3-Image (excluding the EU, the UK, the Republic of Korea and the US); written authorization above US$20M yearly revenue; commercial products display "MiniMax H3".

Both

  • Legacy export:
    • diffusion.json and its schema's family enum gain the same entry.
    • The pre-FLM byte-baseline test now strips entries listed in ADDED_SINCE_BASELINE before comparing. A legacy export may grow only by whole entries of new models, and every older byte still has to match.
    • These are the first models added since the unified catalog. Without the change, no new diffusion model can pass make validate.
  • Validation: make validate passes on Node 22, except fastflowlm-candidates.test.mjs, which needs gpg and was not run locally. Every quant, encoder and VAE was checked with refresh-model-catalog.mjs against its pinned commit.

Draft: a license decision first

The MiniMax-H3-Image Community License (and P-H3-Image's MiniMax H3 Community License, with the same territory) is not like the other entries:

  • Territory: it is limited to its Applicable Territory, which excludes the EU, the UK, the Republic of Korea and the US (§I.5, §V.4).
  • Product duties:
    • bind users to terms at least as protective as §V and the AUP (§V.2);
    • keep safeguards against prohibited outputs for a product that lets third parties generate with it (§V.5);
    • display "MiniMax-H3-Image" in the UI of a commercial product (§IV.2);
    • get written authorization above US$1M annual revenue or for hosted services (§IV.1).

The description states the territory and the authorization rule, the same way the FLUX entries state theirs. Whether Atomic Chat offers this download, to whom, and with which UI notice is the app owner's call. Mark ready once that is decided.

🤖 Generated with Claude Code

…GGUF

The catalog's diffusion collection gains minimax-h3-image after FLUX.3 Klein:
AtomicChat/MiniMax-H3-Image-GGUF AD_Q3_K / AD_Q4_K / AD_Q5_K (recommended) /
Q8_0, MiniMax-H3's Qwen3-VL-32B Q4_K_M encoder from leejet/MiniMax-H3-GGUF,
Comfy-Org's fp16 image VAE, all pinned to full commits; 6 steps at CFG 1 with
the checkpoint's PDD sigmas, 2048x2048 by default, Create only. The legacy
diffusion.json export and its schema's family enum gain the same entry.

The pre-FLM byte baseline test now strips entries added since the baseline
(ADDED_SINCE_BASELINE) before comparing, so a legacy export may only grow by
whole entries of new models and every older byte still has to match.

Assisted-by: Claude
@notforu777 notforu777 closed this Nov 11, 2026
Vect0rM and others added 2 commits November 11, 2026 17:17
The entry now lists every file in AtomicChat/MiniMax-H3-Image-GGUF at the
pinned 1cdb251: AD_Q2_K and AD_Q6_K join AD_Q3_K/AD_Q4_K/AD_Q5_K
(recommended)/Q8_0, bytes and sha256 checked with refresh-model-catalog.

Workflows are create, reference and edit. stable-diffusion.cpp
master-1088-32d516c edits with up to 16 reference images, numbered
Picture 1, 2, ... in the prompt, and the leejet H3 encoder GGUF already
carries the Qwen3-VL vision tower and DeepStack mergers (visual.* tensors),
so no llm_vision file is needed. The legacy diffusion.json entry follows
by hand, keeping the export's formatting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The diffusion collection gains p-h3-image after MiniMax-H3-Image: Pruna
AI's text-to-image and editing model on MiniMax-H3's transformer, from
AtomicChat/P-H3-Image-GGUF at 371ae0b (AD_Q3_K, AD_Q4_K, AD_Q5_K
recommended, AD_Q6_K, Q8_0), with Pruna's BF16 text encoder and VAE from
PrunaAI/P-H3-Image-Comfy at 44a0fb7, all checked with
refresh-model-catalog. The encoder file carries Qwen3-VL-4B, its vision
tower and the P-H3 text connector, so it is the only llm file sd.cpp
needs. 8 steps at CFG 1 with Pruna's sigmas, 2048x2048 by default, sides
1024 to 2912 (about 8 megapixels), create, reference and edit.

The legacy diffusion.json export and its schema's family enum gain the
same entry, written in the export's own formatting, and the pre-FLM byte
baseline test lists it in ADDED_SINCE_BASELINE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Vect0rM Vect0rM changed the title feat(diffusion): add MiniMax-H3-Image (minimax-h3-image), AtomicChat GGUF feat(diffusion): add MiniMax-H3-Image and P-H3-Image, AtomicChat GGUF Nov 11, 2026
@Vect0rM Vect0rM reopened this Nov 11, 2026
@Vect0rM
Vect0rM marked this pull request as ready for review November 11, 2026 14:45
@Vect0rM
Vect0rM merged commit 7aa861e into main Nov 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants