Instructions to use sandpies/cleantie-v2Sing-hybrid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use sandpies/cleantie-v2Sing-hybrid with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Inference
- Notebooks
- Google Colab
- Kaggle
CleanTie, HandTie & SilkTie β V2Sing Hybrid (MiniMax-H3 Ref2VA)
Audio-safe FL2VA Γ Singularity V2 Ref2VA checkpoints for ComfyUI:
cleantieβ SFW base spinehandtieβ calibrated anatomy stack (Beta7 + S3 + MysticXXXorthogonal sum)silktieβ CleanTie V2Sing Γ10Eros v1.0 Ref2VA OrthFix(8-stepbaked), built for multi-RefMod lock, softer skin speculars, and fast 24 GB / 32 GB VRAM inference
All quant builds use Hessian + STE learned quantization with 52Γ embedded comfy_kitchen_int8 attention (1.9β2.8Γ faster than warm BF16, ~20% faster than static INT8 ConvRot).
Pick ONE checkpoint β do not double-stack.
_turbo_andsilktie_v2Sing_eros_8step_*files already have the 8-step turbo baked in FP32 (lcm/euler+beta_57at8 steps,CFG 1.0).handtie_andsilktie_files already carry their anatomy/Ref2VA adaptations; never add a second anatomy stack or another 8-step turbo.
Quick Pick
- SilkTie Multi-Ref Daily Driver (
silktie_v2Sing_eros_8step_int8_minmaxxed,20.96 GiB): Best pick for32 GBGPUs and multi-<Picture>/ 3-sheet RefMod scenes. CombinesCleanTie V2Sing's audio safety & lighting with10Eros v1.0 OrthFix(0.2868%NRMSE, zero cross-subject garter/outfit bleed). - SilkTie Smaller HQ (
silktie_v2Sing_eros_8step_w6_g16_hq,18.39 GiB): Lighter~18 GiBtarget for24 GBGPUs (~5.6 GBVRAM headroom). Keepsblocks.0, 1, 49&token_refinerin BF16,out_proj+fc2in INT8, andqkv+fc1in W6g16(0.585%W6 /0.118%B2 INT8 NRMSE;6.84/255MAE vsint8_minmaxxedon 3-RefMod lobby). - CleanTie / HandTie Daily Driver (
_turbo_int8_minmaxxed,20.97 GiB): Hessian-calibrated INT8 ConvRot +52ΓINT8 attention. Fast high-fidelity drop-in (1.92β2.46Γvs warm BF16) with cleaner color/prop lock and speech match than uncalibrated INT8. - CleanTie / HandTie Smaller HQ (
_turbo_w6_g16_hq,19.20 GiB): Mixed W6 (g=16) + INT8 +52ΓINT8 attention (2.06β2.36Γvs BF16,1.76 GiBlighter). Top SFW pixel/audio fidelity onnightmarket_anime(21.13 dB) &midnight_store_male(22.43 dB/0.994audio cos). - Low-VRAM Experimental (
_turbo_w4w6_compact,14.17 GiB): Mixed W4/W6/INT8 +52ΓINT8 attention. Fastest/smallest (2.32β2.75Γspeed), caveat: visual structure holds well, but voice cloning drops (0.645β0.933) on some dialogue prompts. - Unbaked Spines / Merging: Grab
base/anatomy(_bf16or_int8_convrot) and pair withcleantie_PikaDMAD_audiosafe_8step_sep_fro99(0.85β1.0).
Checkpoints & LoRAs
SilkTie β CleanTie V2Sing Γ 10Eros v1.0 Ref2VA OrthFix (8-Step Baked)
| Precision Tier | File | Size | Solve NRMSE | Target Hardware & Notes |
|---|---|---|---|---|
| INT8 MinMaxxed (32 GB rec.) | silktie_v2Sing_eros_8step_int8_minmaxxed |
20.96 GiB |
0.2868% (2.7Γ vs nat) |
blocks.0,1,2,49 & token_refiner BF16 + 184 INT8 ConvRot + 52Γ INT8 attn |
| W6 g16 HQ (24 GB GPU target) | silktie_v2Sing_eros_8step_w6_g16_hq |
18.39 GiB |
0.585% W6 / 0.118% B2 INT8 |
blocks.0,1,49 & token_refiner BF16, out_proj+fc2 INT8, qkv+fc1 W6 g16 + 52Γ INT8 attn |
| BF16 | silktie_v2Sing_eros_8step_bf16 |
37.46 GiB |
β | Full precision reference & merging spine |
CleanTie & HandTie β 8-Step Turbo Baked (Standalone β No Turbo LoRA)
| Precision Tier | CleanTie (SFW) | HandTie (Anatomy) | Size | Notes |
|---|---|---|---|---|
| INT8 MinMaxxed (rec.) | turbo_int8_minmaxxed |
turbo_int8_minmaxxed |
20.97 GiB |
Hessian GPTQ+STE + 52Γ INT8 attn (blocks.0,1,2,49 & refiner BF16) |
| W6 g16 HQ | turbo_w6_g16_hq |
turbo_w6_g16_hq |
19.20 GiB |
W6 g16 (qkv/fc1) + INT8 (out/fc2) + 52Γ INT8 attn |
| W4/W6 Compact (exp.) | turbo_w4w6_compact |
turbo_w4w6_compact |
14.17 GiB |
W4 (qkv/fc1), W6 (out, 47..48), INT8 (fc2, 0,1,49) + 52Γ INT8 attn |
| INT8 ConvRot (legacy) | turbo_int8_convrot |
turbo_int8_convrot |
20.59 GiB |
Uncalibrated ConvRot (blocks.0,1,49 BF16), stock attention |
| BF16 | turbo_bf16 |
turbo_bf16 |
37.46 GiB |
Full precision |
Unbaked Base Spines & Standalone Turbo LoRAs
| Role | CleanTie / Shared | HandTie | Size | Use With |
|---|---|---|---|---|
| Base Spine (INT8 ConvRot) | base_int8_convrot |
anatomy_int8_convrot |
20.59 GiB |
14+ steps or pair with PureTurbo sep_fro99 |
| Base Spine (BF16) | base_bf16 |
anatomy_bf16 |
37.46 GiB |
Merging / LoRA stacking |
| PureTurbo LoRA (rec.) | PikaDMAD_8step_sep_fro99 |
(works on both) | 1.47 GiB |
Any unbaked H3 base (0.85β1.0, avg_r=158.5, >=99% Fro energy) |
| PureTurbo LoRA (Full) | PikaDMAD_8step_bf16 |
(works on both) | 3.57 GiB |
Unpruned source LoRA for merging |
Recommended ComfyUI Settings
- Steps:
8 steps(standalone on_turbo_, or base + PureTurbo @0.85β1.0; MiniMax-H3 ships distilled, so8 stepsis the only sampler value you set) - Sampler / Scheduler:
lcm(oreuler) +beta_57/beta/simple - Flow Shift:
shift_video = 12.0,shift_audio = 2.0β3.0(benchmarked at12.0 / 2.5) - Runtime Requirement: Quantized checkpoints use ComfyUI
comfy-kitchen(int8_tensorwiseConvRot,w6a8_int8,asym_w4a8_int8, and embeddedcomfy_kitchen_int8attention configs). Update ComfyUI &comfy-kitchen(>= 0.2.41) before loading. - Long-form Chaining: Built for
ComfyUI-Hand-Tie-Clipsmulti-hop Ref2VA workflows.
RTX 5090 8-Step Ref2VA Benchmarks (vs BF16 Reference)
Measured end-to-end in ComfyUI (lcm, beta_57, shift 12.0 / 2.5, 8 steps, 73f @ 480Γ640 / 640Γ480 across 5 scenes):
| Checkpoint Tier | Layer Solve NRMSE | Speedup vs BF16 | Video Lat Cos | Audio Spec Cos | Notes |
|---|---|---|---|---|---|
int8_minmaxxed |
0.281β0.295% (2.7Γ vs nat) |
1.92β2.46Γ (8.3β11.6s) |
0.863β0.976 |
0.953β0.980 |
Best ref color/prop lock (MAE 6.17 vs 9.50 ConvRot on ht_voice_strip) |
w6_g16_hq |
0.569β0.592% (2.7Γ vs nat) |
2.06β2.36Γ (8.9β10.6s) |
0.903β0.978 |
0.908β0.994 |
Best PSNR on nightmarket_anime (21.1 dB) & midnight_store (22.4 dB / 0.994 aud) |
w4w6_compact |
1.98β2.07% W4 (2.8Γ vs nat) |
2.32β2.75Γ (8.1β10.1s) |
0.862β0.962 |
0.645β0.933 |
Visual coherence stays strong; voice similarity drops on some dialogue prompts |
int8_convrot (legacy) |
Uncalibrated | 1.77β1.92Γ (10.4β13.2s) |
0.914β0.972 |
0.923β0.987 |
Occasional prop/furniture color shift; no embedded INT8 attention |
SilkTie A/B & W6 g16 Parity (8 steps, lcm, beta_57, shift 12.0 / 2.5):
- SilkTie (
int8_minmaxxed) vs HandTie V2Sing (int8_minmaxxed): 10-scene A/B across 3-<Picture>, 3-RefMod, voice, video-ref dance, and anatomy prompts β SilkTie won7/10,2ties,1split (stronger multi-ref isolation, cleaner skin speculars, and zero<Picture 3>drop). - SilkTie (
int8_minmaxxed) vs10Eros v1.0 OrthFix BF16:+10.2%higher temporal motion at48 fpsin live multi-hop chain testing with preserved voice cloning andRefModlock. - SilkTie
w6_g16_hq(18.39 GiB) vsint8_minmaxxed(20.96 GiB):6.84 / 255pixel MAE (0.794audio cos) on 3-RefMod lobby (22.86svs25.46s),0.585%W6g16final NRMSE (2.67Γbelow native) and0.118%INT8 NRMSE onblocks.2.
Under the Hood β Merge, Audio Protection & Hessian Quantization
cleantieSpine (FL2VA prunedΓSingularity V2):- Closed-form AdaLN alignment:
Singularity V2time_embedderprojected ontoFL2VA'sadaln_t_tableviafloat64least-squares (rel L2 = 2.1025e-05). - Modality-split AdaLN: Visual
0.40 -> 0.85, text0.40 -> 0.60, audio held conservative at0.15. - Audio-safe backbone (
PRISM-v2): SVD denoised (r=64,gamma=0.92..1.0) + polar SLERP onQ/V/out/fc1;Kpinned at0.12,mlp.fc2at0.18 -> 0.10, andfinal_layer.audio_out0.90 FL2VAwith row norms locked to prevent speech shrinkage.
- Closed-form AdaLN alignment:
- Audio-Rebalanced PureTurbo (
Pika-H3-Flex Ref2VAΓDMAD 8-step):- Depth-band audio rebalancing,
token_refinerowned by Pika (0.65), late-block(I - U_vid)projection (blocks 35..49) orthogonalizing DMAD against FL2VA's visual subspace, and per-source SVD (sep_fro99,>=99%energy).
- Depth-band audio rebalancing,
handtieAnatomy Stack (FP32 Linear Sum oncleantieBase):0.50 Γ 10Eros_beta7_nsfw_extract(blocks 0..49+token_refiner) +0.20 Γ S3_filtered_LoRA_2048_froextract_099(blocks 0..49) +0.30 Γ MysticXXX_MMH3-V5-ref2va(blocks 0..49mlp.fc1/fc2only;audio_patch_proj&final_layer.audio_outskipped).- Deliberately under-strength β donors add capability, not a look. Every donor runs at
0.50 / 0.20 / 0.30instead of1.0, rows are projected orthogonal to the base (and pairwise orthogonalized) before the sum, then row-norms are retracted to the base. Nothing saturates, nothing double-counts, and the audio head plustoken_refinerare left alone β so anatomy/motion/prop knowledge arrives without a baked aesthetic or shrunk voice. - Consequence: LoRA headroom is preserved. Because no donor was allowed to dominate the weight space, later style / character / detail LoRAs still load at their normal
0.2β0.6and behave like they would on the base model, instead of fighting a pre-baked style. What you should not stack: a second anatomy stack, or another 8-step turbo.
silktieMerge (CleanTie V2SingΓ10Eros_Max_8stepTurbo_v1.0_ref2va_orthfix):- Exact
8 β 8affine AdaLN alignment:float64lstsqacross both[1025, 8]curve_rank8adaln_t_tablebases (0.1635%fit residual), followed by modality-split AdaLN (vis/txt = 0.50,aud = 0.20). - Multi-Ref & Audio Locks:
condition_proj&token_refiner0.85 B(retainingB25β49Sulphur-3-orthogonal Ref2VA fix from HF PR #46),Q/V/out0.45 -> 0.80 B,Kpinned at0.20,fc10.65 -> 0.85 B,fc2tapered0.35 -> 0.20 B,final_layer.audio_out0.80 A+ row-norm lock, and proportional0.25 Γ cleantie_PikaDMAD_audiosafe_8step_bf16turbo bake.
- Exact
- Activation-Learned Quantization (
_hq&_compact):- Calibrated on modality-balanced rotated Hessians (
G_bal = E[(X H)^T (X H)]) across 8-step Ref2VA trajectories (cleantie: 16 SFW items;handtie: 13 anatomy/voice/video/music items;silktie: 12 trajectories including 3 multi-RefMod scenes) using Cholesky-preconditioned GPTQ + 120-step analytic STE scale refinement and52Γembeddedcomfy_kitchen_int8attention configs.
- Calibrated on modality-balanced rotated Hessians (
- Reproduce: Merge scripts included at
scripts/build_v2sing_hybrid.pyandscripts/build_silktie.py.
Reproduce β Merge, Hessian Capture & Learned Quant Scripts
Everything used to build these checkpoints ships in scripts/. No hidden knobs β the files are the output of these six scripts plus the public donors credited below.
| Script | Lines | Role |
|---|---|---|
scripts/build_v2sing_hybrid.py |
1076 | Stage A (CleanTie / HandTie) β FL2VA pruned Γ Singularity V2 merge, audio-safe PRISM-v2 backbone, AdaLN transfer, PureTurbo bake, optional static ConvRot |
scripts/build_silktie.py |
256 | Stage A (SilkTie) β CleanTie V2Sing Γ 10Eros v1.0 Ref2VA OrthFix 8β8 affine AdaLN + PRISM-v2 merge + 0.25Γ PureTurbo bake |
scripts/h3_hessian_capture.py |
623 | Stage B β hooks MiniMaxH3Model during real 8-step sampling and accumulates the modality-balanced rotated Hessian of every hooked layer |
scripts/h3_learned_quant.py |
977 | Stage C β the quantizer: exact Hadamard rotation β Hessian-weighted clip/scale search β Cholesky rotated-space GPTQ β STE polish β monotonicity guard |
scripts/run_super_quants.py |
221 | Orchestrates BβC for all three tiers: RAM-safe block passes, disk pre-flight, INT8 donor reuse for the W6/W4 tiers |
scripts/verify_outputs.py |
43 | Audit any output before shipping: tensor count, INT8 + qmeta pairing, non-finite scan (incl. FP8 scales), edge-block dtype check |
# Stage A β CleanTie/HandTie merge + turbo bake (five public donors staged in ./inputs)
python build_v2sing_hybrid.py --reuse-base --reuse-turbo
# Stage A (SilkTie) β CleanTie V2Sing base x 10Eros v1.0 Ref2VA OrthFix + 0.25x PureTurbo
python build_silktie.py --below-normal --overwrite
# Stage B β Hessians captured from real 8-step trajectories (60β90 min/family, ~59 GiB)
python h3_hessian_capture.py \
--model outputs/cleantie_v2Sing_hybrid_base_turbo_bf16.safetensors \
--clip ComfyUI/models/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors \
--vae ComfyUI/models/vae/minimax_h3_video_vae_fp16.safetensors \
--audio-vae ComfyUI/models/vae/minimax_h3_audio_vae_fp32.safetensors \
--manifest calib_cleantie.json --out-dir hessians/cleantie \
--block-ranges 0-7,8-28,29-49 --steps 8 --attn-mode all_int8
# Stage C β one tier (use --mode w6_int8_hq --w6-group-size 16 --edge-blocks 0,1,49 --donor ... for SilkTie ~18 GiB W6)
python h3_learned_quant.py \
--src outputs/cleantie_v2Sing_hybrid_base_turbo_bf16.safetensors \
--out outputs/cleantie_v2Sing_hybrid_base_turbo_int8_minmaxxed.safetensors \
--hessians hessians/cleantie --mode int8_hq --edge-blocks 0,1,2,49 --protect-refiner \
--attn-mode all_int8 --ste-steps 120 --device cuda
# Audit β what we run before any upload
python verify_outputs.py outputs/cleantie_v2Sing_hybrid_base_turbo_int8_minmaxxed.safetensors
Calibration manifest schema (bring your own prompts β ours are 16 SFW items for cleantie and 13 anatomy/voice/video/music items for handtie):
{
"name": "cleantie_calib_16",
"items": [
{
"id": "sfw_01_portrait_anna_voice",
"prompt": "subject_definitions: ... (full six-field Ref2VA prompt)",
"ref_images": ["h3_refs/portrait.png"],
"ref_audios": ["h3_refs/voice.mp3"],
"width": 480, "height": 640, "length": 73,
"steps": 8, "sampler": "lcm", "scheduler": "beta_57",
"shift_video": 12.0, "shift_audio": 2.5, "seed": 12345
}
]
}
Notes on the published copies: developer paths are rewritten to relative (./ComfyUI/...) or env-driven defaults (H3_TEXT_ENCODER, H3_VIDEO_VAE, H3_AUDIO_VAE, H3_DIFFUSION_DIR); nothing else differs from what produced these files. The quantizer refuses to write any layer whose learned loss exceeds its native loss, so a completed run is by construction at least as good as the uncalibrated baseline on the calibration set.
Showcase β SFW 8-Step Benchmarks
Same seed, prompt, reference sheet, and reference voice rendered through every tier at 8 steps, so the only variable is the checkpoint. Sheets read leftβright as BF16 Β· INT8 ConvRot Β· INT8 MinMaxxed Β· W6 g16 HQ Β· W4/W6 Compact, and every clip keeps its own 32 kHz soundtrack.
1 Β· Cafe dialogue β photoreal, female voice clone (640Γ480, 73f)
Five tiers, same seed β side by side
More in benchmarks/: [BF16 β INT8 MinMaxxed reel](benchmarks/ct_voice_cafe__reel_AB.mp4) and the five individual clips.
2 Β· Night-market anime β 2D linework & walking shot, female voice clone (640Γ480, 73f)
Five tiers, same seed β side by side
More in benchmarks/: [BF16 β INT8 MinMaxxed reel](benchmarks/ct_nightmarket_anime__reel_AB.mp4) and the five individual clips.
3 Β· Midnight convenience store β photoreal uniform, male voice clone (480Γ640, 73f)
Five tiers, same seed β side by side
More in benchmarks/: [BF16 β INT8 MinMaxxed reel](benchmarks/ct_midnight_store_male__reel_AB.mp4) and the five individual clips.
All 21 clips live in benchmarks/. The calibrated handtie anatomy benchmark set ships with the Civitai release only, never here.
Credits & License
- Base architecture & weights: MiniMaxAI/MiniMax-H3 & Comfy-Org/MiniMax-H3 (
minimax-h3-community-license-agreement) - Ref2VA action backbone: WarmBloodAban/Minimax-h3_Singularity (
Singularity V2, Apache 2.0) - 8-Step Turbo distillation: Pika-Labs/Pika-H3-Flex & ZhengmingYu/DMAD (
minimax-h3-community-license-agreement) - Anatomy &
silktiedonors (handtie/silktie): TenStrip/10Eros-Max (10Eros_beta7_nsfw_extract) & TenStrip/LTX2.3-10Eros_Version-Testing (10Eros_Max_8stepTurbo_v1.0_ref2va+ OrthFix PR #46),S3(S3_filtered_LoRA_2048_froextract_099), andMysticXXX_MMH3-V5-ref2va
Released under the MiniMax-H3 Community License Agreement. Respect all upstream license terms when redistributing derivatives.
- Downloads last month
- 2,852


