Spaces:
Running on Zero
Running on Zero
Upload app.py
Browse files
app.py
CHANGED
|
@@ -98,94 +98,28 @@ DEFAULT_LORA_SCALE = 0.5
|
|
| 98 |
# what v4 gets; the older v1 line is the one people report over-sharpening on at strength 1.0, so it is filled at
|
| 99 |
# 0.7 instead. Both are starting points - the slider is right there.
|
| 100 |
LORA_PRESETS = {
|
| 101 |
-
"Turbo v4 step600 EMA ·
|
| 102 |
"larryvrh/MiniMax-H3-Turbo-Lora/minimax_h3_turbo_v4_step600_ema.safetensors",
|
| 103 |
8,
|
| 104 |
-
"The author's own recommendation and the strongest
|
| 105 |
-
"
|
| 106 |
-
"
|
| 107 |
-
"
|
| 108 |
1.0,
|
| 109 |
),
|
| 110 |
"Turbo v4 step600 non-EMA · 6 steps": (
|
| 111 |
"larryvrh/MiniMax-H3-Turbo-Lora/minimax_h3_turbo_v4_step600.safetensors",
|
| 112 |
6,
|
| 113 |
"The same training run without the EMA averaging. The author recommends the EMA build, but a number of "
|
| 114 |
-
"users report cleaner results from this one
|
| 115 |
1.0,
|
| 116 |
),
|
| 117 |
-
"Turbo v1 ckpt850 · 4 steps (
|
| 118 |
"larryvrh/MiniMax-H3-Turbo-Lora/minimax_h3_turbo_4step_ema_ckpt850.safetensors",
|
| 119 |
4,
|
| 120 |
-
"
|
| 121 |
-
"
|
| 122 |
-
"
|
| 123 |
-
0.7,
|
| 124 |
-
),
|
| 125 |
-
"Turbo v1 ckpt500 EMA · 4 steps": (
|
| 126 |
-
"larryvrh/MiniMax-H3-Turbo-Lora/minimax_h3_turbo_4step_ema_ckpt500.safetensors",
|
| 127 |
-
4,
|
| 128 |
-
"An earlier point in the v1 run than ckpt850, and the one the CivitAI write-up calls its recommended v1 "
|
| 129 |
-
"file: less baked than 850, so a little softer but with fewer of the over-sharpening artefacts.",
|
| 130 |
-
0.7,
|
| 131 |
-
),
|
| 132 |
-
"Turbo v1 ckpt500 non-EMA · 4 steps": (
|
| 133 |
-
"larryvrh/MiniMax-H3-Turbo-Lora/minimax_h3_turbo_4step_ckpt500.safetensors",
|
| 134 |
-
4,
|
| 135 |
-
"The same point without EMA averaging. Reported as less prone to ghosting and motion trails than the EMA "
|
| 136 |
-
"build, at the cost of a slightly rougher image.",
|
| 137 |
-
0.7,
|
| 138 |
-
),
|
| 139 |
-
"Turbo v1 ckpt850 non-EMA · 4 steps": (
|
| 140 |
-
"larryvrh/MiniMax-H3-Turbo-Lora/minimax_h3_turbo_4step_ckpt850.safetensors",
|
| 141 |
-
4,
|
| 142 |
-
"The 850 checkpoint without EMA. Pick it over the EMA one above if that comes out soft or trails on motion.",
|
| 143 |
-
0.7,
|
| 144 |
-
),
|
| 145 |
-
"Turbo v1 4step EMA (original) · 4 steps": (
|
| 146 |
-
"larryvrh/MiniMax-H3-Turbo-Lora/minimax_h3_turbo_4step_ema.safetensors",
|
| 147 |
-
4,
|
| 148 |
-
"The first Turbo release, EMA build. Kept for completeness — the ckpt500 / ckpt850 entries above are later "
|
| 149 |
-
"points of the same line.",
|
| 150 |
-
0.7,
|
| 151 |
-
),
|
| 152 |
-
"Turbo v1 4step (original) · 4 steps": (
|
| 153 |
-
"larryvrh/MiniMax-H3-Turbo-Lora/minimax_h3_turbo_4step.safetensors",
|
| 154 |
-
4,
|
| 155 |
-
"The first Turbo release, without EMA. The oldest file in the repo.",
|
| 156 |
-
0.7,
|
| 157 |
-
),
|
| 158 |
-
"⚠️ v5 step600 experimental · 6 steps (10.9 GB)": (
|
| 159 |
-
"larryvrh/MiniMax-H3-Turbo-Lora/experimental_v5_step_600.bin",
|
| 160 |
-
6,
|
| 161 |
-
"The newest thing in the author's repo, and the only v5 there is - but a raw 10.9 GB training checkpoint "
|
| 162 |
-
"rather than the packaged 780 MB safetensors every other entry here uses. It is the author's workbench, not "
|
| 163 |
-
"a release: there is no model card for it, the key layout is not guaranteed to match what the converter "
|
| 164 |
-
"expects, and it may simply refuse to load. The first use downloads 10.9 GB on the CPU, which is slow but "
|
| 165 |
-
"costs no GPU time. Try it if you are curious; use v4 EMA for anything real, and switch to a "
|
| 166 |
-
"`minimax_h3_turbo_v5_*.safetensors` once one is published.",
|
| 167 |
-
1.0,
|
| 168 |
-
),
|
| 169 |
-
"⚠️ v4 step600 experimental · 6 steps (10.9 GB)": (
|
| 170 |
-
"larryvrh/MiniMax-H3-Turbo-Lora/experimental_v4_step_600.bin",
|
| 171 |
-
6,
|
| 172 |
-
"The raw checkpoint the packaged v4 above was built from. Same caveats as v5: 10.9 GB, no model card, and "
|
| 173 |
-
"no guarantee the keys match. There is no reason to prefer it over the packaged v4 EMA unless you are "
|
| 174 |
-
"comparing them on purpose.",
|
| 175 |
-
1.0,
|
| 176 |
-
),
|
| 177 |
-
"CivitAI mirror of ckpt850 · 4 steps": (
|
| 178 |
-
"https://civitai.red/api/download/models/3209349?fileId=3091012",
|
| 179 |
-
4,
|
| 180 |
-
"EKKIVOK's CivitAI re-upload of the same v1 ckpt850 EMA file. Identical weights to the Hugging Face entry "
|
| 181 |
-
"above, kept only as a fallback route — needs `CIVITAI_TOKEN` if the model ever goes gated.",
|
| 182 |
-
0.7,
|
| 183 |
-
),
|
| 184 |
-
"Your own copy (amisima/kkkkkk) · 8 steps": (
|
| 185 |
-
"https://huggingface.co/amisima/kkkkkk/resolve/main/minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16_h3.safetensors",
|
| 186 |
-
8,
|
| 187 |
-
"The v1 768p build mirrored in your own repo. Kept so a working set-up is not disturbed; the v4 entries "
|
| 188 |
-
"above are newer.",
|
| 189 |
0.7,
|
| 190 |
),
|
| 191 |
}
|
|
|
|
| 98 |
# what v4 gets; the older v1 line is the one people report over-sharpening on at strength 1.0, so it is filled at
|
| 99 |
# 0.7 instead. Both are starting points - the slider is right there.
|
| 100 |
LORA_PRESETS = {
|
| 101 |
+
"Turbo v4 step600 EMA · 8 steps (recommended)": (
|
| 102 |
"larryvrh/MiniMax-H3-Turbo-Lora/minimax_h3_turbo_v4_step600_ema.safetensors",
|
| 103 |
8,
|
| 104 |
+
"The author's own recommendation and the strongest build released: much better static and small-motion "
|
| 105 |
+
"shots, markedly better micro-detail in faces, fingers and fine texture, and the plastic over-sharpened "
|
| 106 |
+
"look of the older v1 line is gone. Its one weak spot is 4 steps with large fast motion, where it can "
|
| 107 |
+
"trail - 6 to 8 steps removes that and is where it looks its best.",
|
| 108 |
1.0,
|
| 109 |
),
|
| 110 |
"Turbo v4 step600 non-EMA · 6 steps": (
|
| 111 |
"larryvrh/MiniMax-H3-Turbo-Lora/minimax_h3_turbo_v4_step600.safetensors",
|
| 112 |
6,
|
| 113 |
"The same training run without the EMA averaging. The author recommends the EMA build, but a number of "
|
| 114 |
+
"users report cleaner results from this one - worth a try if EMA output looks soft.",
|
| 115 |
1.0,
|
| 116 |
),
|
| 117 |
+
"Turbo v1 ckpt850 · 4 steps (fast motion only)": (
|
| 118 |
"larryvrh/MiniMax-H3-Turbo-Lora/minimax_h3_turbo_4step_ema_ckpt850.safetensors",
|
| 119 |
4,
|
| 120 |
+
"Superseded by v4 in every other respect, and kept for one case the author names: at 4 steps with large "
|
| 121 |
+
"fast motion, v4 trails and this older build does not. Filled at 0.7 because the v1 line over-sharpens "
|
| 122 |
+
"at 1.0. Anything that is not fast motion at 4 steps belongs on v4.",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
0.7,
|
| 124 |
),
|
| 125 |
}
|