Qrusher H3 FL2VA Γ— Ref2VA AdaLN Hybrid

A raw MiniMax H3 hybrid built from Comfy-Org's pruned FL2VA and Ref2VA floating-point checkpoints. FL2VA supplies the backbone. Ref2VA contributes progressively through the AdaLN projections, with a 50/50 final-layer blend.

Credit for the published hybrid schedule goes to OliviaRossi. This release applies that schedule to already-pruned inputs, with an affine alignment of their timestep curves. My contribution is this build and the accompanying implementation. Olivia's documented pipeline starts from dense models, then fuses distillation adapters and prunes the result. OliviaRossi's hybrid recipe

Released checkpoint

Property Value
File Qrusher_H3_FL2VA_Ref2VA_Hybrid_pruned_V1.safetensors
Family MiniMax H3, joint audio/video transformer
Format ComfyUI single-file safetensors, pruned curve-form conditioning
Precision Floating point, preserving each source-A tensor's actual dtype
Size Approximately 40.2 GB / 37.46 GiB
Tensor count 532
Backbone FL2VA
Timestep coordinates FL2VA
Acceleration adapters Raw base, with adapter baking available as a separate step

The source filenames end in bf16. The merger preserves actual per-tensor storage, including any FP16 and FP32 tensors present. This release is a checkpoint merge, with no additional training stage.

Source checkpoints

Role Exact input
A, backbone and output timestep coordinates minimax_h3_fl2va_pruned_bf16.safetensors
B, donor AdaLN and final-layer contribution minimax_h3_ref2va_pruned_bf16.safetensors

Merge recipe

Block indices are zero-based.

Tensor group Source / operation
Attention, MLPs, backbone norms, and token refiner Copy FL2VA
Input projections and other tensors outside the selected groups Copy FL2VA
adaln_t_table Copy FL2VA
AdaLN projections and biases, blocks 0–19 Copy FL2VA
AdaLN projections and biases, blocks 20–34 Smoothstep toward aligned Ref2VA
AdaLN projections and biases, blocks 35–49 Aligned Ref2VA
All final_layer.* tensors 50/50 blend, aligning its AdaLN weight and bias first

Blocks 20–35 are the transition endpoints. Block 20 has 0% B, block 35 reaches 100% B, and subsequent blocks continue at 100% B for AdaLN. Attention and MLP weights in those late blocks still come from FL2VA.

For block index $i$, Ref2VA's contribution follows Olivia's published schedule. Recipe and equations

