Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
522 changes: 522 additions & 0 deletions docs/cookbook/diffusion/MiniMax/MiniMax-H3-Image.mdx

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions docs/cookbook/diffusion/MiniMax/MiniMax-H3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ The same FL2VA / Ref2VA split applies in
Review the license and usage terms in the MiniMax-H3 model card before production or commercial use. SGLang support does not grant additional model usage rights.
</Warning>

### Image checkpoints

For the separate six-step text-to-image and editing checkpoint, see
[MiniMax-H3-Image](/cookbook/diffusion/MiniMax/MiniMax-H3-Image).

## 3. Deployment details

The builder accepts legal custom GPU counts and topologies, marking them
Expand Down
6 changes: 6 additions & 0 deletions docs/cookbook/diffusion/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ Video models denoise a bounded latent video sequence for each request. Use these
href="/cookbook/diffusion/MOVA/MOVA"
img="/cards/logos/mova.png"
/>
<Card
title="MiniMax-H3-Image"
mode="card"
href="/cookbook/diffusion/MiniMax/MiniMax-H3-Image"
img="/cards/logos/minimax.png"
/>
<Card
title="MiniMax-H3"
mode="card"
Expand Down
3 changes: 2 additions & 1 deletion docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1662,7 +1662,8 @@
{
"group": "MiniMax",
"pages": [
"cookbook/diffusion/MiniMax/MiniMax-H3"
"cookbook/diffusion/MiniMax/MiniMax-H3",
"cookbook/diffusion/MiniMax/MiniMax-H3-Image"
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/sglang-diffusion/api/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ Use `sglang generate --help` and `sglang serve --help` for the full argument lis
- `--served-model-name {NAME}`: stable model name exposed by serving APIs. Defaults to `--model-id` when set, otherwise `--model-path`.
- `--model-variant {NAME}`: semantic checkpoint variant to load when one model repository contains multiple weight partitions. The pipeline maps this stable name to the repository layout before loading; for example, MiniMax-H3 accepts `fl2va` and `ref2va`, or `hybrid` with explicit merged transformer weights to serve all three tasks (see the [H3 cookbook](/cookbook/diffusion/MiniMax/MiniMax-H3#singularity-hybrid-weights)). This is a server/load-time choice, unlike a request's `task`.
- `--minimax-h3-adaln-cache-path {FILE}`: advanced MiniMax-H3-only inference cache. It replaces the checkpoint's AdaLN projection weights with precomputed outputs and only accepts requests whose exact FP32 timestep plan is included in the cache. It requires unquantized weights and the matching model variant.
- `--minimax-h3-adaln-online {true,false}`: rebuild MiniMax-H3 AdaLN outputs from the checkpoint on demand instead of keeping the 24.2 GiB of `adaln_proj` weights resident. Works with any step count or schedule; requires the unquantized native-layout checkpoint. Built plans live in a GPU slab with per-plan LRU eviction and, by default, a pinned-host cache so previously seen schedules swap back in over PCIe instead of re-reading the checkpoint.
- `--minimax-h3-adaln-plan-width {N}`: widest timestep plan the online slab is sized for (default 4 covers every task; t2va needs 2, fl2va 3).
- `--minimax-h3-adaln-host-cache-gb {GB}`: pinned host memory per rank caching built AdaLN plans (default 8; 0 disables). A 50-step schedule needs about 0.9 (t2va) / 1.33 (fl2va) / 1.77 (ref2va) GB; over-capacity plan sets simply recompute. Expert escape hatches (GPU slot count, experimental fp32 rebuild) are the `SGLANG_DIFFUSION_MINIMAX_H3_ADALN_*` environment variables.
- `--minimax-h3-adaln-online {true,false}`: rebuild MiniMax-H3 AdaLN outputs from the checkpoint on demand instead of keeping the 24.2 GiB of `adaln_proj` weights resident. Video schedules may vary; image releases retain their fixed PDD schedule. Requires the unquantized native-layout checkpoint. Built plans live in a GPU slab with per-plan LRU eviction; the optional pinned-host cache lets evicted schedules swap back in over PCIe instead of re-reading the checkpoint.
- `--minimax-h3-adaln-plan-width {N}`: widest timestep plan the online slab is sized for (Auto: 4 for video, 2 for image; t2va needs 2, fl2va 3).
- `--minimax-h3-adaln-host-cache-gb {GB}`: pinned host memory per rank caching built AdaLN plans (Auto: 8 GB, or 0 for image releases whose fixed plans all fit on the GPU). Explicit values are preserved; 0 disables the tier. A 50-step schedule needs about 0.9 (t2va) / 1.33 (fl2va) / 1.77 (ref2va) GB; over-capacity plan sets simply recompute. Expert escape hatches (GPU slot count, experimental fp32 rebuild) are the `SGLANG_DIFFUSION_MINIMAX_H3_ADALN_*` environment variables.
- `--model-subfolder {PATH}`: advanced direct override for a component subfolder inside the model repository. Prefer `--model-variant` when the pipeline exposes semantic routing. If both are supplied, they must resolve to the same weight partition.
- `--lora-path {PATH}` and `--lora-nickname {NAME}`: load a LoRA adapter from a local path, Hugging Face repo/subfolder, or exact Hub file URL
- `--lora-weight-name {FILE}`: select one adapter file from a repository that contains multiple LoRA revisions. The Hub download is filtered to that file plus JSON metadata, so unused weights are not downloaded.
Expand Down
Loading
Loading