Repository navigation
Conversation
Uxito-Ada
force-pushed
the
feat/minimax-h3-image
branch
from
November 24, 2026 01:55
19ad6f4 to
4535fb6
Compare
Add MiniMax H3 Image text-to-image and reference-image editing through the standard TeleFuser pipeline, examples and cookbook. Reuse H3 components with pure TP and hybrid SP/TP, native FP8 GEMMs and FP8 Sol attention. Include resident encoder/DiT/VAE execution, independently sharded encoding, parallel VAE tiles and bounded CUDA graph replay. Preserve the measured Sol statistics, padding and prefix optimizations and their native GPU coverage. Consolidate the reviewed PR implementation into one linear topic commit so GitHub can rebase it onto main without replaying historical merge conflicts. The pre-rebase history and benchmark commit identities are backed up locally.
Uxito-Ada
force-pushed
the
feat/minimax-h3-image
branch
from
November 26, 2026 06:22
9f9dd40 to
fadab3d
Compare
Collaborator
Author
Clarification of Sol Auto
|
This branch has not been deployed
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.
Summary
Results
Performance
MiniMaxAI/MiniMax-H3-ImageTeleFuser vs vLLM-Omni:
The same-process dense/eager-Sol comparison reduces latency by 11.0%. The auto row is a separate final launch confirming the new dispatch policy; its difference from eager is not attributed solely to the guard. This supports the short-context/extra-pass explanation, not a universal speedup claim. Auto KV splitting resolves to two here, versus one at 2048², so this is not an isolated sequence-length-only experiment.
TeleFuser Ablation:
Additional vLLM-omni Performance Reproduction:
These are actual same-host H100 measurements:
Use
--sp 2 --tp 2for hybrid. For dense BF16 omit--fp8 --sol-fp8; for dense FP8 omit--sol-fp8.--no-vae-parallel,--no-vae-cuda-graphand--text-encoder-tpexpose ablations. No charts, benchmark outputs or new production service/environment interfaces are added to the repository.Generated outputs
Same-input text-to-image configuration comparison
Both outputs below use the same snow-scene prompt, seed 71, six PDD steps and 2048×2048 output, with no reference image. Only the execution configuration differs.
BF16, one GPU:
TP2 + FP8 GEMM + BF16 Sol, two GPUs:
Reference-image editing demonstration — different task and instruction
Input reference: the BF16 snowy-forest image above.
Edit instruction: "Change the snowy forest in <Picture 1> into an autumn forest with orange and golden leaves, preserving the red fox and the photographic composition."
BF16 edited result (2048×2048):
The autumn leaves are explicitly requested by this edit instruction. This image demonstrates reference editing and is not a BF16/FP8 output-equivalence comparison. Its historical pipeline time is 97.237 s and is excluded from the text-to-image performance chart.
Tests
Architecture support
The image DiT extends the maintained MiniMax H3 DiT for SP/TP and attention. Only the absent audio branches and step-dependent PDD output projection differ. The conditioner extends the existing H3 encoder and preserves rotary precision; the released image VAE has its own architecture and checkpoint format.
Includes
PPL_CONFIG,get_pipeline,run,run_with_file, and--gpu_numinexamples/minimax_h3_image/minimax_h3_image_t2i_h100.py.