Andyson commited on
Commit
de1f4e8
·
verified ·
1 Parent(s): ccc0039

Simplify model card and clarify recommended adapter usage

Browse files
Files changed (3) hide show
  1. ELM_TRANSFER.json +4 -3
  2. README.md +6 -121
  3. SHA256SUMS.txt +1 -1
ELM_TRANSFER.json CHANGED
@@ -68,8 +68,8 @@
68
  }
69
  },
70
  "modified_files": {
71
- "README.md": "3de5dc533f9027b7122056bc56d3050150f763508c0784e756f64b6f93b55f01",
72
- "SHA256SUMS.txt": "c5f4e43ac79bf298025e35f75c5e1dbb5b2d358c5d932ce104882e244382f548"
73
  },
74
  "unchanged_weight_files": {
75
  "adapter_model.safetensors": {
@@ -83,5 +83,6 @@
83
  "sha256": "5dd2d74cca78a05f38e2f8674fd74bac279a9a58af3c18f2b4ee6fd7c578c0db"
84
  }
85
  },
86
- "license_and_notice_preserved": true
 
87
  }
 
68
  }
69
  },
70
  "modified_files": {
71
+ "README.md": "740ece2cb668f54f277e7ec40b8b5160bb56d19a09b5e05b0c2ce9a23a25e923",
72
+ "SHA256SUMS.txt": "ff7547fbd2299dfec056b52de62c051c060ec0cf7ef0b22e428df0431f203875"
73
  },
74
  "unchanged_weight_files": {
75
  "adapter_model.safetensors": {
 
83
  "sha256": "5dd2d74cca78a05f38e2f8674fd74bac279a9a58af3c18f2b4ee6fd7c578c0db"
84
  }
85
  },
86
+ "license_and_notice_preserved": true,
87
+ "model_card_scope": "Purpose and adapter usage only; training artifacts unchanged."
88
  }
README.md CHANGED
@@ -8,138 +8,23 @@ library_name: peft
8
  pipeline_tag: text-to-video
9
  model_name: LongLive-Plug-MiniMax-H3-cfg
10
  tags:
11
- - minimax-h3
12
- - text-to-video
13
- - text-to-audio-video
14
- - audio-video-generation
15
- - synchronized-audio-video
16
  - lora
17
  - distillation
18
  - cfg-distillation
19
- - rank128
20
- - sglang
21
  ---
22
 
23
  # LongLive-Plug-MiniMax-H3-cfg
24
 
25
- > **License / territory notice:** This adapter is a MiniMax-H3 Model Derivative
26
- > and is governed by the included MiniMax H3 Community License Agreement. Read
27
- > `LICENSE` and `NOTICE` before downloading, using, or redistributing it. The
28
- > upstream agreement contains territorial and acceptable-use restrictions.
29
 
30
- This is a **CFG-only distillation LoRA** for `MiniMaxAI/MiniMax-H3`. It was
31
- trained for **250 optimizer steps** against full teacher trajectories generated
32
- with **CFG = 3.0**. Both video and native audio were supervised, with an
33
- **audio:video training-loss ratio of 2:1**.
34
 
35
- This release distills the effect of classifier-free guidance into a
36
- positive-conditioned LoRA branch. It is not a few-step sampler: checkpoint-000250 refers to training
37
- step 250, while the evaluated inference
38
- schedule still used the native 49 model evaluations.
39
 
40
- ## Checkpoint identity
41
 
