Instructions to use Efficient-Large-Model/LongLive-Plug-MiniMax-H3-cfg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Efficient-Large-Model/LongLive-Plug-MiniMax-H3-cfg with PEFT:
Task type is invalid.
- Inference
- Notebooks
- Google Colab
- Kaggle
Simplify model card and clarify recommended adapter usage
Browse filesFiles changed (3)
- ELM_TRANSFER.json+4-3
- README.md+6-121
- SHA256SUMS.txt+1-1
67 unmodified lines68697071727374757 unmodified lines838485868767 unmodified lines}},"modified_files": {"README.md": "3de5dc533f9027b7122056bc56d3050150f763508c0784e756f64b6f93b55f01","SHA256SUMS.txt": "c5f4e43ac79bf298025e35f75c5e1dbb5b2d358c5d932ce104882e244382f548"},"unchanged_weight_files": {"adapter_model.safetensors": {7 unmodified lines"sha256": "5dd2d74cca78a05f38e2f8674fd74bac279a9a58af3c18f2b4ee6fd7c578c0db"}},"license_and_notice_preserved": true}67 unmodified lines68697071727374757 unmodified lines83848586878867 unmodified lines}},"modified_files": {"README.md": "740ece2cb668f54f277e7ec40b8b5160bb56d19a09b5e05b0c2ce9a23a25e923","SHA256SUMS.txt": "ff7547fbd2299dfec056b52de62c051c060ec0cf7ef0b22e428df0431f203875"},"unchanged_weight_files": {"adapter_model.safetensors": {7 unmodified lines"sha256": "5dd2d74cca78a05f38e2f8674fd74bac279a9a58af3c18f2b4ee6fd7c578c0db"}},"license_and_notice_preserved": true,"model_card_scope": "Purpose and adapter usage only; training artifacts unchanged."}
7 unmodified lines891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441457 unmodified linespipeline_tag: text-to-videomodel_name: LongLive-Plug-MiniMax-H3-cfgtags:- minimax-h3- text-to-video- text-to-audio-video- audio-video-generation- synchronized-audio-video- lora- distillation- cfg-distillation- rank128- sglang---# LongLive-Plug-MiniMax-H3-cfg> **License / territory notice:** This adapter is a MiniMax-H3 Model Derivative> and is governed by the included MiniMax H3 Community License Agreement. Read> `LICENSE` and `NOTICE` before downloading, using, or redistributing it. The> upstream agreement contains territorial and acceptable-use restrictions.This is a **CFG-only distillation LoRA** for `MiniMaxAI/MiniMax-H3`. It wastrained for **250 optimizer steps** against full teacher trajectories generatedwith **CFG = 3.0**. Both video and native audio were supervised, with an**audio:video training-loss ratio of 2:1**.This release distills the effect of classifier-free guidance into apositive-conditioned LoRA branch. It is not a few-step sampler: checkpoint-000250 refers to trainingstep 250, while the evaluated inferenceschedule still used the native 49 model evaluations.## Checkpoint identity| Item | Value || --- | --- || Base model | `MiniMaxAI/MiniMax-H3` || Canonical training revision | `fa9c8ab1eaa21c8ae25e7e40b83b2e6002f340af` || Distillation target | `v_uncond + 3 × (v_cond - v_uncond)` || Teacher CFG | `3.0` || Training checkpoint | `checkpoint-000250` / 250 optimizer steps || LoRA | rank 128, alpha 128, dropout 0, FP32 || Supervision | video + native audio; loss weights audio:video = 2:1 || Scope | 50 main transformer blocks + 2 token-refiner blocks || PEFT targets | q, k, v, attention out, FFN up/gate, FFN down; 312 modules || Student conditioning | positive prompt only; no external CFG branch || Base weights / critic | not included / not used |The trained operating point is **LoRA scale 1.0**. Other scales are useful forexploration, but they are extrapolations and should not be interpreted as alinear or exact replacement for numerical CFG scales.## Files and formatsTwo losslessly equivalent layouts are included:- `adapter_model.safetensors` and `adapter_config.json`: the nativeDiffusers/PEFT checkpoint with 624 tensors over 312 unfused target modules.- `sglang/adapter_model.safetensors` and `sglang/adapter_config.json`: the fusedMiniMax-H3 SGLang layout used for the reported inference sweep, with 416tensors over 208 fused target modules (`qkv_proj`, `out_proj`, `fc1`, `fc2`).- `training_config.json`, `evaluation_summary.json`, and`release_manifest.json`: sanitized training, validation, and artifactprovenance. No hostnames, cluster paths, optimizer state, or training data areincluded.Exact sizes and SHA-256 digests are recorded in `SHA256SUMS.txt` and`release_manifest.json`.## SGLang inferenceThe fused layout was evaluated against SGLang upstream commit`7f6a2e2b5038fad550f718461a9837eb13edc60d` plus a local fused-rank loader fixthat infers rank from `lora_A.shape[-2]`. Stock SGLang compatibility has notbeen established; using an unpatched loader can apply the wrong rank scaling.The command below documents the tested serving contract. After downloading therepository, point `--lora-path` at the `sglang/` directory:```bashsglang serve \--model-path MiniMaxAI/MiniMax-H3 \--revision fa9c8ab1eaa21c8ae25e7e40b83b2e6002f340af \--model-variant fl2va \--lora-path ./sglang \--lora-weight-name adapter_model.safetensors \--lora-nickname cfg3_student_step250 \--lora-scale 1.0 \--lora-merge-mode merge \--lora-target-modules qkv_proj out_proj fc1 fc2```Use no separate external CFG branch when testing the distilled operating point.Hardware-parallelism and output arguments are deployment-specific.The root checkpoint was produced with the MiniMax-H3 Diffusers integration atcommit `b88b343e71e38bd404f7f082ac4a2cbde63713e1`. Its standalone generic`pipe.load_lora_weights()` path was not part of this audit.## Validation- Training completed all 250 optimizer steps; the completion receipt passedfinite-loss, positive-gradient, LoRA-update, optimizer-state, student-only,video-supervision, and audio-supervision gates.- The PEFT-to-SGLang conversion passed bit-exact checks for 52 blocks × 8 tensormappings, and the source checkpoint remained unchanged.- The formal LoRA-scale sweep produced 204/204 technically valid audio-videooutputs across 34 prompts × 6 scales (`0.5, 1, 2, 3, 4, 5`), with zero auditerrors or warnings and no external CFG in any request.On the paired teacher-CFG diagnostic axis, scale 1.0 was closest to the CFG=1endpoint for all 34 cases, with median implied CFG 1.244. The response alsosaturated at larger LoRA scales. Accordingly, this checkpoint should bedescribed as **trained toward a CFG=3 teacher**, not as an empirically exactreplacement for CFG=3.These checks establish artifact integrity and execution coverage; they are notan absolute or universal perceptual-quality guarantee.## Revision provenanceTraining is canonically pinned to `fa9c8ab1…`. A later forced-CFG inferenceworkflow used snapshot `5d9b308a…`; the 61-file Base-T2VA payload materializedfrom that cache was fully digest-verified against the training revision'smanifest. The adapter metadata therefore correctly retains `fa9c8ab1…` as itsbase revision.## LicenseThis repository contains a Model Derivative of MiniMax-H3 and is distributedunder the included **MiniMax H3 Community License Agreement**. The base model isavailable at <https://huggingface.co/MiniMaxAI/MiniMax-H3>.## ELM release identityThis repository is the renamed ELM copy of the selected source checkpoint.Weights, training configuration, runtime source files and license noticesare preserved. Historical provenance files retain their original sourceidentifiers; see `ELM_TRANSFER.json` for the source revision and file hashes.7 unmodified lines891011121314151617181920212223242526272829307 unmodified linespipeline_tag: text-to-videomodel_name: LongLive-Plug-MiniMax-H3-cfgtags:- lora- distillation- cfg-distillation---# LongLive-Plug-MiniMax-H3-cfgA LoRA adapter for [MiniMax-H3](https://huggingface.co/MiniMaxAI/MiniMax-H3) that distills classifier-free guidance into conditional-only audio-video generation, reducing the need for a separate unconditional inference branch.This adapter does not provide few-step acceleration on its own.This is an adapter and requires the corresponding base model.## UsageFor now, use this adapter and the [few-step LoRA](https://huggingface.co/Efficient-Large-Model/LongLive-Plug-MiniMax-H3-few-step) **separately**. Combined use of the two MiniMax-H3 LoRAs is not recommended at present.## LicenseUse is governed by the [MiniMax H3 Community License](LICENSE). See [NOTICE](NOTICE).
3 unmodified lines456789103 unmodified linesd611ea65d5180a8e8ed2916a6654051625b42003a7203d25b684d1250d26e88d sglang/adapter_config.json59b99642b95ea21630e311198ddbfffbfe05aadba0c2f5d884cbdf4efcc90f44 LICENSEe63a1b682d13c9c6475e657e6aabbddabee21d5c0d5651aa3231c63ba42a6967 NOTICE3de5dc533f9027b7122056bc56d3050150f763508c0784e756f64b6f93b55f01 README.md9cf643c4d9343d3a92077cfe025ea7abcb8ae1e2a46c1d7a9c1010b3dfa62086 training_config.json849bb2efddcd39af49e9efc9c896d2289f757a797603cdd95473110f3950f85d evaluation_summary.json015ba8152d543d1d74e514901343fcb9bcf61559e1f229bd657985d76deefa05 release_manifest.json3 unmodified lines456789103 unmodified linesd611ea65d5180a8e8ed2916a6654051625b42003a7203d25b684d1250d26e88d sglang/adapter_config.json59b99642b95ea21630e311198ddbfffbfe05aadba0c2f5d884cbdf4efcc90f44 LICENSEe63a1b682d13c9c6475e657e6aabbddabee21d5c0d5651aa3231c63ba42a6967 NOTICE740ece2cb668f54f277e7ec40b8b5160bb56d19a09b5e05b0c2ce9a23a25e923 README.md9cf643c4d9343d3a92077cfe025ea7abcb8ae1e2a46c1d7a9c1010b3dfa62086 training_config.json849bb2efddcd39af49e9efc9c896d2289f757a797603cdd95473110f3950f85d evaluation_summary.json015ba8152d543d1d74e514901343fcb9bcf61559e1f229bd657985d76deefa05 release_manifest.json
ELM_TRANSFER.json+4-3
README.md+6-121
SHA256SUMS.txt+1-1