Repository navigation
feat(diffusion): add MiniMax-H3-Image and P-H3-Image, AtomicChat GGUF - #54
Merged
Merged
Conversation
…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
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
marked this pull request as ready for review
November 11, 2026 14:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds MiniMax-H3-Image (
minimax-h3-image) and P-H3-Image (p-h3-image) to the catalog'sdiffusioncollection, after FLUX.3 Klein.MiniMax-H3-Image
1cdb251MiniMax-H3-Image-AD-Q5_K.ggufMiniMax-H3-Image-AD-Q4_K.ggufMiniMax-H3-Image-AD-Q3_K.ggufMiniMax-H3-Image-Q8_0.ggufMiniMax-H3-Image-AD-Q6_K.ggufMiniMax-H3-Image-AD-Q2_K.gguf--llmd9c4c63qwen3vl_32b_minimax_h3-Q4_K_M.gguf(MiniMax-H3's encoder, unchanged)--vae0bb149fvae/minimax_h3_image_vae_fp16.safetensors[1, 0.9675…, 0.8875…, 0.75, 0.5327…, 0.2320…], the values of sd.cpp's--sigmas minimax-h3-image).visual.*tensors), so nollm_visionfile is needed.master-1088-32d516cor newer (feat: add MiniMax-H3-Image support leejet/stable-diffusion.cpp#2324). The engine update pipeline is building it now; the approved engine ismaster-1028-37bc88b.P-H3-Image
371ae0bP-H3-Image-AD-Q5_K.ggufP-H3-Image-AD-Q6_K.ggufP-H3-Image-AD-Q4_K.ggufP-H3-Image-AD-Q3_K.ggufP-H3-Image-Q8_0.gguf--llm44a0fb7text_encoders/p-h3-image_text_encoder_bf16.safetensors(Qwen3-VL-4B + vision tower + P-H3 text connector)--vaevae/p-h3-image_vae_bf16.safetensorsp-h3-imagerecipe, without the closing 0 the core appends); 2048×2048; sides 1024–2912 (about 8 MP), multiples of 32; steps fixed at 8.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 noembeddings_connectorsorllm_visionfile is needed.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'scfd7737; their tensor names (model.diffusion_model.*, withaudio_patch_proj) go through 1088's P-H3 detection with Pruna's encoder. Not rendered on 1088 yet.Both
diffusion.jsonand its schema's family enum gain the same entry.ADDED_SINCE_BASELINEbefore comparing. A legacy export may grow only by whole entries of new models, and every older byte still has to match.make validate.make validatepasses on Node 22, exceptfastflowlm-candidates.test.mjs, which needsgpgand was not run locally. Every quant, encoder and VAE was checked withrefresh-model-catalog.mjsagainst 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:
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