Cards: code moves to scrya-com/lot-diffusion (musubi-tuner runtime); updated timings; help thread is issue 1
Browse files- README.md +17 -15
- run3_iso3d_distill/README.md +7 -7
- run4_nikki_distill/README.md +7 -7
README.md
CHANGED
|
@@ -14,7 +14,7 @@ tags:
|
|
| 14 |
|
| 15 |
> [!WARNING]
|
| 16 |
> # ⚠️ THIS MODEL NEEDS MORE TRAINING — HELP WANTED
|
| 17 |
-
> **These are research checkpoints, not a finished model.** LoT output is still visibly worse than dense MiniMax H3: coarse regions are soft, faces in talking-head shots distort, and the LoRA can bend bodies even with LoT off. If you have GPU time, data, or ideas, join the discussion: **[
|
| 18 |
|
| 19 |
> [!CAUTION]
|
| 20 |
> **License and territory.** Derived from MiniMax H3 under the [MiniMax H3 Community License Agreement](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/LICENSE) (see also [`NOTICE`](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/NOTICE)). That license allows use and redistribution **only outside its Excluded Territories: the European Union, the United Kingdom, the Republic of Korea and the United States of America.** Do not download or use these files there. Commercial use above US$20M yearly revenue needs MiniMax's written authorization. The [Acceptable Use Policy](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/LICENSE) applies, including: no impersonation without consent, and machine-generated output must be disclosed as such.
|
|
@@ -22,10 +22,10 @@ tags:
|
|
| 22 |
> [!NOTE]
|
| 23 |
> **Training data.** Run 4 includes clips of "Nikki", a character whose reference face comes from a Grok Imagine generation (per the dataset's own notes), plus isometric-3D stills. Do not use these weights to impersonate anyone.
|
| 24 |
|
| 25 |
-
**Train it yourself / help improve it:** [cheatsheet](https://github.com/
|
| 26 |
|
| 27 |
|
| 28 |
-
Research adapters that let MiniMax-H3's DiT run on a **Level-of-Token** layout: fewer, larger tokens where detail is low, with the full-resolution velocity recovered afterwards ([Nakayama et al., arXiv 2610.05816](https://arxiv.org/abs/2610.05816)). On one 24 GB card, a
|
| 29 |
|
| 30 |
| Folder | Run | Data |
|
| 31 |
|---|---|---|
|
|
@@ -34,14 +34,14 @@ Research adapters that let MiniMax-H3's DiT run on a **Level-of-Token** layout:
|
|
| 34 |
|
| 35 |
Each folder has `adapter.safetensors` (LoT heads + fitted extent bank), `lora.safetensors` (rank-16 LoRA on the FL2VA DiT), `train_log.jsonl` and its own card.
|
| 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: [
|
| 38 |
|
| 39 |
## Quick start: download → test → validate timing → train
|
| 40 |
|
| 41 |
-
**ComfyUI** ([ComfyUI-MiniMax-H3-Image-Lane](https://github.com/
|
| 42 |
|
| 43 |
```bash
|
| 44 |
-
cd ComfyUI/custom_nodes && git clone https://github.com/
|
| 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
|
|
@@ -50,26 +50,28 @@ cp /tmp/lot/run4_nikki_distill/lora.safetensors ComfyUI/models/loras/minimax_
|
|
| 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** ([
|
| 54 |
|
| 55 |
```bash
|
| 56 |
-
|
|
|
|
|
|
|
| 57 |
hf download johndpope/MiniMax-H3-LoT --local-dir runs/lot_hf
|
| 58 |
-
python3
|
| 59 |
-
python3
|
| 60 |
-
python3
|
| 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 |
|
| 68 |
-
| clip 512×768, 22 frames | **2.
|
| 69 |
-
| clip 768×1344, 124 frames (48 blocks streamed) | | 2.
|
| 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/
|
| 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).
|
|
|
|
| 14 |
|
| 15 |
> [!WARNING]
|
| 16 |
> # ⚠️ THIS MODEL NEEDS MORE TRAINING — HELP WANTED
|
| 17 |
+
> **These are research checkpoints, not a finished model.** LoT output is still visibly worse than dense MiniMax H3: coarse regions are soft, faces in talking-head shots distort, and the LoRA can bend bodies even with LoT off. If you have GPU time, data, or ideas, join the discussion: **[results and help-wanted thread](https://github.com/johndpope/MiniMax-H3/issues/1)**. Project page: [scrya.com/lot_diffusion](https://scrya.com/lot_diffusion).
|
| 18 |
|
| 19 |
> [!CAUTION]
|
| 20 |
> **License and territory.** Derived from MiniMax H3 under the [MiniMax H3 Community License Agreement](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/LICENSE) (see also [`NOTICE`](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/NOTICE)). That license allows use and redistribution **only outside its Excluded Territories: the European Union, the United Kingdom, the Republic of Korea and the United States of America.** Do not download or use these files there. Commercial use above US$20M yearly revenue needs MiniMax's written authorization. The [Acceptable Use Policy](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/LICENSE) applies, including: no impersonation without consent, and machine-generated output must be disclosed as such.
|
|
|
|
| 22 |
> [!NOTE]
|
| 23 |
> **Training data.** Run 4 includes clips of "Nikki", a character whose reference face comes from a Grok Imagine generation (per the dataset's own notes), plus isometric-3D stills. Do not use these weights to impersonate anyone.
|
| 24 |
|
| 25 |
+
**Train it yourself / help improve it:** [cheatsheet](https://github.com/scrya-com/lot-diffusion/blob/main/lot/CHEATSHEET.md) · [train from your own mp4s](https://github.com/scrya-com/lot-diffusion/blob/main/lot/README.md#training-h3-for-lot-from-your-own-mp4s) · [results and renders (issue 1)](https://github.com/johndpope/MiniMax-H3/issues/1)
|
| 26 |
|
| 27 |
|
| 28 |
+
Research adapters that let MiniMax-H3's DiT run on a **Level-of-Token** layout: fewer, larger tokens where detail is low, with the full-resolution velocity recovered afterwards ([Nakayama et al., arXiv 2610.05816](https://arxiv.org/abs/2610.05816)). On one 24 GB card, a 124-frame 768×1344 DiT forward measured **52.3 s dense vs 18.3 s LoT (2.85×)**. The VAE decode is unchanged.
|
| 29 |
|
| 30 |
| Folder | Run | Data |
|
| 31 |
|---|---|---|
|
|
|
|
| 34 |
|
| 35 |
Each folder has `adapter.safetensors` (LoT heads + fitted extent bank), `lora.safetensors` (rank-16 LoRA on the FL2VA DiT), `train_log.jsonl` and its own card.
|
| 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: [scrya-com/lot-diffusion](https://github.com/scrya-com/lot-diffusion) ([cheatsheet](https://github.com/scrya-com/lot-diffusion/blob/main/lot/CHEATSHEET.md)). Project page: [scrya.com/lot_diffusion](https://scrya.com/lot_diffusion).
|
| 38 |
|
| 39 |
## Quick start: download → test → validate timing → train
|
| 40 |
|
| 41 |
+
**ComfyUI** ([ComfyUI-MiniMax-H3-Image-Lane](https://github.com/scrya-com/ComfyUI-MiniMax-H3-Image-Lane), stills and video clips):
|
| 42 |
|
| 43 |
```bash
|
| 44 |
+
cd ComfyUI/custom_nodes && git clone https://github.com/scrya-com/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
|
|
|
|
| 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** ([scrya-com/lot-diffusion](https://github.com/scrya-com/lot-diffusion); it bundles the [musubi-tuner](https://github.com/kohya-ss/musubi-tuner) H3 runtime):
|
| 54 |
|
| 55 |
```bash
|
| 56 |
+
git clone https://github.com/scrya-com/lot-diffusion && cd lot-diffusion && pip install -r requirements.txt
|
| 57 |
+
hf download Comfy-Org/MiniMax-H3 diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors --local-dir models
|
| 58 |
+
export LOT_H3_CHECKPOINT=$PWD/models/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors
|
| 59 |
hf download johndpope/MiniMax-H3-LoT --local-dir runs/lot_hf
|
| 60 |
+
python3 lot/test_lot.py # CPU tests
|
| 61 |
+
python3 lot/parity_h3.py # LoT 1x1 == dense
|
| 62 |
+
python3 lot/time_lot_h3.py --shape clip --trained runs/lot_hf/run4_nikki_distill # timing per layout
|
| 63 |
```
|
| 64 |
|
| 65 |
**Measured** on one RTX PRO 4000 Blackwell (24 GB), run-4 weights, one DiT forward, all blocks resident:
|
| 66 |
|
| 67 |
| Shape | `center` | `bands` | `uniform2` |
|
| 68 |
|---|---|---|---|
|
| 69 |
+
| still 768×1152 | 2.15× | 1.67× | 2.48× |
|
| 70 |
+
| clip 512×768, 22 frames | **2.55×** | 1.92× | 3.24× |
|
| 71 |
+
| clip 768×1344, 124 frames (48 blocks streamed) | **2.85×** | 2.57× | |
|
| 72 |
|
| 73 |
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.
|
| 74 |
|
| 75 |
+
**Train your own** (from mp4s or existing H3 latents, teacher distillation recipe): [cheatsheet](https://github.com/scrya-com/lot-diffusion/blob/main/lot/CHEATSHEET.md). Publish with `upload_hf.py`, which adds the license, NOTICE and these warnings.
|
| 76 |
|
| 77 |
Derived from MiniMax H3 weights; use is governed by the [MiniMax H3 Community License Agreement](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/main/LICENSE).
|
run3_iso3d_distill/README.md
CHANGED
|
@@ -14,7 +14,7 @@ tags:
|
|
| 14 |
|
| 15 |
> [!WARNING]
|
| 16 |
> # ⚠️ THIS MODEL NEEDS MORE TRAINING — HELP WANTED
|
| 17 |
-
> **These are research checkpoints, not a finished model.** LoT output is still visibly worse than dense MiniMax H3: coarse regions are soft, faces in talking-head shots distort, and the LoRA can bend bodies even with LoT off. If you have GPU time, data, or ideas, join the discussion: **[
|
| 18 |
|
| 19 |
> [!CAUTION]
|
| 20 |
> **License and territory.** Derived from MiniMax H3 under the [MiniMax H3 Community License Agreement](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/LICENSE) (see also [`NOTICE`](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/NOTICE)). That license allows use and redistribution **only outside its Excluded Territories: the European Union, the United Kingdom, the Republic of Korea and the United States of America.** Do not download or use these files there. Commercial use above US$20M yearly revenue needs MiniMax's written authorization. The [Acceptable Use Policy](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/LICENSE) applies, including: no impersonation without consent, and machine-generated output must be disclosed as such.
|
|
@@ -22,10 +22,10 @@ tags:
|
|
| 22 |
> [!NOTE]
|
| 23 |
> **Training data.** Run 4 includes clips of "Nikki", a character whose reference face comes from a Grok Imagine generation (per the dataset's own notes), plus isometric-3D stills. Do not use these weights to impersonate anyone.
|
| 24 |
|
| 25 |
-
**Train it yourself / help improve it:** [cheatsheet](https://github.com/
|
| 26 |
|
| 27 |
|
| 28 |
-
Research weights for running **MiniMax-H3**'s DiT on a **Level-of-Token (LoT)** layout: fewer, larger tokens where detail is low, with the full-resolution velocity recovered afterwards ([Nakayama et al., arXiv 2610.05816](https://arxiv.org/abs/2610.05816)). The VAE latent stays full size; only the transformer sequence shrinks. On one 24 GB card a
|
| 29 |
|
| 30 |
**Status: research.** Coarse regions are still softer than dense H3. Progress, renders and caveats are tracked in [the issue](https://github.com/johndpope/MiniMax-H3/issues/1).
|
| 31 |
|
|
@@ -39,16 +39,16 @@ Research weights for running **MiniMax-H3**'s DiT on a **Level-of-Token (LoT)**
|
|
| 39 |
|
| 40 |
## Use
|
| 41 |
|
| 42 |
-
Needs
|
| 43 |
|
| 44 |
```bash
|
| 45 |
hf download johndpope/MiniMax-H3-LoT --local-dir runs/lot_hf
|
| 46 |
-
python3
|
| 47 |
-
python3
|
| 48 |
--layout bands --variants dense,dense_lora,lot_trained # needs a cache of encoded prompts
|
| 49 |
```
|
| 50 |
|
| 51 |
-
ComfyUI (stills and video): [ComfyUI-MiniMax-H3-Image-Lane](https://github.com/
|
| 52 |
|
| 53 |
## Training
|
| 54 |
|
|
|
|
| 14 |
|
| 15 |
> [!WARNING]
|
| 16 |
> # ⚠️ THIS MODEL NEEDS MORE TRAINING — HELP WANTED
|
| 17 |
+
> **These are research checkpoints, not a finished model.** LoT output is still visibly worse than dense MiniMax H3: coarse regions are soft, faces in talking-head shots distort, and the LoRA can bend bodies even with LoT off. If you have GPU time, data, or ideas, join the discussion: **[results and help-wanted thread](https://github.com/johndpope/MiniMax-H3/issues/1)**. Project page: [scrya.com/lot_diffusion](https://scrya.com/lot_diffusion).
|
| 18 |
|
| 19 |
> [!CAUTION]
|
| 20 |
> **License and territory.** Derived from MiniMax H3 under the [MiniMax H3 Community License Agreement](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/LICENSE) (see also [`NOTICE`](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/NOTICE)). That license allows use and redistribution **only outside its Excluded Territories: the European Union, the United Kingdom, the Republic of Korea and the United States of America.** Do not download or use these files there. Commercial use above US$20M yearly revenue needs MiniMax's written authorization. The [Acceptable Use Policy](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/LICENSE) applies, including: no impersonation without consent, and machine-generated output must be disclosed as such.
|
|
|
|
| 22 |
> [!NOTE]
|
| 23 |
> **Training data.** Run 4 includes clips of "Nikki", a character whose reference face comes from a Grok Imagine generation (per the dataset's own notes), plus isometric-3D stills. Do not use these weights to impersonate anyone.
|
| 24 |
|
| 25 |
+
**Train it yourself / help improve it:** [cheatsheet](https://github.com/scrya-com/lot-diffusion/blob/main/lot/CHEATSHEET.md) · [train from your own mp4s](https://github.com/scrya-com/lot-diffusion/blob/main/lot/README.md#training-h3-for-lot-from-your-own-mp4s) · [results and renders (issue 1)](https://github.com/johndpope/MiniMax-H3/issues/1)
|
| 26 |
|
| 27 |
|
| 28 |
+
Research weights for running **MiniMax-H3**'s DiT on a **Level-of-Token (LoT)** layout: fewer, larger tokens where detail is low, with the full-resolution velocity recovered afterwards ([Nakayama et al., arXiv 2610.05816](https://arxiv.org/abs/2610.05816)). The VAE latent stays full size; only the transformer sequence shrinks. On one 24 GB card a 124-frame 768×1344 DiT forward (37 latent frames) measured 52.3 s dense vs 18.3 s LoT (2.85×, `center` layout). The VAE decode is unchanged.
|
| 29 |
|
| 30 |
**Status: research.** Coarse regions are still softer than dense H3. Progress, renders and caveats are tracked in [the issue](https://github.com/johndpope/MiniMax-H3/issues/1).
|
| 31 |
|
|
|
|
| 39 |
|
| 40 |
## Use
|
| 41 |
|
| 42 |
+
Needs [lot-diffusion](https://github.com/scrya-com/lot-diffusion) (it bundles the [musubi-tuner](https://github.com/kohya-ss/musubi-tuner) H3 runtime) and the pruned int8 FL2VA DiT (`hf download Comfy-Org/MiniMax-H3 diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors`).
|
| 43 |
|
| 44 |
```bash
|
| 45 |
hf download johndpope/MiniMax-H3-LoT --local-dir runs/lot_hf
|
| 46 |
+
python3 lot/time_lot_h3.py --shape clip --trained runs/lot_hf/run3_iso3d_distill # timing per layout
|
| 47 |
+
python3 lot/render_h3.py --trained runs/lot_hf/run3_iso3d_distill --swap 4 \
|
| 48 |
--layout bands --variants dense,dense_lora,lot_trained # needs a cache of encoded prompts
|
| 49 |
```
|
| 50 |
|
| 51 |
+
ComfyUI (stills and video): [ComfyUI-MiniMax-H3-Image-Lane](https://github.com/scrya-com/ComfyUI-MiniMax-H3-Image-Lane). Quick start and training from your own mp4s: [cheatsheet](https://github.com/scrya-com/lot-diffusion/blob/main/lot/CHEATSHEET.md).
|
| 52 |
|
| 53 |
## Training
|
| 54 |
|
run4_nikki_distill/README.md
CHANGED
|
@@ -14,7 +14,7 @@ tags:
|
|
| 14 |
|
| 15 |
> [!WARNING]
|
| 16 |
> # ⚠️ THIS MODEL NEEDS MORE TRAINING — HELP WANTED
|
| 17 |
-
> **These are research checkpoints, not a finished model.** LoT output is still visibly worse than dense MiniMax H3: coarse regions are soft, faces in talking-head shots distort, and the LoRA can bend bodies even with LoT off. If you have GPU time, data, or ideas, join the discussion: **[
|
| 18 |
|
| 19 |
> [!CAUTION]
|
| 20 |
> **License and territory.** Derived from MiniMax H3 under the [MiniMax H3 Community License Agreement](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/LICENSE) (see also [`NOTICE`](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/NOTICE)). That license allows use and redistribution **only outside its Excluded Territories: the European Union, the United Kingdom, the Republic of Korea and the United States of America.** Do not download or use these files there. Commercial use above US$20M yearly revenue needs MiniMax's written authorization. The [Acceptable Use Policy](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/LICENSE) applies, including: no impersonation without consent, and machine-generated output must be disclosed as such.
|
|
@@ -22,10 +22,10 @@ tags:
|
|
| 22 |
> [!NOTE]
|
| 23 |
> **Training data.** Run 4 includes clips of "Nikki", a character whose reference face comes from a Grok Imagine generation (per the dataset's own notes), plus isometric-3D stills. Do not use these weights to impersonate anyone.
|
| 24 |
|
| 25 |
-
**Train it yourself / help improve it:** [cheatsheet](https://github.com/
|
| 26 |
|
| 27 |
|
| 28 |
-
Research weights for running **MiniMax-H3**'s DiT on a **Level-of-Token (LoT)** layout: fewer, larger tokens where detail is low, with the full-resolution velocity recovered afterwards ([Nakayama et al., arXiv 2610.05816](https://arxiv.org/abs/2610.05816)). The VAE latent stays full size; only the transformer sequence shrinks. On one 24 GB card a
|
| 29 |
|
| 30 |
**Status: research.** Coarse regions are still softer than dense H3. Progress, renders and caveats are tracked in [the issue](https://github.com/johndpope/MiniMax-H3/issues/1).
|
| 31 |
|
|
@@ -39,16 +39,16 @@ Research weights for running **MiniMax-H3**'s DiT on a **Level-of-Token (LoT)**
|
|
| 39 |
|
| 40 |
## Use
|
| 41 |
|
| 42 |
-
Needs
|
| 43 |
|
| 44 |
```bash
|
| 45 |
hf download johndpope/MiniMax-H3-LoT --local-dir runs/lot_hf
|
| 46 |
-
python3
|
| 47 |
-
python3
|
| 48 |
--layout bands --variants dense,dense_lora,lot_trained # needs a cache of encoded prompts
|
| 49 |
```
|
| 50 |
|
| 51 |
-
ComfyUI (stills and video): [ComfyUI-MiniMax-H3-Image-Lane](https://github.com/
|
| 52 |
|
| 53 |
## Training
|
| 54 |
|
|
|
|
| 14 |
|
| 15 |
> [!WARNING]
|
| 16 |
> # ⚠️ THIS MODEL NEEDS MORE TRAINING — HELP WANTED
|
| 17 |
+
> **These are research checkpoints, not a finished model.** LoT output is still visibly worse than dense MiniMax H3: coarse regions are soft, faces in talking-head shots distort, and the LoRA can bend bodies even with LoT off. If you have GPU time, data, or ideas, join the discussion: **[results and help-wanted thread](https://github.com/johndpope/MiniMax-H3/issues/1)**. Project page: [scrya.com/lot_diffusion](https://scrya.com/lot_diffusion).
|
| 18 |
|
| 19 |
> [!CAUTION]
|
| 20 |
> **License and territory.** Derived from MiniMax H3 under the [MiniMax H3 Community License Agreement](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/LICENSE) (see also [`NOTICE`](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/NOTICE)). That license allows use and redistribution **only outside its Excluded Territories: the European Union, the United Kingdom, the Republic of Korea and the United States of America.** Do not download or use these files there. Commercial use above US$20M yearly revenue needs MiniMax's written authorization. The [Acceptable Use Policy](https://huggingface.co/johndpope/MiniMax-H3-LoT/blob/main/LICENSE) applies, including: no impersonation without consent, and machine-generated output must be disclosed as such.
|
|
|
|
| 22 |
> [!NOTE]
|
| 23 |
> **Training data.** Run 4 includes clips of "Nikki", a character whose reference face comes from a Grok Imagine generation (per the dataset's own notes), plus isometric-3D stills. Do not use these weights to impersonate anyone.
|
| 24 |
|
| 25 |
+
**Train it yourself / help improve it:** [cheatsheet](https://github.com/scrya-com/lot-diffusion/blob/main/lot/CHEATSHEET.md) · [train from your own mp4s](https://github.com/scrya-com/lot-diffusion/blob/main/lot/README.md#training-h3-for-lot-from-your-own-mp4s) · [results and renders (issue 1)](https://github.com/johndpope/MiniMax-H3/issues/1)
|
| 26 |
|
| 27 |
|
| 28 |
+
Research weights for running **MiniMax-H3**'s DiT on a **Level-of-Token (LoT)** layout: fewer, larger tokens where detail is low, with the full-resolution velocity recovered afterwards ([Nakayama et al., arXiv 2610.05816](https://arxiv.org/abs/2610.05816)). The VAE latent stays full size; only the transformer sequence shrinks. On one 24 GB card a 124-frame 768×1344 DiT forward (37 latent frames) measured 52.3 s dense vs 18.3 s LoT (2.85×, `center` layout). The VAE decode is unchanged.
|
| 29 |
|
| 30 |
**Status: research.** Coarse regions are still softer than dense H3. Progress, renders and caveats are tracked in [the issue](https://github.com/johndpope/MiniMax-H3/issues/1).
|
| 31 |
|
|
|
|
| 39 |
|
| 40 |
## Use
|
| 41 |
|
| 42 |
+
Needs [lot-diffusion](https://github.com/scrya-com/lot-diffusion) (it bundles the [musubi-tuner](https://github.com/kohya-ss/musubi-tuner) H3 runtime) and the pruned int8 FL2VA DiT (`hf download Comfy-Org/MiniMax-H3 diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors`).
|
| 43 |
|
| 44 |
```bash
|
| 45 |
hf download johndpope/MiniMax-H3-LoT --local-dir runs/lot_hf
|
| 46 |
+
python3 lot/time_lot_h3.py --shape clip --trained runs/lot_hf/run4_nikki_distill # timing per layout
|
| 47 |
+
python3 lot/render_h3.py --trained runs/lot_hf/run4_nikki_distill --swap 4 \
|
| 48 |
--layout bands --variants dense,dense_lora,lot_trained # needs a cache of encoded prompts
|
| 49 |
```
|
| 50 |
|
| 51 |
+
ComfyUI (stills and video): [ComfyUI-MiniMax-H3-Image-Lane](https://github.com/scrya-com/ComfyUI-MiniMax-H3-Image-Lane). Quick start and training from your own mp4s: [cheatsheet](https://github.com/scrya-com/lot-diffusion/blob/main/lot/CHEATSHEET.md).
|
| 52 |
|
| 53 |
## Training
|
| 54 |
|