Instructions to use MATLOWAI/MiniMax-H3-Variable-Clock with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Inference
- Notebooks
- Google Colab
- Kaggle
MiniMax-H3 Variable Clock β K=3 Stage-2 Stack & LoRAs (plus Legacy K=2 run f)
Experimental rank-16 LoRAs, ComfyUI workflows, and engineering writeups for running MiniMax-H3 on a variable temporal clock (H3 True Clock / H3Stage2Clock).
This is research output, released as is. Benchmark numbers below are from one seed per test clip across 4β6 scenes; read the writeups before deploying in production.
New Release: Stage-2 K=3 Two-Pass + RYS Stack & Dedicated K=3 LoRAs
Through 80+ controlled Stage-2 DeRoPE ablations (H3TimeSmear β partial denoise β H3ExactRecover) and three dedicated 1,000-step K=3 training runs (run_g, run_h, run_i), we replaced the legacy K=2 all-step setup with a pop-free, ghost-free Stage-2 stack:
keep_fine_bands = 3(K=3): Leaves temporal RoPE Bands 0β2 on the native stock grid (periods 3.8f, 6.7f, 11.9f) and clocks Band 3+ (period β₯ 21.2f, slower than H3's 17-frame VAE chunk). Eliminates chunk-start white flashes (t % 5 == 0), background ghosting, and the 8-frame vertical camera buzz caused by warping Band 2 underK=2.- Two-Pass Split (
handoff_sigma = 0.65): Runs the clock + optional RYS loop + optionalK=3LoRA only on Pass 1 (Ο β₯ 0.80), then hands off to pure native stock +euler+DisableNoiseon Pass 2 (Ο β€ 0.571). Eliminates low-sigma ghost boots and blurred limbs with zero extra steps. - Deterministic
euler+ Zero-Training Damped RYS Middle-Block Loop (Ξ± = 0.20): Adapted from the RYS ("Repeat Your Self") middle-layer duplication technique popularized on pretrained LLMs (David Noel Ng, 2024) into a DiT-safe damped residual loop during Pass 1 (Ο β₯ 0.80) only. Re-running a middle block slice once (16β32withSelfRefiningSamplerPlus,20β36without) and blendingh = h_save + 0.20 * (h_loop - h_save)avoids the contrast/color overshoot of raw 100% looping while dropping horizon jitter 3β4Γ below the source clip with zero training. - Optional
ComfyUI-SelfRefiningSamplerPlus(perturb_strength_scale = 1.0): Fixed-ΟPredict-and-Perturb refinement. AtΟ = 0.973on anime/character shots, use the Identity-Locked curve[[0.0, 0.0], [0.5, 1.0], [1.0, 0.5]]([0, 2, 1]substeps) to avoid re-rolling identity or camera angle on Step 0.
Writeups & Node Code
| Resource | What it covers |
|---|---|
docs/STAGE2_CLOCK_GUIDE.md |
What works well, the four levers, quick-reference recipe matrix, hold-map tips, and how to pick a K=3 LoRA. |
docs/STAGE2_CLOCK_JOURNEY.md |
Honest engineering trail: the 8 dead ends and falsified hypotheses (attention-measure bias, motion masks, DC-stripping, optical-flow smear, scale > 1.0, token-aligned h=1 singletons, 4-frame VAE Nyquist ripple, and progressive-window anchor traps) and how each measurement led to the fixes. |
ComfyUI-MAINodes (exp-stage2-rys branch) |
Experimental branch containing the H3Stage2Clock node (K=3 + RYS presets + built-in two-pass handoff_sigma splitter), 3 motion.py bug fixes, and unit tests. |
New K=3 LoRA Files (Pass 1 Only, Strength 1.0)
Everything in the Stage-2 K=3 stack works with no clock LoRA at all. The four dedicated K=3 LoRAs below were trained on 108 clips from 27 live-action + anime sources (864Γ480 Γ 124f, sustained hold = 4 plateaus averaging 5.46 chunk starts inside holds, keep_bands = 3, anchor_weight = 30, rank 16 / alpha 16) and outperform both NO LoRA and legacy K=2 run f when loaded on Pass 1 only (keep Pass 2 pure stock):
| File | Size | Training Regime | Best For |
|---|---|---|---|
minimax_h3_variable_clock_k3_hisigma_flow_step1000_lateattn_r16.safetensors |
235 MiB | High-sigma only (Ο β [0.55, 1.00]), DIS smooth-flow K=3, step 1,000, blocks 0β34 + late attention (lateattn trim, 170/200 modules) |
Best all-around Pass-1 LoRA β calmest horizon (dy_hf 0.113 px), lowest exit stutter (exSt 1.63), sharp anime blades & sparks (bamboo held_dy_hf 0.354, 2.7Γ calmer than run f). |
minimax_h3_variable_clock_k3_flow_step400_r16.safetensors |
284 MiB | Full-sigma DIS smooth-flow K=3, step 400 sweet spot (all 50 blocks) |
Smoothest overall motion across live + anime (pier midSt 1.48 vs source 1.51, f147pk 2.15Γ, clean RYS dy_hf 0.110 px; bamboo 1.004Γ sharp; panrun lowest Ο=0.973 stutter 3.30; rooftop chunk 0.41). |
minimax_h3_variable_clock_k3_hisigma_flow_step1000_r16.safetensors |
284 MiB | High-sigma only (Ο β [0.55, 1.00]), DIS smooth-flow K=3, step 1,000 (all 50 blocks) |
Maximum sharpness & lowest chunk jump (pier sharp 2.323, chunk 0.41, f147pk 2.28Γ; panrun chunk 1.12). |
minimax_h3_variable_clock_k3_repeat_step1000_r16.safetensors |
284 MiB | Full-sigma repeated-frame K=3, step 1,000 (all 50 blocks) |
Tightest horizon lock on panning live-action (pier dy_hf 0.111 px / dy_mx 0.23 px, 3.3Γ calmer than source 0.75 px; rooftop sharp 2.265). |
Ready-to-Drop Stage-2 ComfyUI Workflows (workflows/)
Each workflow ships as both a drag-and-drop ComfyUI UI .json and headless _api.json (matching ComfyUI-MAINodes branch exp-stage2-rys):
| Workflow | Dependencies | Default Recipe |
|---|---|---|
workflows/stage2_derope_k3_rys_twopass.json (_api.json) |
Core ComfyUI + ComfyUI-MAINodes (exp-stage2-rys) only |
Zero-LoRA H3Stage2Clock (K=3, RYS 20-36, Ξ±=0.20, handoff=0.65) + plain euler two-pass. Preserves warm palette and fluid walking stride. |
workflows/stage2_derope_k3_rys_selfrefine.json (_api.json) |
+ ComfyUI-SelfRefiningSamplerPlus |
Zero-LoRA H3Stage2Clock (K=3, RYS 16-32, Ξ±=0.20) + SamplerSelfRefinePlus (scale=1.0, Identity-Locked [0, 2, 1] curve) + stock Pass 2. |
workflows/stage2_derope_k3_rys_selfrefine_lora.json (_api.json) |
+ ComfyUI-SelfRefiningSamplerPlus + K=3 LoRA |
Full Champion Stack: loads minimax_h3_variable_clock_k3_hisigma_flow_step1000_lateattn_r16.safetensors on Pass 1 only; Pass 2 stays pure native stock Pika (DisableNoise). |
Stage-2 K=3 Example Comparison Videos (assets/k3_stage2/)
All 6-up videos below compare 1 seed per scene at 864Γ480 (Pika 6-step knots, two-pass handoff_sigma = 0.65, K=3 + RYS 16-32 + SelfRefine+ scale=1.0, euler).
1. Live-action pier walk (Ο = 0.973, hold = 4 on f132β150): compares legacy run f, NO LoRA, run_g (step 1000), run_h (step 1000), run_i (step 1000), and run_i_lateattn. Also see pier_W9_LORAS_6up.mp4 (step 400 vs 1000 progression including run_h step 400) and pier_W9_RYS_ONLY_6up.mp4 (zero-SRP RYS 20-36 comparison).
2. Bamboo katana duel (Ο = 0.80, hold = 4 across the horizontal slash): razor-sharp solid red blade and calm background stalks across all K=3 arms.
3. Rooftop umbrella vault (Ο = 0.973, Identity-Locked SRP [0, 2, 1]): prevents Ο = 0.973 camera/identity flips while keeping crisp flying roof tiles.
4. Rooftop sword clash (Ο = 0.973): compares run f + RYS 16 (broken blade) against NO LoRA and the K=3 LoRAs (clean crossed katanas & sparks).
Leaderboard Comparison Across Top Methods (1 Seed per Scene, Two-Pass handoff_sigma = 0.65, Pass 2 Pure Stock euler)
Metrics: dy_hf / dy_mx = high-frequency / max vertical horizon jitter in px (lower = steadier; pier source is 0.171 / 0.75 px); midSt / exSt = mid-hold / exit-ramp motion stutter ratio (lower = smoother; pier source midSt = 1.51); chunk = 17-frame chunk-boundary luma jump (lower = cleaner); sharp = Laplacian fine-detail ratio vs source; held_dy_hf = background jitter inside bamboo held span (lower = calmer). All panrun K=3 LoRA rows use Identity-Locked SRP ([0, 2, 1]).
| Method / Stack (Pass 1 β Pure Stock Pass 2) | Extra Deps | pier dy_hf / dy_mx |
pier midSt / exSt |
pier chunk / sharp |
bamboo PSNR / held_dy_hf |
panrun chunk / stutter |
rooftop chunk / stutter |
|---|---|---|---|---|---|---|---|
Source clip reference (pier) |
β | 0.171 / 0.75 |
1.51 / β |
β / 1.00 |
β | β | β |
Plain K=3 Two-Pass (euler, no RYS, no SRP) |
Core only | 0.361 / 0.68 |
β | 0.36 / β |
β | β | β |
K=3 + RYS 16β32 (euler, no SRP, +run f) |
Core only | 0.103 / 0.19 |
β | 0.29 / 1.68 |
21.48 dB / 0.943 |
1.70 / 5.48 |
0.41 / 4.34 |
K=3 + RYS 20β36 (euler, no SRP, NO LoRA) |
Core only | 0.150 / 0.31 |
5.08 / 3.32 |
0.56 / 1.71 |
21.26 dBβ / 0.721β |
β | β |
K=3 + RYS 20β36 (euler, no SRP, +k3_flow_s400) |
+ K=3 LoRA |
0.110 / 0.27 |
5.25 / 3.51 |
0.53 / 1.64 |
β | β | β |
K=3 + RYS 16β32 + SRP 1.0 (NO LoRA) |
+ SRP |
0.215 / 0.59 |
1.75 / 1.64 |
0.49 / 2.06 |
19.87 dB / 0.459 |
β | 0.45 / 2.45 |
K=3 + RYS 16β32 + SRP 1.0 + Legacy run f (K=2) |
+ SRP + K=2 |
0.176 / 0.40 |
1.59 / 1.92 |
0.51 / 2.04 |
20.14 dB / 0.955 |
β | β |
K=3 + RYS 16β32 + SRP 1.0 + k3_hisigma_flow_step1000_lateattn (Best All-Around) |
+ SRP + K=3 |
0.113 / 0.36 |
2.03 / 1.63 |
0.56 / 2.17 |
19.91 dB / 0.354 |
1.14 / 4.38 |
0.95 / 2.92 |
K=3 + RYS 16β32 + SRP 1.0 + k3_flow_step400 (Smoothest Overall) |
+ SRP + K=3 |
0.341 / 0.70 |
1.48 / 1.77 |
0.58 / 2.13 |
19.89 dB / 0.348 |
1.25 / 3.30 |
0.41 / 2.73 |
K=3 + RYS 16β32 + SRP 1.0 + k3_hisigma_flow_step1000 (Sharpest / Lowest Chunk) |
+ SRP + K=3 |
0.169 / 0.47 |
2.10 / 1.91 |
0.41 / 2.32 |
19.91 dB / 0.385 |
1.12 / 6.11 |
1.03 / 3.37 |
K=3 + RYS 16β32 + SRP 1.0 + k3_repeat_step1000 (Tightest Horizon Lock) |
+ SRP + K=3 |
0.111 / 0.23 |
2.43 / 2.13 |
0.55 / 2.06 |
19.94 dB / 0.426 |
1.39 / 4.55 |
0.83 / 3.66 |
β bamboo RYS 20β36 row measured with run f (Wave 6); RYS 16β32 NO LoRA on bamboo hit 21.37 dB / 0.727. Note also that on panrun at Ο = 0.80 (no clock), SRP 1.0 alone achieves PSNR = 20.15 dB, sharp = 2.23, chunk = 0.97, max_stutter = 2.04.
K=3 LoRA SHA-256 Checksums
minimax_h3_variable_clock_k3_hisigma_flow_step1000_lateattn_r16.safetensors015c5c374eeb517b1764eeef5495291983fd061fe822f25c16b160a503fcf29cminimax_h3_variable_clock_k3_hisigma_flow_step1000_r16.safetensors37756737078dfb08559550952cce8c6e18ba0d652b5c923ca38e58562c848841minimax_h3_variable_clock_k3_flow_step400_r16.safetensors0f841f7c8ee407f619899d0f6cfd8e718cf567836ad91721b39cddb47fa1e1abminimax_h3_variable_clock_k3_repeat_step1000_r16.safetensors0661f5f6faf7200d7c2a59a50086d08b30859094523d6587021ad69361df056a
Legacy Release: K=2 Variable Clock (run f, step 2,000, r16)
An experimental rank-16 LoRA that teaches MiniMax-H3 to run on a variable clock: the model is told, latent by latent, how much real time each latent covers. Each slow-motion stretch then gets more latents per second of real time, and the model generates those frames directly instead of making a normal clip and stretching it.
This is research output, released as is. Results below are from one seed per prompt and are mixed; read the "What it does and does not do yet" section before using it.
Why
Slow motion with H3 today goes through a "de-rope" pass (time-smear). Each real frame is repeated several times into a longer clip, the model re-denoises that clip, and the repeats are thrown away afterwards. Two problems:
- Wasted compute. You generate frames only to discard them.
- Small things move too fast. At higher denoise the model re-invents fine, fast detail (hair, sparks, leaves, birds) at its normal per-frame rhythm inside the stretched clip. After the repeats are dropped, that detail plays back too fast and looks stiff, even though the big motion was slowed correctly.
The goal here is to bake the clock into the model so it natively changes its time rate. Slowed stretches get less temporal compression (more compute per second of real time), and that compute should go into smoother, more coherent motion in the frames you keep, not into frames you throw away.
How it works
The clock. H3's video VAE packs pixel frames into latents in a fixed (1, 4, 4, 4, 4) pattern per 17 frames (legal lengths are 17k + 5 frames). Each latent gets a span, the real time it covers, which drives its temporal RoPE position. With 5/3 RoPE units per real frame:
| a 4-frame latent that holds | real frames | span | reads as |
|---|---|---|---|
| 4 distinct real frames | 4 | 6.67 | normal speed |
| 2 real frames, each repeated twice | 2 | 3.33 | 2x slow motion |
| 1 real frame, repeated four times | 1 | 1.67 | 4x slow motion |
A hold map lists, for every real frame, how many generated frames it occupies (1, 2 or 4), aligned to
the latent grid. The spans come from the hold map. The clock_maps/ folder holds the two maps used in the
videos below, in the format {"hold_map_used": [...]}.
The training data ("option 1"). The stock VAE is kept unchanged. Training clips were built from real 24 fps footage by repeating real frames inside latents: in a 2x stretch each latent holds 2 real frames (each shown twice), and in a 4x stretch it holds 1 real frame (shown four times). The training target is therefore always real frames, never invented in-between frames. Before training we checked that the stock VAE round-trips these repeated-frame latents at least as well as ordinary ones (kept-frame PSNR 35β38 dB, copies inside a latent within 0.3β0.5 of 255; 2 clips).
- 84 training rows from 21 live-action sources, 124 and 141 frames, 1280x736. Each source gives one normal-speed row, one constant 2x or 4x row, and two variable rows (ramps such as normal β 2x β 4x β 2x β normal, slow intro, slow outro, bursts).
- Of the 4-frame latents, 44% are normal speed, 30% 2x and 26% 4x. The mix is balanced across clip lengths and across the start, middle and end of clips, and slowed stretches start at random positions in the footage.
- Captions are the same for every row from a source, so the speed comes only from the clock, never from the text.
- No animation in the training data.
Training. LoRA rank 16 / alpha 16, AdamW 5e-5 (constant, 10 warmup steps), 2,000 steps, batch 1, bf16,
seed 20260923, 2 temporal fine RoPE bands kept at native rate (keep_bands = 2). A native-clock anchor
(weight 30) keeps normal-speed behaviour close to the base model. About 78 GPU-hours on one RTX PRO 6000
(about 2.3 min per step).
Inference. Give the sampler the hold map, so the per-latent spans are set, with the LoRA at 1.0 and the same 2 fine bands. Generate. Then keep the first copy of every real frame and play the result at 24 fps. Normal stretches play at normal speed and slowed stretches play as slow motion.
Legacy run f Files
| file | what it is |
|---|---|
minimax_h3_variable_clock_runf_step2000_r16.safetensors |
the LoRA as trained: all 50 blocks |
minimax_h3_variable_clock_runf_step2000_r16_lateattn.safetensors |
for turbo LoRAs on a generic schedule (with Pika's own sampler the full file does as well): blocks 0β34 as trained, blocks 35β49 attention only (their MLP parts removed; 170 of 200 modules). Less soft than the full LoRA, keeps part of the temporal steadiness. |
minimax_h3_variable_clock_runf_step2000_r16_noblock49.safetensors |
the full LoRA without block 49. A smaller sharpness gain than lateattn. |
Why the trimmed copies: stacked with a turbo LoRA, this LoRA softens the result. A block-by-block test with Pika 6-step (de-rope stage 2, inject 0.45, one seed, one clip, generic 6-step Euler rather than Pika's own knots) found:
| run f part used, clock on | fine detail vs source | copy drift in held stretches (lower = steadier) |
|---|---|---|
| none (Pika + clock only) | 1.08 | 5.7 |
| all blocks (full LoRA) | 0.96 | 3.3 |
| blocks 0β34 only | 1.08 | 5.8 |
| blocks 35β49 only | 1.00 | 3.4 |
| all but block 49 | 0.99 | 3.4 |
blocks 0β34 + attention of 35β49 (lateattn) |
1.01 | 4.1 |
| blocks 0β44 | 1.06 | 4.3 |
| full LoRA at strength 0.6 | 1.04 | 5.0 |
The early and middle blocks do almost nothing here. Blocks 35β49 carry both the temporal steadiness and the
softness, so no trim removes one without the other. lateattn is the best trade we found, and it also had the
lowest flicker of the clock-on runs. This LoRA does not touch H3's FinalLayer (where the PDD distillation heads
live); neither do the Pika and lightx2v LoRA files we checked.
Legacy run f Videos (Stage 1 T2V)
Every video is a side-by-side with the same seed (20260923), the same prompt and the same clock: stock
H3 + clock (left) vs this LoRA + clock (right). The banner shows the current speed. The prompts are in assets/.
Punching, long. 1344x768, 124 generated frames: about 1.4 s normal, about 2.25 s of 2x, about 2 s of 4x, 2x, normal. Bob and weave, slips, jabs, an uppercut, a spinning backfist and a hook-cross.
assets/punching_long_kept.mp4: the kept frames, the video you would actually ship.assets/punching_long_all_frames.mp4: every generated frame, including the repeats, with the real-frame / copy index in the banner.
The same clip with nothing thrown away. Every generated frame, repeats included, played at 24 fps. In the 2x and 4x stretches you can see what the model does inside each latent. Ideally the copies of one real frame would be identical; in practice motion keeps flowing across them.
Single full-resolution videos (no tiling or labels), in assets/raw/:
| kept frames (73, real time) | all generated frames (124) | |
|---|---|---|
| this LoRA + clock | punching_long_runf_kept.mp4 | punching_long_runf_all_frames.mp4 |
| stock H3 + clock | punching_long_stock_kept.mp4 | punching_long_stock_all_frames.mp4 |
Punching, short. 1344x768, 56 generated frames (2.3 s, shorter than H3's usual 5β15 s range), normal β 2x β 4x β 2x β normal.
assets/punching_short_kept.mp4assets/punching_short_all_frames.mp4
What run f does and does not do yet
All of the following are from one seed per prompt; treat them as observations, not measurements.
- Short punching clip: the stock model jumps between poses and draws see-through ghost fists. The LoRA moves through the punches more continuously, with motion blur on two frames of the fastest punch.
- Long punching clip: both versions handle the full spinning backfist. The stock model's frames look crisper; the LoRA shows more motion blur on the fastest punches.
- Anime rooftop run (not shown here): at step 2,000 the running figure stays crisp through the 2x / 4x stretch, where the stock model and an earlier time-smear-trained LoRA both ghosted or blurred.
- Live-action dancer (not shown here): a clean, coherent spin. This is the first checkpoint where kept frames in the slowed stretch move noticeably less per frame than in the normal stretch.
- Not learned yet: at 2x and 4x the copies inside a latent should come out as the same held frame, because that is how training repeated them. They don't yet. They differ by about 7β9 out of 255 on average, against about 0.4 for true repeats through the VAE, so motion keeps going across the copies. Using only the first copy of each real frame hides this.
- It still costs more compute on slowed stretches. It does not yet save compute anywhere; that is the next research step (variable compression in both directions, and in space for detail such as faces and hands).
Legacy run f ComfyUI Workflows
The workflows/ folder also keeps the original run f (K=2) API-format workflows:
| file | what it does |
|---|---|
stage1_t2v_clock.api.json |
Stage 1: text-to-video directly on the variable clock (LoRA + H3 True Clock), then keeps the first copy of every real frame |
stage2_derope_clock_pika.api.json |
Stage 2 with Pika 6-step (legacy K=2): Pika's own sampler (its six knots + lcm), the last 3 knots (inject 0.45). Steps 1β2 run Pika + run f + H3 True Clock; the last step runs Pika alone on the normal clock |
stage2_derope_clock.api.json |
Stage 2: the usual de-rope pass (H3 Time Smear β partial denoise β H3 Exact Recover), with the clock and the LoRA switched on |
source_generation.api.json |
stock H3 at normal speed; its output is the example input for stage 2 |
Both clock workflows save two videos: *_kept (the real-time result) and *_all_frames (everything generated).
build_workflows.py regenerates all three from the prompt and the clock map.
Example outputs from these exact workflows (ComfyUI, int8 pruned DiT, 20 steps, seed 20260923), in
workflows/example_outputs/:
source_native.mp4: the stage 2 input.stage1_kept.mp4/stage1_all_frames.mp4stage2_kept.mp4/stage2_all_frames.mp4: frames 20β92 of the source, re-denoised at inject 0.45 (the MAINodes default).stage2_pika_kept.mp4/stage2_pika_all_frames.mp4: the Pika workflow on the same source (90 s on the test machine).
What you need
- ComfyUI with the core MiniMax-H3 nodes.
- ComfyUI-MAINodes:
main(version 1.2.12 or later) for legacyH3TrueClock(keep_fine_bands = 2forrun f), or theexp-stage2-rysbranch forH3Stage2Clock(keep_fine_bands = 3+ RYS + two-pass splitter). - The LoRA in
models/loras/minimax_h3_variable_clock/, and the H3 models named in the loaders. The workflows use the int8 pruned DiT and the nvfp4 text encoder; swap in what you have.
Clock maps. The hold_map string is {"holds": [...], "world_len": N}, with one entry per real frame.
The legacy run f LoRA was trained only on maps that line up with H3's latent grid:
- Pixel frames are packed in a (1, 4, 4, 4, 4) pattern per 17 frames.
- In each 4-frame latent, every real frame has the same hold: either 4 frames held once (normal), 2 frames held twice (2x), or 1 frame held four times (4x).
- Each single-frame latent holds one real frame once.
- The holds must add up to the clip length: 17k + 5 frames, e.g. 124.
The maps in clock_maps/ follow this rule. This snippet builds one from a per-latent speed list:
PATTERN = (1, 4, 4, 4, 4)
def clock_map(latents, speeds): # speeds: one of 4, 2, 1 per 4-frame latent (4 = normal)
holds, k = [], 0
for i in range(latents): # latents = 5k + 2, e.g. 37 for 124 frames
if PATTERN[i % 5] == 1:
holds.append(1)
else:
s = speeds[k]; k += 1
holds += [4 // s] * s
return {"holds": holds, "world_len": len(holds)}
(Note: for the new K=3 Stage-2 stack and K=3 LoRAs, do not force hold = 1 on 17k singletons β use uniform standard H3ManualHoldMap / H3JerkOracle ramps across singletons and 4-frame tokens. See docs/STAGE2_CLOCK_GUIDE.md.)
Legacy run f With Pika 6-Step
Use Pika's own sampler. MAINodes' Pika preset is: manual sigmas 1.0, 0.972973, 0.923077, 0.8, 0.571429, 0.333333, 0,
sampler lcm (fresh noise every step) and pika_h3_flex_fl2va_v1. With a generic 6-step Euler schedule everything
came out softer and less faithful.
Then turn the LoRA and the clock off for the last step. stage2_derope_clock_pika.api.json does this as two
samplers: Pika + this LoRA + H3 True Clock for knots 0.8 β 0.571 β 0.333, then Pika alone with DisableNoise from
0.333 to 0. The idea is that timing is decided in the early steps and detail in the last.
From one seed on the punching clip, against the full LoRA with the clock on every step, this has a little more
fine detail (1.19 vs 1.17 of the source), the best fidelity (20.95 dB) and the least flicker of the clock runs.
Turning off only the LoRA for the last step adds detail but costs steadiness and adds flicker. With this sampler,
the lateattn trim performs the same as the full LoRA, so the full file is fine here.
Side by side (Pika only / Pika + clock / Pika + LoRA + clock / LoRA + clock off for the last step):
assets/pika_levers_sbs_kept.mp4.
How This Compares to DyRoPE / H3 True Clock Without a LoRA
- The clock signal is the same. MAINodes' H3 True Clock,
H3Stage2Clock, DyRoPE and these LoRAs all give each latent a RoPE time span equal to the real time it covers, computed from the hold map. Hold maps carry over between them. - DyRoPE works around an untrained model. The stock model never saw a stretched time grid. Feeding the stretched grid to every block corrects the speed but adds seam flash and jitter. DyRoPE therefore applies it to some blocks only, or fades it in or out over the denoise schedule, trading speed correction against artifacts. It is inference-only, and only for re-denoising a time-smeared clip.
- These LoRAs train the model to read the clock. Every block gets the clock on the active steps, split only by
RoPE frequency (
keep_fine_bands = 3for the newK=3Stage-2 LoRAs;keep_fine_bands = 2for legacyrun f). - What that adds: variable-speed text-to-video from scratch (Stage 1), and a Stage-2 DeRoPE pass where small, fast detail slows down cleanly with the clock instead of regenerating at normal speed.
- What it does not change yet: the compute cost. A 4x latent still costs a full latent for one real frame, the same cost per kept frame as DeRoPE.
Notes & Legacy run f SHA-256 Checksums
- The Musubi-side tests used per-latent true-clock spans on the pruned bf16 DiT. The ComfyUI workflows were checked end to end on the int8 pruned DiT.
- Base model: MiniMax-H3 (FL2VA, pruned). See
LICENSE-MiniMax-H3for the base model's terms.
minimax_h3_variable_clock_runf_step2000_r16_lateattn.safetensors sha25671e5f27c0891aacb9c9c06795a28d5cec41bf288582b47896835cc8041768b1a
minimax_h3_variable_clock_runf_step2000_r16_noblock49.safetensors sha2568d51f66245b2fbe8354004a81c619198e5c86cdb2e775df3f743542446b253b1
minimax_h3_variable_clock_runf_step2000_r16.safetensors sha256c01235bd0b7492856162b9965431007e9f9828e77454324d7f246546aeb1e652
- Downloads last month
- 377
Model tree for MATLOWAI/MiniMax-H3-Variable-Clock
Base model
MiniMaxAI/MiniMax-H3