Maxim Kim commited on
Commit
ba509a7
·
verified ·
1 Parent(s): 0035191

Add ComfyUI weights (ComfyUI-MiniMax-H3-PDD node)

Browse files
README.md CHANGED
@@ -4,6 +4,7 @@ tags:
4
  - text-to-video
5
  - lora
6
  - distillation
 
7
  ---
8
 
9
  # MiniMax-H3 PDD LoRA
@@ -18,11 +19,26 @@ Interactive comparison: [MiniMax-H3-PDD-compare](https://huggingface.co/spaces/m
18
 
19
  Training and sampling scripts are in the [project repo](https://github.com/maxs-kan/better_trainer) (`scripts/compute_text_emb_h3.py`, `scripts/pdd_test.py`):
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  ## Files
22
 
23
  - `pdd_ema.safetensors`: EMA weights, step 2500 (recommended)
24
  - `pdd.safetensors`: raw weights, step 2500
25
  - `pdd_config.json`: PDD and LoRA settings
 
 
26
  - `data/train.json`: training prompts (VidProM + OpenVid-1M + Vript )
27
  - `data/test.json`: held-out prompts; the first 10 are the samples in the comparison Space
28
 
 
4
  - text-to-video
5
  - lora
6
  - distillation
7
+ - comfyui
8
  ---
9
 
10
  # MiniMax-H3 PDD LoRA
 
19
 
20
  Training and sampling scripts are in the [project repo](https://github.com/maxs-kan/better_trainer) (`scripts/compute_text_emb_h3.py`, `scripts/pdd_test.py`):
21
 
22
+ ### ComfyUI
23
+
24
+ `comfy/` holds the same step 2500 weights converted to the Alibaba MiniMax-H3 PDD file layout, for the
25
+ [ComfyUI-MiniMax-H3-PDD](https://github.com/lukas-9936/ComfyUI-MiniMax-H3-PDD) node pack
26
+ (**H3 PDD Acceleration (8-Step)** node). A standard LoRA loader will not work: the files also contain the output heads.
27
+
28
+ 1. Install the node pack into `ComfyUI/custom_nodes`.
29
+ 2. Put a file from `comfy/` into `ComfyUI/models/loras`.
30
+ 3. Load Diffusion Model (MiniMax-H3) → **H3 PDD Acceleration (8-Step)**, select the file in `pdd_lora_name`.
31
+ 4. Connect its `model` and `sigmas` outputs to `SamplerCustom` (euler, CFG 1.0); shift 12/3.
32
+
33
+ The files are made by `scripts/convert_pdd_to_comfy.py` from the project repo (block size 4, 8 NFE).
34
+
35
  ## Files
36
 
37
  - `pdd_ema.safetensors`: EMA weights, step 2500 (recommended)
38
  - `pdd.safetensors`: raw weights, step 2500
39
  - `pdd_config.json`: PDD and LoRA settings
40
+ - `comfy/MiniMax-H3-PDD-step2500-ema-8nfe.safetensors`: EMA weights for ComfyUI (recommended)
41
+ - `comfy/MiniMax-H3-PDD-step2500-8nfe.safetensors`: raw weights for ComfyUI
42
  - `data/train.json`: training prompts (VidProM + OpenVid-1M + Vript )
43
  - `data/test.json`: held-out prompts; the first 10 are the samples in the comparison Space
44
 
comfy/MiniMax-H3-PDD-step2500-8nfe.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8a2a90b1821d3e4f018231d62afcc10ada0037edd1a3f03d01d36db756e151a
3
+ size 1416499176
comfy/MiniMax-H3-PDD-step2500-ema-8nfe.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70cfa1eeb7f1a22160987ec6b8e4dadcad1fdc909fcea22077a75b7cf9f5ed9f
3
+ size 1416499176