Ξ±(i)={0i<20t2(3βˆ’2t),t=(iβˆ’20)/1520≀i<351iβ‰₯35. \alpha(i)= \begin{cases} 0 & i<20 \\ t^2(3-2t),\quad t=(i-20)/15 & 20\leq i<35 \\ 1 & i\geq35. \end{cases}

After aligning the donor projection,

WH=(1βˆ’Ξ±)WA+Ξ±WBβ€²,bH=(1βˆ’Ξ±)bA+Ξ±bBβ€². W_H=(1-\alpha)W_A+\alpha W'_B, \qquad b_H=(1-\alpha)b_A+\alpha b'_B.

The backbone selection is an implementation of the card's FL2VA-backbone / Ref2VA-AdaLN description. The affine alignment is this implementation's adaptation to the already-pruned inputs. Final numerical results depend on that adaptation and storage rounding.

Technical explanation

AdaLN and the timestep curve

AdaLN produces timestep-dependent shift, scale, and gate values that control transformer processing. The pruned format uses adaln_t_table to represent the timestep embedding in a compact coordinate space, consumed by folded projection matrices.

Both inputs have FP32 tables of shape [1025, 8]. Their contents differ. The eight coordinate columns and their associated projection weights form a matched representation. The script converts B into A's coordinate system before applying the blend. Background on the shipped curve representation and recovered affine bases is available from multimodalart. Pruning provenance

Affine alignment and bias folding

With row-oriented tables $T_A,T_B$, the script solves in float64

X=[TAβ€…β€Š1],M=argmin⁑Mβˆ₯XMβˆ’TBβˆ₯F2. X=[T_A\;\mathbf{1}], \qquad M=\operatorname*{argmin}_M\|XM-T_B\|_F^2.

Splitting $M$ into an $8 \times 8$ matrix $R$ and an offset row $c$ gives

TBβ‰ˆTAR+1c. T_B\approx T_AR+\mathbf{1}c.

The donor originally computes

YB=TBWB⊀+1bB⊀. Y_B=T_BW_B^\top+\mathbf{1}b_B^\top.

Its projection in A's coordinates is approximated by

WBβ€²=WBR⊀,bBβ€²=bB+WBc⊀. W'_B=W_BR^\top, \qquad b'_B=b_B+W_Bc^\top.

Both transformations matter. The bias correction absorbs the difference in the curves' offsets. The output uses FL2VA's existing table.

This is an unconstrained affine least-squares projection. The fitted matrix can include rotation, scaling, and shear. An explicit orthogonal Procrustes constraint is outside this implementation.

ComfyUI interpolates neighboring table rows at intermediate timesteps. A fixed affine mapping commutes with that interpolation, so the coordinate conversion also applies between table samples, subject to its residual and numerical rounding. ComfyUI H3 implementation

Alignment measurements

The production run reported

Diagnostic Result
Compatible tensors 532
Relative L2 table-fit error 4.9342639e-05, approximately 0.004934%
Worst donor modulation-fit relative L2 6.6650418e-06, approximately 0.0006665%
Worst projection blocks.48.adaln_proj.linear.weight
Diagnostic grid All 1,025 stored timestep samples

The modulation diagnostic compares the donor's original projection output, including its bias, with the output obtained through the fitted table mapping. It is evaluated before rounding the transformed projection weights into their output dtypes.

These values quantify coordinate-alignment accuracy. Final rounded modulation error and video/audio quality require separate evaluation. Generation speed, exposure improvements, identity consistency, and audio quality have no measured benchmark claim in this release.

ComfyUI usage

  1. Put the checkpoint in ComfyUI/models/diffusion_models/.
  2. Select it in Load Diffusion Model.
  3. Use an H3 workflow with its matching text encoder, video VAE, audio VAE, and conditioning.
  4. Start with standard undistilled H3 sampling settings appropriate for the workflow.
  5. Evaluate the hybrid against the source models using matching prompts, references, and settings.

The raw checkpoint is the hybrid stage before optional acceleration adapters. For few-step experiments, apply a suitable Turbo/distillation adapter live through LoraLoaderModelOnly or create a baked variant using the second script.

Use each adapter's intended sampler and sigma schedule when testing a distilled variant. The base and the different adapter variants can require different settings.

Live LoRA loading and baking apply the same scaled delta mathematically. Runtime patch precision, checkpoint rounding, and subsequent quantization can change numerical results.

Included scripts

File Purpose
h3_adaln_hybrid.py Build the raw hybrid and measure timestep alignment
h3_bake_distillation.py Bake compatible attention/MLP LoRAs

Commands assume the scripts and inputs are in the current directory. Change paths for your installation.

Requirements and streaming

Both scripts require Python and NumPy and perform merge arithmetic on the CPU.

& "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe" -m pip install numpy

They read and validate safetensors headers, access inputs with numpy.memmap, and write output incrementally. The safetensors header/payload handling is implemented directly.

The hybrid converts compact projections in row batches. The baker keeps the down factors required for the current module in memory and constructs updates a batch of output rows at a time. It accumulates updates in FP32 and casts each modified weight once to the base tensor's dtype.

RAM usage depends on shapes, adapter count, NumPy workspace, and operating-system file caching. Each complete checkpoint needs approximately 37.46 GiB of output disk space beyond the inputs.

Outputs are written to a temporary file beside the destination, flushed, then published on success. Existing destinations are rejected. An interrupted process can leave a .partial file to clean up manually.

Rebuild the raw hybrid

Validate and measure alignment

& "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe" .\h3_adaln_hybrid.py `
  ".\minimax_h3_fl2va_pruned_bf16.safetensors" `
  ".\minimax_h3_ref2va_pruned_bf16.safetensors" `
  --out ".\Qrusher_H3_FL2VA_Ref2VA_Hybrid_pruned_V1.safetensors" `
  --dry-run `
  --check-modulation

Remove --dry-run to create the checkpoint. The modulation check is optional and can also run during the real build.

Argument Meaning Default
model_a Pruned FL2VA input Required
model_b Pruned Ref2VA input Required
--out Output path H3_FL2VA_Ref2VA_Adaln_Hybrid.safetensors
--transition-start First transition block, at 0% B 20
--transition-end First block at 100% B 35
--dry-run Inspect headers and small tables Off
--check-modulation Read donor AdaLN projections and measure alignment Off

Boundaries must satisfy 0 <= start < end <= 49. To start at block 10 and reach full B at block 30, add

--transition-start 10 `
--transition-end 30

These controls change AdaLN mixing. The backbone comes from A and the final layer retains its 50/50 blend.

The script requires matching normalized tensor names and shapes, the 50 block AdaLN pairs, final-layer audio/video projections, and finite [1025, 8] curve tables. It accepts BF16, FP16, and FP32 weights. Full-form timestep embedders and quantized inputs cause an error.

Optional adapter builds

The examples below create separate variants from the raw hybrid. Their inclusion here documents reproducible commands. Check the repository file list for which checkpoints have actually been uploaded.

DMAD + PDMD

This uses Olivia's published strengths, DMAD 0.85 and PDMD 0.333. Adapter recipe

& "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe" .\h3_bake_distillation.py `
  ".\Qrusher_H3_FL2VA_Ref2VA_Hybrid_pruned_V1.safetensors" `
  --dmad ".\dmad_minimax_h3_8step_full_critic_comfyui.safetensors" `
  --pdmd ".\minimax_h3_pdmd_4nfe_comfyui_v6.safetensors" `
  --dmad-strength 0.85 `
  --pdmd-strength 0.333 `
  --out ".\Qrusher_H3_Hybrid_DMAD_PDMD.safetensors" `
  --dry-run

Both adapters target 208 projections. PDMD v6 already includes fused QKV factors, alpha entries, and the SwiGLU gate/value remap. The baker consumes that converted layout directly. PDMD conversion documentation

PikaFlex at 0.85

& "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe" .\h3_bake_distillation.py `
  ".\Qrusher_H3_FL2VA_Ref2VA_Hybrid_pruned_V1.safetensors" `
  --pika ".\pika_h3_flex_ref2va_v1_bf16.safetensors" `
  --pika-strength 0.85 `
  --out ".\Qrusher_H3_Hybrid_Pika_0.85.safetensors" `
  --dry-run

Choose the PikaFlex adapter appropriate to the conditioning workflow. Comfy-Org PikaFlex conversion and workflow guidance

LarryVRH Turbo

& "C:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe" .\h3_bake_distillation.py `
  ".\Qrusher_H3_FL2VA_Ref2VA_Hybrid_pruned_V1.safetensors" `
  --lora ".\minimax_h3_turbo_v4_step600_ema_comfy_pruned.safetensors" 1.0 `
  --out ".\Qrusher_H3_Hybrid_LarryV4_Step600.safetensors" `
  --dry-run

For the 4-step checkpoint500 variant, use this adapter and output instead

--lora ".\minimax_h3_turbo_4step_ckpt500_comfyui_pruned.safetensors" 1.0 `
--out ".\Qrusher_H3_Hybrid_Larry4Step_Ckpt500.safetensors"

The inspected pruned conversions contain 208 rank-64 factor pairs and specify W + B @ A. LarryVRH created the original Turbo adapters. QrusherZA provided the ComfyUI/pruned-compatible conversions. Original adapters Β· QrusherZA conversions

Remove --dry-run from the selected complete command to bake. The adapter's contribution is then included in the saved weights.

Baker parameters and compatibility

Argument Meaning Default
model Floating-point base checkpoint Required
--out New checkpoint path Required
--dmad / --dmad-strength DMAD file and multiplier Optional / 0.85
--pdmd / --pdmd-strength PDMD v6 file and multiplier Optional / 0.333
--pika / --pika-strength PikaFlex file and multiplier Optional / 0.85
--lora PATH STRENGTH General adapter input, repeatable Empty
--dry-run Validate factor pairs, target shapes, and scales Off

Provide at least one adapter. Supported modules are attn.qkv_proj, attn.out_proj, mlp.fc1, and mlp.fc2 under main blocks and token-refiner blocks.

Supported factor suffixes are lora_A/lora_B and lora_down/lora_up, with optional scalar alpha. Prefixes diffusion_model. and model.diffusion_model. are normalized for matching. Unsupported keys or mismatched shapes cause an error.

For adapter $j$,

Ξ”Wj=sjΞ±jrjBjAj,Wout=Wbase+βˆ‘jΞ”Wj. \Delta W_j=s_j\frac{\alpha_j}{r_j}B_jA_j, \qquad W_{out}=W_{base}+\sum_j\Delta W_j.

Absent a module alpha tensor, the script uses alpha = rank. The resulting alpha/rank scale is 1.

Dense AdaLN adapters, direct tensor replacements, DoRA, arbitrary Diffusers layouts, and quantized checkpoint inputs require additional conversion. The baker rejects a checkpoint with its own h3_distillation_bake metadata record. Create alternative recipes from the raw hybrid.

Reproducibility and validation

The hybrid stores source basenames, schedule, table-fit error, optional modulation diagnostics, and precision policy under the safetensors metadata key h3_adaln_hybrid.

The baker preserves input metadata and adds h3_distillation_bake with adapter filenames, strengths, module counts, and arithmetic policy. Keep input hashes separately when recording exact source revisions.

Source hashes recorded from the Comfy-Org file pages

Input SHA256
FL2VA a32572fb90b5508b201ec7c2eddcc184b13ddfd3c6f6d2cf06a0b46535d541b4
Ref2VA 37c0da793e20ca735272ec2be655f08a2e10f97a3ec8fdfb40f5b39a736ed6fe

Synthetic numerical tests covered affine weight/bias conversion, schedule boundaries, backbone preservation, adapter scaling, and separate adapter variants. The raw hybrid's production merge completed successfully. ComfyUI generation quality and performance need independent evaluation. Different source revisions, linear-algebra libraries, and rounding can change final file bytes.

Credits and references

  • MiniMax AI created H3 and the original weights. Original model
  • Comfy-Org and Kijai distributed the pruned ComfyUI inputs. Source repository
  • OliviaRossi published the FL2VA/Ref2VA hybrid schedule, final-layer blend, and optional DMAD/PDMD strengths informing this build. Hybrid model card
  • Pedro Cuenca / multimodalart documented the compact curve representation and recovered affine bases. The current script derives its mapping directly from the two shipped tables. Pruning provenance
  • deepbeepmeep / Wan2GP publishes the AdaLN pruning derivation. Pruning code
  • Zhengming Yu and collaborators created DMAD for the optional distilled builds. DMAD models and paper links
  • PDMD authors and Iwannapose supplied the PDMD method and ComfyUI v6 conversion. Original adapter Β· ComfyUI conversion
  • Pika / Mellis and Comfy-Org contributors supplied PikaFlex and its conversion. ComfyUI adapters
  • LarryVRH created the Turbo adapters used in the optional examples. Turbo repository

License

This checkpoint derives from MiniMax H3. Its use and redistribution remain subject to the MiniMax H3 Community License Agreement and applicable source terms. Optional adapters retain their upstream terms.

MiniMax H3 Community License Agreement

Support

Support QrusherZA's conversion and tooling work

PayPal β€” Thiren Govender

Downloads last month
428
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for QrusherZA/H3_Hybrid_Merge_Prism

Merge model
this model