diff --git a/README.md b/README.md index 4c9b5afa9cc8db6ea379b1172a71377fe259b163..8e47077a15e4fa5e0e0fde92fb2a7561d0a2e702 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,150 @@ --- -title: Minimax H3 Ref2va -emoji: ๐Ÿ‘ -colorFrom: blue -colorTo: red +title: MiniMax-H3 references (split, bf16) +emoji: ๐ŸŽญ +colorFrom: pink +colorTo: purple sdk: gradio -sdk_version: 6.22.0 -python_version: '3.12' +sdk_version: 6.20.0 app_file: app.py pinned: false +short_description: Unquantized MiniMax-H3 ref2va with AoTI blocks, split in two +suggested_hardware: zero-a10g --- -Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference +# MiniMax-H3 โ€” omni-references, unquantized, split across two Spaces + +Joint video **and** soundtrack out of a single denoising pass, conditioned on an ordered list of image, video and +audio references, at **bfloat16 with no quantization anywhere**. + +This Space is the denoising half of the `ref2va` task: the 61.73 GiB `transformer_ref` partition and the two +autoencoders. The 62.14 GiB Qwen3-VL conditioner runs in +[`minimax-h3-conditioner`](https://huggingface.co/spaces/diffusers-internal-dev/minimax-h3-conditioner), which this +Space calls over the gradio API for every request โ€” the same conditioner Space, and the same resident weights, that +the keyframe half [`minimax-h3-generator`](https://huggingface.co/spaces/diffusers-internal-dev/minimax-h3-generator) +uses. + +## Why split + +MiniMax-H3 is 195.9 GiB in bfloat16 and a ZeroGPU Space is evicted at **150 GB of storage**. An unquantized single +Space is therefore impossible. Cut the `MiniMaxH3Ref2VABlocks` sequence at its `text_encoder` step and both halves +fit unquantized: + +| Space | Subfolders | Download | Resident | +|---|---|---|---| +| [`minimax-h3-conditioner`](https://huggingface.co/spaces/diffusers-internal-dev/minimax-h3-conditioner) | `text_encoder/` + `tokenizer/` + `processor/` | 66.7 GB | 62.15 GiB bf16 | +| this one | `transformer_ref/` + `vae/` + `audio_vae/` | 77.3 GB | 61.73 GiB bf16 + 10.43 GiB float32 | + +## References + +A request carries up to **12** references โ€” at most 9 images, 3 videos and 3 audio clips โ€” **in the order the model +reads them**. The order is semantic: it numbers the labels of MiniMax-H3's prompt presentation (``, +`