Card: quick start (ComfyUI / Python), timing validation, training links
Browse files
README.md
CHANGED
|
@@ -36,8 +36,40 @@ Each folder has `adapter.safetensors` (LoT heads + fitted extent bank), `lora.sa
|
|
| 36 |
|
| 37 |
**Status: research.** Coarse regions are still softer than dense H3. Renders, eval curves and caveats are in [johndpope/MiniMax-H3 issue 1](https://github.com/johndpope/MiniMax-H3/issues/1). Code, and training from your own mp4s: [`scripts/lot`](https://github.com/johndpope/MiniMax-H3/tree/main/scripts/lot) ([cheatsheet](https://github.com/johndpope/MiniMax-H3/blob/main/scripts/lot/CHEATSHEET.md)).
|
| 38 |
|
| 39 |
-
##
|
| 40 |
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
Derived from MiniMax H3 weights; use is governed by the [MiniMax H3 Community License Agreement](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/main/LICENSE).
|
|
|
|
| 36 |
|
| 37 |
**Status: research.** Coarse regions are still softer than dense H3. Renders, eval curves and caveats are in [johndpope/MiniMax-H3 issue 1](https://github.com/johndpope/MiniMax-H3/issues/1). Code, and training from your own mp4s: [`scripts/lot`](https://github.com/johndpope/MiniMax-H3/tree/main/scripts/lot) ([cheatsheet](https://github.com/johndpope/MiniMax-H3/blob/main/scripts/lot/CHEATSHEET.md)).
|
| 38 |
|
| 39 |
+
## Quick start: download → test → validate timing → train
|
| 40 |
|
| 41 |
+
**ComfyUI** ([ComfyUI-MiniMax-H3-Image-Lane](https://github.com/johndpope/ComfyUI-MiniMax-H3-Image-Lane), stills and video clips):
|
| 42 |
+
|
| 43 |
+
```bash
|
| 44 |
+
cd ComfyUI/custom_nodes && git clone https://github.com/johndpope/ComfyUI-MiniMax-H3-Image-Lane.git && cd ../..
|
| 45 |
+
hf download johndpope/MiniMax-H3-LoT run4_nikki_distill/adapter.safetensors run4_nikki_distill/lora.safetensors --local-dir /tmp/lot
|
| 46 |
+
mkdir -p ComfyUI/models/lot
|
| 47 |
+
cp /tmp/lot/run4_nikki_distill/adapter.safetensors ComfyUI/models/lot/run4_nikki_distill_adapter.safetensors
|
| 48 |
+
cp /tmp/lot/run4_nikki_distill/lora.safetensors ComfyUI/models/loras/minimax_h3_lot_run4_nikki_lora.safetensors
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
Load `workflows/lot_video_api.json` (22-frame clip) or `workflows/t1_lot_image_api.json` (still). Each samples one seed twice, LoT and dense. Validate the timing by comparing the console's it/s for the two runs. Use the int8 ConvRot FL2VA DiT the adapters were trained on; **LoT Unscale Latent** is required before VAE Decode.
|
| 52 |
+
|
| 53 |
+
**Python** ([johndpope/MiniMax-H3 `scripts/lot`](https://github.com/johndpope/MiniMax-H3/tree/main/scripts/lot) + Fizgig branch `immiscible-h3-noise`):
|
| 54 |
+
|
| 55 |
+
```bash
|
| 56 |
+
export FIZGIG_SRC=/path/to/Fizgig/src LOT_H3_CHECKPOINT=/path/to/minimax_h3_fl2va_pruned_int8_convrot.safetensors
|
| 57 |
+
hf download johndpope/MiniMax-H3-LoT --local-dir runs/lot_hf
|
| 58 |
+
python3 scripts/lot/test_lot.py # CPU tests
|
| 59 |
+
python3 scripts/lot/parity_h3.py # LoT 1x1 == dense
|
| 60 |
+
python3 scripts/lot/time_lot_h3.py --shape clip --trained runs/lot_hf/run4_nikki_distill # timing per layout
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
**Measured** on one RTX PRO 4000 Blackwell (24 GB), run-4 weights, one DiT forward, all blocks resident:
|
| 64 |
+
|
| 65 |
+
| Shape | `center` | `bands` | `uniform2` |
|
| 66 |
+
|---|---|---|---|
|
| 67 |
+
| still 768×1152 | 1.92× | 1.63× | 2.16× |
|
| 68 |
+
| clip 512×768, 22 frames | **2.51×** | 1.96× | 3.08× |
|
| 69 |
+
| clip 768×1344, 124 frames (48 blocks streamed) | | 2.61× | |
|
| 70 |
+
|
| 71 |
+
In ComfyUI's sampler: 2.6× per step on the 22-frame clip, 1.35× on a still. The VAE decode is not sped up.
|
| 72 |
+
|
| 73 |
+
**Train your own** (from mp4s or existing H3 latents, teacher distillation recipe): [cheatsheet](https://github.com/johndpope/MiniMax-H3/blob/main/scripts/lot/CHEATSHEET.md). Publish with `upload_hf.py`, which adds the license, NOTICE and these warnings.
|
| 74 |
|
| 75 |
Derived from MiniMax H3 weights; use is governed by the [MiniMax H3 Community License Agreement](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/main/LICENSE).
|