42
- | Item | Value |
43
- | --- | --- |
44
- | Base model | `MiniMaxAI/MiniMax-H3` |
45
- | Canonical training revision | `fa9c8ab1eaa21c8ae25e7e40b83b2e6002f340af` |
46
- | Distillation target | `v_uncond + 3 × (v_cond - v_uncond)` |
47
- | Teacher CFG | `3.0` |
48
- | Training checkpoint | `checkpoint-000250` / 250 optimizer steps |
49
- | LoRA | rank 128, alpha 128, dropout 0, FP32 |
50
- | Supervision | video + native audio; loss weights audio:video = 2:1 |
51
- | Scope | 50 main transformer blocks + 2 token-refiner blocks |
52
- | PEFT targets | q, k, v, attention out, FFN up/gate, FFN down; 312 modules |
53
- | Student conditioning | positive prompt only; no external CFG branch |
54
- | Base weights / critic | not included / not used |
55
-
56
- The trained operating point is **LoRA scale 1.0**. Other scales are useful for
57
- exploration, but they are extrapolations and should not be interpreted as a
58
- linear or exact replacement for numerical CFG scales.
59
-
60
- ## Files and formats
61
-
62
- Two losslessly equivalent layouts are included:
63
-
64
- - `adapter_model.safetensors` and `adapter_config.json`: the native
65
- Diffusers/PEFT checkpoint with 624 tensors over 312 unfused target modules.
66
- - `sglang/adapter_model.safetensors` and `sglang/adapter_config.json`: the fused
67
- MiniMax-H3 SGLang layout used for the reported inference sweep, with 416
68
- tensors over 208 fused target modules (`qkv_proj`, `out_proj`, `fc1`, `fc2`).
69
- - `training_config.json`, `evaluation_summary.json`, and
70
- `release_manifest.json`: sanitized training, validation, and artifact
71
- provenance. No hostnames, cluster paths, optimizer state, or training data are
72
- included.
73
-
74
- Exact sizes and SHA-256 digests are recorded in `SHA256SUMS.txt` and
75
- `release_manifest.json`.
76
-
77
- ## SGLang inference
78
-
79
- The fused layout was evaluated against SGLang upstream commit
80
- `7f6a2e2b5038fad550f718461a9837eb13edc60d` plus a local fused-rank loader fix
81
- that infers rank from `lora_A.shape[-2]`. Stock SGLang compatibility has not
82
- been established; using an unpatched loader can apply the wrong rank scaling.
83
- The command below documents the tested serving contract. After downloading the
84
- repository, point `--lora-path` at the `sglang/` directory:
85
-
86
- ```bash
87
- sglang serve \
88
- --model-path MiniMaxAI/MiniMax-H3 \
89
- --revision fa9c8ab1eaa21c8ae25e7e40b83b2e6002f340af \
90
- --model-variant fl2va \
91
- --lora-path ./sglang \
92
- --lora-weight-name adapter_model.safetensors \
93
- --lora-nickname cfg3_student_step250 \
94
- --lora-scale 1.0 \
95
- --lora-merge-mode merge \
96
- --lora-target-modules qkv_proj out_proj fc1 fc2
97
- ```
98
-
99
- Use no separate external CFG branch when testing the distilled operating point.
100
- Hardware-parallelism and output arguments are deployment-specific.
101
-
102
- The root checkpoint was produced with the MiniMax-H3 Diffusers integration at
103
- commit `b88b343e71e38bd404f7f082ac4a2cbde63713e1`. Its standalone generic
104
- `pipe.load_lora_weights()` path was not part of this audit.
105
-
106
- ## Validation
107
-
108
- - Training completed all 250 optimizer steps; the completion receipt passed
109
- finite-loss, positive-gradient, LoRA-update, optimizer-state, student-only,
110
- video-supervision, and audio-supervision gates.
111
- - The PEFT-to-SGLang conversion passed bit-exact checks for 52 blocks × 8 tensor
112
- mappings, and the source checkpoint remained unchanged.
113
- - The formal LoRA-scale sweep produced 204/204 technically valid audio-video
114
- outputs across 34 prompts × 6 scales (`0.5, 1, 2, 3, 4, 5`), with zero audit
115
- errors or warnings and no external CFG in any request.
116
-
117
- On the paired teacher-CFG diagnostic axis, scale 1.0 was closest to the CFG=1
118
- endpoint for all 34 cases, with median implied CFG 1.244. The response also
119
- saturated at larger LoRA scales. Accordingly, this checkpoint should be
120
- described as **trained toward a CFG=3 teacher**, not as an empirically exact
121
- replacement for CFG=3.
122
-
123
- These checks establish artifact integrity and execution coverage; they are not
124
- an absolute or universal perceptual-quality guarantee.
125
-
126
- ## Revision provenance
127
-
128
- Training is canonically pinned to `fa9c8ab1…`. A later forced-CFG inference
129
- workflow used snapshot `5d9b308a…`; the 61-file Base-T2VA payload materialized
130
- from that cache was fully digest-verified against the training revision's
131
- manifest. The adapter metadata therefore correctly retains `fa9c8ab1…` as its
132
- base revision.
133
 
