Repository navigation
Description
Source. deepbeepmeep/WanGP (read at f4cfc12, v20, 2026-11-17). Its licence is the WanGP Community License 2.0, so this is concepts only: no code is taken. Upstream sources and their own licences are named below; those govern anything we would load.
What it is. Open-H3 Regenerate 2K IC (Efficient-Large-Model/Open-H3-Regenerate-2K-IC, released around 2026-11-09; reference CLI in NVlabs/Sana, branch sol-engine; licence not stated, weights sit on the H3 Ref2VA base). It is a successor to the non-IC refiner LoRA we evaluated and built a faithful-regenerate arm for under #1065 / #1081 / #1082. WanGP reports better identity preservation and fewer invented details than the non-IC release, keeping identity, lip sync and composition, finishing at up to 2560x1440 in 3 extra steps.
How the draft conditions the second pass (from WanGP's pipeline, described in prose):
- Phase 1 renders a draft at half the target size (8 steps on Ref2VA with an accelerator LoRA, or 6 on HyperFlow Flash).
- The raw phase-1 video latent goes through a learned 3D latent upscaler (the LBH-123-AI architecture, which
dw/tasks/h3_latent_upscale.pyalready runs) to target size, then is mixed with seed noise at the first phase-2 sigma. - Phase-2 sigmas are 0.834942, 0.696852, 0.468753, 0.
- The draft latent, at its own half-size resolution, becomes the only Ref2VA reference video; its decoded frames are shown to the text encoder as
<Video 1>, and the prompt becomes a fixed task text ("Enhance <Video 1> into a high-quality version of the same video. Preserve the scene, objects, camera motion, timing, and composition...") followed by "Scene description:" and the original prompt. All phase-1 image/video/audio references are dropped; start/end keyframes are rebuilt at target size. With tiling, each tile gets the draft crop under it plus its offset. - Phase-2 LoRAs: the IC LoRA (WanGP ships a 6.2 GB bf16 repack; the upstream fp32 is 12.5 GB) and the LMS sharpness LoRA (idea: trial Alissonerdx H3 LoRAs + LMS sharpness latent upscaler (aligned-guide LoRAs blocked on #611) #612), both off in phase 1 and on in phase 2. Euler, CFG 1.
- Soundtrack kept by freezing the audio schedule (all-zero audio sigmas): the phase-1 audio latent is clean conditioning, never re-noised, and is what gets decoded. If our pipeline can't freeze audio, remuxing the phase-1 audio is the fallback.
Why it may fit. Every piece is something dw already runs: Ref2VA with a reference video, the latent upscaler, refine sigmas, two-phase LoRA scales, held audio. It is composition plus one LoRA download.
Open questions for evaluation. Does diffusers' Ref2VA accept a reference video at a different resolution from the output? Does it hold faces better than #1065's arm on our own chains (A/B on lem)? Host RAM and VRAM at 2560x1440 tiled on a 24 GB card.
Ask. Owner lead: evaluate whether this is worth a plan, and either write one (with probes and cost) or close it with the reason. Found in the 2026-11-22 WanGP review; the earlier pass (#985) covered only v18.21's H3 handler.
(recorded by claude-opus-5-5 via anthropic in Don's session)
Activity
dkackman commentedon Nov 22, 2026
Lead agent claude-opus-5-5 via anthropic. Read-only sweep at
developfc893f8.Verdict: build smaller. One probe stage, no engine change
Ship a
trialcatalog entry for the IC LoRA and run the A/B on lem that #1065's arm lost. Tiled 2560x1440 is deferred. It needs new engine behaviour (references on arefine_tilesstep, and a per-tile reference crop), and it only becomes worth that if the probe shows the IC LoRA keeps faces better than the no-LoRA refine.Value. Nobody has asked for output above 768p:
drill-1524-3dialogue-short at draft tier; the wholeh3-qualityladder is 1344x768).field-reportasks for 1080p or 2K, or complains about softness.The value is conditional. idea: H3 refiner LoRA (open_regenerate_2k_r128) as an alternative to the low-sigma refine pass #1065's non-IC LoRA was sharper but redrew identity: crop PSNR 18.6 dB against 26.4 dB for the no-LoRA tiled refine. The IC release claims to fix exactly that. A probe settles it for about one session.
Build cost.
Inertia. One catalog entry (a JSON file, and catalog-count tests that already absorb new entries) and one guide paragraph. No MCP, REST or syntax surface, and no new concept: it composes
ref2va+h3_latent_upscale+refine_sigmas+hold_audio, which all ship today.Reversibility. Yes. A
trialentry can be retired or rejected without a breaking change.Cheaper alternatives.
Overlap.
minimax-h3/open-h3-regenerate-2k, its metric and its drafts are reused.Demand evidence
field-reportsearches for refine, 1080p, 2K, upscale, sharp, identity, face, resolution, detail and soft turned up nothing asking for higher resolution.list_jobs) has no refine or regenerate job in Don's own workspaces. The regenerate runs are all inqa-h3-regen-2kand idea: H3 refiner LoRA (open_regenerate_2k_r128) as an alternative to the low-sigma refine pass #1065's probe jobs.Sweep: what the feature touches
Already works, with no engine change:
CORE_DENOISE_SEQUENCESincludes ref2va (dw/pipeline_processors/h3_rules.py:46).h3_hold.py:14-31,:126-169).h3_hold_steps.py:475).[0.834942, 0.696852, 0.468753, 0]pass_sigma_problems(h3_rules.py:121-173) atrefine_strength0.834942 and steps 4. #1065 stage B: refine_sigmas on H3 refine steps, plus the faithful regenerate arm #1082 shipped this.hold_audio. The phase-1 audio latent is held clean and decoded, and a refine requires it (h3_rules.py:97). The remux fallback isn't needed.{"reference_type": …VideoReference, "from_previous_result": "<draft>"}(dw/arguments.py:505-527).dw/tasks/h3_latent_upscale.py. Noising at the first sigma is the refine block's job.<Video 1>:block itself (diffusers/modular_pipelines/minimax_h3/encoders.py:544-612). The reference must carry no audio, or the label becomes<Audio 1>first.Corrections to the proposal:
_normalize_video_condition(before_encoder.py:277-344) LANCZOS-resizes every reference onto a canvas with a ~768 short edge. The model card's own draft is 1344x768, so for the 2K target this is near-identity. A 960x544 draft for a 1080p target is upscaled ~1.4x before encoding. That is harmless, but the reference never sits at the draft's own size.transformer_ref(modular_blocks_minimax_h3.py:428-494). The draft (t2va/fl2va) and the regenerate (ref2va) are separate steps with separate LoRA sets, and the IC LoRA loads on ref2va only.rejectedin our catalog (loras/minimax-h3/lms.json,workflow: null, blocked on idea (parked): H3 latent-space chunk continuation - blocked on multi-frame keyframes in diffusers #611). See Q4.Efficient-Large-Model/Open-H3-Regenerate-2K-IC@54a7104b204fb46486cf85c2f600942118186d57, ungated, licenceminimax-h3-community. That is the H3 base's own licence, which dw already runs under, so it raises no new trust question. The file islora/open_h3_regenerate_2k_ic_lora.safetensors(fp32, rank 384, ~12.5 GB). WanGP's 6.2 GB bf16 repack sits under WanGP's licence, so we don't use it.Breaks (needs engine change), tiled only. Deferred, not in this plan:
TILE_CONFLICTSlistsreferences(h3_rules.py:268-277, refused at:382-397). That breaks a tiled IC pass, which needs a reference on arefine_tilesstep. The tests that pin it aretests/test_h3_refine.pyandtests/test_h3_rules.py.h3_tiles.py:252-300gives every tile the same arguments; onlylatentsand the refine noise are cropped (:285-286). The recipe's "draft crop under each tile plus its offset" needs per-tile reference construction, and the 768p re-canvas would rescale each crop again.Catalog and docs consumers (stage A):
loras/minimax-h3/open-h3-regenerate-2k-ic.jsonwithworkflow: ["ref2va"]. The enum allows it (dw/lora_catalog_schema.json:15-23). A trial entry on the wrong partition only warns (dw/adapter_compatibility.py:207-234).loras/minimax-h3/open-h3-regenerate-2k.json: itsuse_whenis stale (it says the sigmas wait on #1065 stage B: refine_sigmas on H3 refine steps, plus the faithful regenerate arm #1082, which shipped). Correct it, and say how it differs from the IC entry.tests/test_server_loras.py,tests/test_catalog_structure.py,tests/test_plugin_skills.py,tests/test_plugin_intents.py.docs/WORKFLOW_GUIDE.md› Explicit refine sigmas gains the IC recipe as a second example. The skill's "Past 768p" row (plugins/dw/skills/minimax-h3/references/quality-and-speed.md:168-184) changes only if the probe wins, in a follow-up.Problem and non-goals
Problem. Find out whether the IC regenerate LoRA keeps identity, lip sync and composition through a draft-to-final regenerate on our 24 GB cards.
Non-goals:
Stage A: IC LoRA trial entry and the A/B probe (server, catalog + docs; lem)
Builds:
The
trialentryminimax-h3/open-h3-regenerate-2k-ic:54a7104b…, filelora/open_h3_regenerate_2k_ic_lora.safetensors, licenceminimax-h3-community,workflow: ["ref2va"];[0.834942, 0.696852, 0.468753, 0], CFG 1,hold_audio.The build first checks that the LoRA's keys load on
transformer_ref. Unmatched keys are recorded, and if nothing matches the stage stops and records "not loadable".The stale
use_whenfix on the non-IC entry.The guide example.
The probes, as scratch workflows in
qa-h3-regen-2k. There is no template. Each probe is draft →h3_latent_upscale→ ref2va regenerate with the IC LoRA, using the recipe above:qa-h3-regen-2k, plus PSNR/SSIM of each arm against the upscaled draft (faithfulness).get_output_frames) and a lip-sync spot check.Unit tests and docs: catalog-count updates; a schema-valid entry with a pinned 40-hex revision; the guide paragraph; the proposal doc
docs/proposals/h3-regenerate-2k-ic.md.Deploy: server (catalog). The probes run on lem.
Estimate: about $4–6 of session, 12.5 GB of disk, about 1–1.5 h of GPU.
Acceptance intent (over MCP):
list_loras(model="MiniMaxAI/MiniMax-H3")andstatus="trial"both listminimax-h3/open-h3-regenerate-2k-ic:[ref2va], the pinned 40-hex revision, licenceminimax-h3-community;The
workflow="t2va"listing doesn't show it.The non-IC entry's
use_whenno longer says the sigmas wait on #1065 stage B: refine_sigmas on H3 refine steps, plus the faithful regenerate arm #1082.validate_workflowwith a ref2va regenerate step carrying the IC entry, afrom_previous_resultvideo reference,latents,hold_audio,refine_strength0.834942, steps 4 and the recipe sigmas returns valid with no partition warning.The same LoRA on a t2va step validates with a warning that names the entry, says it is trial, and names the transformer/transformer_ref mismatch.
A reference that carries audio is not the tester's to refuse; it's in the doc as a rule.
Every job id in the probe table exists in
qa-h3-regen-2k:passes3, the recipe sigmas,hold_audioand the IC LoRA on ref2va;compare_outputsat the stated timestamps and crop.If P1 OOMed, its failed job carries the OOM reason.
Order and dependencies
There is one stage. Nothing blocks it. The tiled follow-up, if Q3 brings it, gets its own design.
Risks
transformer_ref: the entry is recorded as not loadable and the stage ends early. That is cheap.Questions
referencesfromTILE_CONFLICTS, plus per-tile reference crops) is deferred. Default: I file it as a new feature only if the probe wins Q2. If otherwise: it is planned now as stage B, blocked on A.rejectedunder idea (parked): H3 latent-space chunk continuation - blocked on multi-frame keyframes in diffusers #611. Default: omit it. If otherwise: stage A adds an LMS arm and a ref2va verdict forlms.json.Reply in comments and hand back with
owner:lead. Approve by addingstatus:plan-approvedyourself. No agent may set it.Decision for Don: run a one-stage probe of the IC regenerate LoRA (12.5 GB download, ~1–1.5 h lem GPU) and defer tiled 2K.
Kind: spend Default: stage A ships the trial entry and the A/B, and you judge the faces.
If otherwise: no download, and the issue is parked until a smaller file or demand above 768p appears. Reversible: yes
dkackman commentedon Nov 22, 2026
Ruling (Don, 2026-11-22): defer. Parked. Nobody has asked for output above 768p: productions run at 1344x768, and no field report mentions softness. It also costs a 12.5 GB download and 1–1.5 h of lem against the announcement queue. Reopen on a field report asking for output above 768p, or on a request from Don once the loops are drained.
— recorded from Don's Claude Code session (claude-opus-5-5 via anthropic)