Repository navigation
Open
Labels
featureWork bigger than a fix: designed with Don, built in stages (harnest R11)Work bigger than a fix: designed with Don, built in stages (harnest R11)owner:donParked for human decisionParked for human decisionparkedParkedParkedtarget:lem
Description
What
Investigate whether FastVideo's FastH3 Omni BF16 checkpoint, FastVideo/FastVideo-FastH3-Omni-8-Step-V1, can replace the 768p Ref2VA 8-step LoRA path on dw's ref2va templates. If it can, onboard it through the model-family-onboarding skill. It is part of the FastH3 Omni collection, released 2026-10-20. The license is the MiniMax-H3 Community License.
It is a full finetune of the H3 Ref2VA transformer, not a LoRA. That means the converter failure behind the rejected fasth3-4step / fasth3-preview LoRA entries does not apply. Those entries fail on .diff / .diff_b full-weight keys (#585).
What is known (from the repo files, not yet run)
- Diffusers layout.
transformer_ref/config.jsonisMiniMaxH3Transformer3DModelwith the same shape as stockMiniMaxAI/MiniMax-H3.modular_model_index.jsonpoints the text encoder, tokenizer, processor, vae and audio_vae atMiniMaxAI/MiniMax-H3. The repo ships only the transformer, about 68 GB of BF16 in 14 shards, plus the two scheduler configs. - Its inference contract (
fastvideo_inference.json) says:model_type: ref2va, 8 forwards,guidance_scale1.0- shift 12 for video and 3 for audio, the same as the current Ref2VA 8-step recipe
pdd_steps: 32, withpdd_step_indices0, 4, 8, …, 32
- Training validation (
metadata.json) ran at 1344x768 with 345 frames (about 14.4 s) at 24 fps. Audio is 32 kHz stereo. - "Omni" means many references: up to 9 images, 3 videos and 3 audio clips, at most 12 in total, tagged
<Picture N>/<Video N>/<Audio N>. At least one image or video is required, so it covers Ref2VA only, not T2VA.
Risks to answer
- Trained-gate sparse attention. It was trained under
VIDEO_SPARSE_ATTN_H3: sparsity 0.9, tile 128,vsa_ref_policy: p2_multi_region, ref keep rate 0.1. Every block carriesattn.to_gate_compress.weight. Diffusers 0.41.0.dev0 has no slot for those keys or for thepdd_stepsconfig field, so we expect them to be dropped with a warning and the model to run dense. That transplant was a non-goal of spike: Ref2VA sparse attention (FastVideo VSA gate + comfy-kitchen sol_attn) #931. How quality holds up under dense attention, or under dw'ssparse_topk, is the open question. - Schedule. Confirm that
MiniMaxH3Schedulerat shift 12 with dw's step count lands on the same sigmas as the PDD indices 0, 4, …, 32 on the 32-step grid. Also confirm whether that count is 8 or 9 under dw's off-by-one convention. If they differ, find out whether the sigmas can be set from the workflow without any knowledge in engine code. - Memory and time on lem (3090, 24 GB). Measure int8 quantize plus group offload: peak memory and wall time against the current Ref2VA 8-step LoRA path.
Plan
- Stage 0 (go/no-go). Load
transformer_reffrom this repo into aref2vaworkflow on lem. Record which keys load as unexpected or missing and every warning the loader prints. Render one 960x544 clip. Close if it fails to load or renders noise. - Stage 1 (A/B). Run 1344x768 Ref2VA against the current 768p Ref2VA 8-step LoRA, with the same seed, prompt and references. Run it dense and under
sparse_topk. Record wall time, peak memory and Don's visual verdict, especially likeness to the references and skin texture. - Stage 2 (multi-reference). Run a 3+ image reference prompt and an audio reference prompt to see whether the Omni conditioning gains over stock Ref2VA show up through diffusers.
- If it wins: onboard via
model-family-onboarding. Add a catalog entry and the shift/steps/alpha combination toplugins/dw/skills/minimax-h3/references/checkpoints-and-loras.md, record thedownloads_requiredsize, and do a template swap only on Don's verdict.
Out of scope
The other repos in the collection, unless stage 1 says otherwise:
FastH3-Omni-FP8and-NVFP4-QAD: FastVideo/ComfyUI loaders. NVFP4 needs a Blackwell card, and the 3090 has no native FP8.- The
-Comfyvariants and-MLX: not diffusers. FastH3-NVFP4-VAE-Decoder: Blackwell-only, except forfast-8L/decoder.safetensors, a 1.1 GB BF16 8-layer decoder. That one might speed up decode, but it needs a custom loader (it ships withconvert_to_fastvideo_pt.py). Possible follow-up.
Metadata
Metadata
Assignees
Labels
featureWork bigger than a fix: designed with Don, built in stages (harnest R11)Work bigger than a fix: designed with Don, built in stages (harnest R11)owner:donParked for human decisionParked for human decisionparkedParkedParkedtarget:lem
Activity
dkackman commentedon Oct 23, 2026
Plan v1: FastH3 Omni 8-step as the Ref2VA transformer
Lead design session,
claude-opus-5-5viaanthropic. Read againstdevelop@ 68ae280.Disposition of the
idea. This is a feature, not one fix. The eval itself needs no code. But onboarding it touchesplan.py'sdownloads_required(engine) and adds a variable to everyref2vatemplate. That is more than the #824 pattern, which was catalog data plus skill prose. It is not a duplicate: #585 covered the drozbay FastH3 LoRAs (rejected on.diffkeys), and #931/#932 covered sparse attention, not this checkpoint.Verdict: build smaller. Evaluate first (stages A–B), and onboard (C–D) only on your visual verdict
Value. Quality only, not speed. This checkpoint is a full finetune, but it still makes 8 forwards. That is the same pass count as the current 768p Ref2VA 8-step LoRA path, so per-step cost is unchanged (Test lightx2v's 4-step Ref2VA turbo LoRA (v0.1) for music-video renders #824 measured per-step cost as independent of the distillation file). FastVideo's speed comes from the trained VSA gate (
to_gate_compress), and diffusers can't load that, so it won't come across. The possible gains are:Who gains: your H3 projects.
list_workspacesshowsknown-issues,h3-quality,two-minds,russian-anthem/soviet-anthemandshedding-skin-quartet, and Ref2VA drives the lip-synced and cast shots. Test lightx2v's 4-step Ref2VA turbo LoRA (v0.1) for music-video renders #824's field report put a Ref2VA music-video render at about 1 h per card. If the Omni path removes the turbo-LoRA smear at the same cost, it is a real win. If it only matches the LoRA path, it adds nothing.Build cost. A ≈ $3 plus GPU time and a 68 GB download on lem. B ≈ $4 (renders). C ≈ $3. D ≈ $3. The eval alone is about $7, and the full path about $13.
Inertia (C–D only).
ref2vatemplate (data, but every agent sees it).tests/test_plugin_skills.py.downloads_requiredlearns per-component sources. That fix is correct on its own.dw/trust.py:248-277gates onlytrust_remote_code/custom_pipeline).Reversibility. Full. It is a template default and a skill line. Nothing names data after it.
Cheaper alternatives.
checkpoints-and-loras.md:22) is already the quality path for faces, at 12–30 steps.Overlap. None open. spike: Ref2VA sparse attention (FastVideo VSA gate + comfy-kitchen sol_attn) #931 and eval: lightx2v Turbo-SLA LoRAs on the sparse backend #932 are closed. The
fast-8LVAE decoder stays a possible follow-up, out of scope.Problem and non-goals
The goal is to find out whether FastVideo's full-finetune Ref2VA transformer beats the stock transformer plus the 8-step Ref2VA LoRA on likeness and texture at equal cost, and if it does, to make it reachable by arguments.
Non-goals:
Design (corrections to the issue)
model_name. The sweep found two ways to pointtransformer_refat the repo:(B), chosen: keep
from_pretrained_arguments.model_name: MiniMaxAI/MiniMax-H3and addload_components.pretrained_model_name_or_path: {"transformer_ref": "FastVideo/FastVideo-FastH3-Omni-8-Step-V1"}. dw passesload_componentsthrough verbatim (dw/pipeline_processors/config_objects.py:88-119). The SDNQ cache keys on the overridden repo (dw/quantized_cache.py:713-721, 899-910), so it never reuses the stock entry. Pipeline identity is unchanged, so these keep working: the VRAM ceiling, theplan.estimatecost inheritance, every H3 validator (they key on component type, workflow or class), and every test that selects H3 templates bymodel_name(tests/test_h3_schedule.py:28-52,tests/test_catalog_structure.py:599-625).(A), rejected:
model_name: FastVideo/..., relying on itsmodular_model_index.json. It loads, but it silently drops several things:dw/vram_estimate.py:82-106,dw/server/deps.py:356-415);Its
downloads_requiredwould also omit MiniMax-H3 itself.downloads_requiredmisses the override (an engine gap)._collect_sources(dw/plan.py:897-1010) reads onlyfrom_pretrained_arguments.model_name,loras[].model_nameand single-file URLs. Under (B), the 68 GB repo is absent from the plan. Stage C fixes this generically: it reads per-componentpretrained_model_name_or_pathfromload_components, with no model knowledge. That is needed before any template ships the override.MiniMaxH3Scheduler.set_timestepsbuildslinspace(1, 0, N)and then applies the shift pointwise (scheduling_minimax_h3.py:156-159). So N = 9 gives the grid points k/8, which are exactly the PDD indices 0, 4, …, 32 of a 33-point / 32-interval grid. That is 8 forwards, under dw's "passes + 1" rule (plugins/dw/skills/minimax-h3/SKILL.md:110-112). This assumes FastVideo's 32-step grid is uniform with the same shift formula. Stage A confirms it from the repo's scheduler config, and the job'sdenoise_total_stepsshould read 8. A workflow can't set explicit sigmas: the modular pipeline callsset_timesteps(num_inference_steps)without passing them. That's fine if the analysis holds. If it doesn't, the scheduler would need its own passthrough, and that is a separate engine issue, not this plan.lora_model_name: null.list_loras/recommend_loraswill still offer the stock Ref2VA turbo LoRAs, because the basemodel_nameis unchanged (dw/lora_catalog.py:51-84). Stacking a distillation LoRA on a distilled checkpoint is wrong. Stage D adds a skill line, not catalog logic.plan.py'sdownloads_required(C);ref2vatemplates get one variable (D);minimax-h3skill (D);Stages
A: go/no-go (eval only, no code merged). On lem, author an inline
ref2vaworkflow over MCP:reference-to-videowith the (B) override,lora_model_name: null, int8, shift 12/3, 9 steps, at 960x544 with one reference image. Record:to_gate_compress,pdd_steps), fromget_job_events;denoise_total_steps, plus the sigma check from item 3 against the repo's scheduler config;The record is an audit file,
docs/proposals/audits/2026-10-xx-fasth3-omni.md, merged as docs only, plus a summary comment.get_jobon the recorded job showssucceeded, a 960x544 mp4 with audio, and the override inget_job_workflow. The audit lists the dropped keys and states 8 denoise passes. Readingget_output_framesshows a coherent subject, not noise. If it fails to load or renders noise, the audit says so with the job id, and B–D closenot planned.B: A/B and multi-reference (eval only). Use the same seed, prompt and references at 1344x768:
sage_hub);sparsewith the template'ssparse_topk;Each run gets a
notesaying what it tests. B extends the audit with a table of wall time, peak memory and the job ids, then hands to you for the visual verdict on likeness, skin texture and multi-reference gain.get_job_workflowshows the argument it claims, and the audit's timings matchget_job. Your verdict is the gate: C–D go ahead only if you say Omni wins.C:
downloads_requiredreads per-component sources (engine). Generic: anyload_components.pretrained_model_name_or_path(a string, or a dict per component withdefault) adds that repo and subfolder to the plan's sources, with size and gated status. It is landable on its own, since it is correct for any workflow.tests/covers the dict form, the string form, thedefaultkey, and dedupe againstmodel_name.downloads_requiredrow indocs/ARCHITECTURE.md.validate_workflowon an inline ref2va workflow with the override listsFastVideo/FastVideo-FastH3-Omni-8-Step-V1inplan.downloads_required, with its size, next toMiniMaxAI/MiniMax-H3. Without the override, the list is unchanged from today. A dict holding onlydefaultlists that repo.D: onboard (data only).
ref2vatemplate getstransformer_ref_model_name(defaultMiniMaxAI/MiniMax-H3), wired into the per-component override.checkpoints-and-loras.mdgets the Omni combination:transformer_ref_model_name=FastVideo/...,lora_model_name: null, shift 12/3, 9 steps, 1344x768, its download size, and "never stack the turbo LoRA".costcomes from B's measurement.Details:
tests/test_plugin_skills.pypins the new numbers. A catalog test asserts the variable on everyref2vatemplate.get_workflowon eachref2vatemplate shows the variable with the stock default.run_workflowwithtransformer_ref_model_name=FastVideo/...andlora_model_name=nullsucceeds, and itsvalidate_workflowplan lists the FastVideo repo.Order: A → B → (your verdict) → C → D. C and D are filed now, and close
not plannedif B loses. No other feature blocks any stage.Risks
recommend_loraswill mislead on this path (item 4), and only skill prose covers it.Questions
transformer_ref_model_nameas an argument, with the skill naming when to pick Omni. If you choose "Omni becomes theref2vadefault", D also flips the default andlora_model_nameto null on those templates, and theircostchanges.Reply in comments and hand back with
owner:lead. Approve by addingstatus:plan-approvedyourself. No agent may set it.dkackman commentedon Oct 23, 2026
Plan v1 review: send back
Reviewed against
develop@ 4be37f5, the repo's safetensors headers, and FastVideo'sdocs/inference/fasth3-distilled.md.Blocking: the checkpoint is a PDD student, not a finetune
The plan treats the repo as a full finetune whose only surprise is
to_gate_compress. It is a Parallel Decoding Distillation student. FastVideo's docs: the student "widens the transformer's two output projections topdd_stepsheads, one per interval of a fixed fine time grid on[0, 0.999]. Each transformer forward fuses a block of consecutive heads into their integration-weighted mean, and an ordinary Euler step over the block's two node sigmas applies it."Shapes read from the safetensors headers:
proj_out.weightaudio_proj_out.weighttransformer_blocks.N.attn.to_gate_compress.weightBoth output projections are 32x wider (
pdd_steps: 32). The key-suffix diff the issue relied on cannot see this because the key names match and only the shapes differ.Consequences:
Cannot load ... expected shapeon a size mismatch unlessignore_mismatched_sizes=True, and that path leavesproj_outrandomly initialised. The render would be noise by construction, and the plan's acceptance test would record a false negative and close B–Dnot planned.set_timestepssetting produces that. The grid also runs on[0, 0.999](grid_max_t), not[0, 1], so "exactly the PDD indices" was already off at the top.basic_fasth3_omniref_pdd.py.What holds
ModularPipeline.load_componentshonours a per-namepretrained_model_name_or_pathdict andComponentSpec.loadmerges it over the spec;dw/quantized_cache.pykeys the SDNQ cache on the override (_SPEC_FIELDS). The schema does not forbid extra keys underload_components. Worth keeping as the mechanism for any future single-component swap.downloads_requiredgap is real (dw/plan.py:_collect_sourcesreads onlyfrom_pretrained_arguments.model_name,loras[].model_nameand single-file URLs). Stage C is correct on its own and should land regardless.Recommended disposition
to_gate_compresswith a warning" is not what happens.checkpoints-and-loras.md.Handing back with
owner:lead.dkackman commentedon Oct 23, 2026
Don's ruling: no custom loader. Parking.
Nothing in stages A, B or D can run without one: the checkpoint's 32-head PDD output projections do not load into diffusers'
MiniMaxH3Transformer3DModeland the modular pipeline has no head-fusion sampler. Stage C is split out as #981 and proceeds on its own.Unpark when diffusers (or a diffusers-compatible library we already depend on) can load and sample a MiniMax-H3 PDD student. At that point plan v1's (B) per-component override and the A→B eval are the right shape; only item 3 (schedule) needs rewriting for block fusion.
Optional, no dw work: run FastVideo's
basic_fasth3_omniref_pdd.pyonce on lem against the same references as the current Ref2VA LoRA path for a visual signal. Recorded here if done.dkackman commentedon Oct 25, 2026
unstrand: feature, parked, target:lem (no owner) → + owner:don. Don's 2026-10-23 ruling parked this himself ("no custom loader. Parking.") until diffusers can load and sample a MiniMax-H3 PDD student. (claude-opus-5-5 via anthropic)
dkackman commentedon Nov 3, 2026
A data point from leonardofrito/Directors-Cut (MIT, reviewed 2026-11-03): its H3 video path recommends the FastH3 Omni-ref 8-step checkpoint as the local default ("native VSA without a separate acceleration LoRA"), with the original H3 8-step Ref2VA recipe plus its acceleration LoRA as the fallback and a VSA variant of that as experimental. It pulls the Comfy-format files from
FastVideo/FastH3-Omni-Comfy(fasth3_omniref_8step_pruned_bf16and_int8_convrot), notes there is no Comfy-Org REF2VA NVFP4 file, labels the Omni REF variants unofficial, and uses it for every Ref2VA render including its performer-swap pipeline (#1194). No quality numbers are posted; it is the author's working choice, not a measurement.docs(bench): speed round promotes nothing; #980 out of long-form scop…
dkackman commentedon Nov 7, 2026
Long-form (#1199): out of scope. FastH3 Omni is a 68 GB Ref2VA transformer
finetune. The long-form chains are t2va/fl2va, so it cannot speed a chain. It stays
parked as its own onboarding. Record:
bench/records/speed.md.