134
  ## License
135
 
136
- This repository contains a Model Derivative of MiniMax-H3 and is distributed
137
- under the included **MiniMax H3 Community License Agreement**. The base model is
138
- available at <https://huggingface.co/MiniMaxAI/MiniMax-H3>.
139
-
140
- ## ELM release identity
141
-
142
- This repository is the renamed ELM copy of the selected source checkpoint.
143
- Weights, training configuration, runtime source files and license notices
144
- are preserved. Historical provenance files retain their original source
145
- identifiers; see `ELM_TRANSFER.json` for the source revision and file hashes.
 
8
  pipeline_tag: text-to-video
9
  model_name: LongLive-Plug-MiniMax-H3-cfg
10
  tags:
 
 
 
 
 
11
  - lora
12
  - distillation
13
  - cfg-distillation
 
 
14
  ---
15
 
16
  # LongLive-Plug-MiniMax-H3-cfg
17
 
18
+ A 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.
 
 
 
19
 
20
+ This adapter does not provide few-step acceleration on its own.
 
 
 
21
 
22
+ This is an adapter and requires the corresponding base model.
 
 
 
23
 
24
+ ## Usage
25
 
26
+ For 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.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
  ## License
29
 
30
+ Use is governed by the [MiniMax H3 Community License](LICENSE). See [NOTICE](NOTICE).
 
 
 
 
 
 
 
 
 
SHA256SUMS.txt CHANGED
@@ -4,7 +4,7 @@
4
  d611ea65d5180a8e8ed2916a6654051625b42003a7203d25b684d1250d26e88d sglang/adapter_config.json
5
  59b99642b95ea21630e311198ddbfffbfe05aadba0c2f5d884cbdf4efcc90f44 LICENSE
6
  e63a1b682d13c9c6475e657e6aabbddabee21d5c0d5651aa3231c63ba42a6967 NOTICE
7
- 3de5dc533f9027b7122056bc56d3050150f763508c0784e756f64b6f93b55f01 README.md
8
  9cf643c4d9343d3a92077cfe025ea7abcb8ae1e2a46c1d7a9c1010b3dfa62086 training_config.json
9
  849bb2efddcd39af49e9efc9c896d2289f757a797603cdd95473110f3950f85d evaluation_summary.json
10
  015ba8152d543d1d74e514901343fcb9bcf61559e1f229bd657985d76deefa05 release_manifest.json
 
4
  d611ea65d5180a8e8ed2916a6654051625b42003a7203d25b684d1250d26e88d sglang/adapter_config.json
5
  59b99642b95ea21630e311198ddbfffbfe05aadba0c2f5d884cbdf4efcc90f44 LICENSE
6
  e63a1b682d13c9c6475e657e6aabbddabee21d5c0d5651aa3231c63ba42a6967 NOTICE
7
+ 740ece2cb668f54f277e7ec40b8b5160bb56d19a09b5e05b0c2ce9a23a25e923 README.md
8
  9cf643c4d9343d3a92077cfe025ea7abcb8ae1e2a46c1d7a9c1010b3dfa62086 training_config.json
9
  849bb2efddcd39af49e9efc9c896d2289f757a797603cdd95473110f3950f85d evaluation_summary.json
10
  015ba8152d543d1d74e514901343fcb9bcf61559e1f229bd657985d76deefa05 release_manifest.json