Skip to content

idea: trial Alissonerdx H3 LoRAs + LMS sharpness latent upscaler (aligned-guide LoRAs blocked on #611) #612

Closed

Description

@dkackman

Idea, not approved work. These are catalog trial candidates found while assessing comfyui-vrgamedevgirl (their H3 workflows use the LMS LoRA).

Source

Alissonerdx/Minimax-H3-ComfyUI. Apache-2.0, not gated, sha 849fb3d4f434f2e9b4a4d4f7253471bf5e6719f9. The card calls these research models, tested mainly with ComfyUI's ref2va weights.

File Purpose Trigger How it conditions
loras/minimax_h3_lms_v1.0_r64 Sharpen an existing clip as a second pass fixed caption (see docs/lms.md) aligned source-video guide
loras/minimax_h3_style_transfer_v1.0_r64 Style from an image or text onto a video style_transfer: aligned guide
loras/minimax_h3_vfx_edit_v1.0_r128 (+ _ffp) Prompt-directed VFX edit vfx_edit: aligned guide
loras/minimax_h3_head_swap_v1.0_r32 Head replacement from a reference image head_swap: aligned guide
loras/minimax_h3_live_wallpaper_v1.0_ref2va_r32 / _r64 Animate 1-3 reference images live_wallpaper: native references
latent_upscaler/h3_upscaler_lms_v0.1 (FP16) Latent upscaler, LBH base + 2,000 steps on the LMS sharpness dataset n/a n/a (not a LoRA)

What blocks what

Plan

  1. Upscaler: compare its keys and shapes against build_upscaler. If they match, run an A/B on the #471 stage 2: minimax/upscale-preview template + skill line (gated on Don's stage-1 comparison) #500 workflows: stock LBH vs LMS v0.1. Write the result up as a catalog/proposal note.
  2. Live wallpaper r32/r64: add catalog entries as trial with a pinned revision, then run the usual probe.
  3. Aligned-guide LoRAs: add catalog entries marked blocked (pointing at idea (parked): H3 latent-space chunk continuation - blocked on multi-frame keyframes in diffusers #611) so recommend_loras explains the block instead of surfacing them as candidates.

Related: #471, #500, #598, #611.

Activity

  1. added
    enhancementNew feature or request
    owner:donParked for human decision
    ideaAn idea for the researcher agent to assess
    priority:2Backlog rank: solid ROI, moderate scope
    and removed
    owner:donParked for human decision
    ideaAn idea for the researcher agent to assess
    on Oct 5, 2026
  2. dkackman commented on Oct 5, 2026

    @dkackman
    OwnerAuthor

    Approved by Don (2026-10-05) at priority:2, straight to the implementer, for all three steps of the plan above.

  3. added
    target:mini-aiFound against a non-lem server (DW_TARGET=mini-ai); Don triages
    on Oct 5, 2026
  4. added a commit that references this issue on Oct 5, 2026
  5. dkackman commented on Oct 5, 2026

    @dkackman
    OwnerAuthor

    Implementer (claude-sonnet-5-5, anthropic). Shipped on `develop` at d7b7e5c. The mini-ai driver deploys it after this session; I did not deploy.

    1. LMS upscaler key/shape comparison (done). I read the safetensors headers at the pinned sha `849fb3d4…` and compared them with `LatentResizer3D`'s state dict, the network `build_upscaler` loads. `latent_upscaler/h3_upscaler_lms_v0.1.safetensors` has 322 tensors, all F16. It has no `upscaler.` wrapper prefix, and there are 0 missing keys, 0 unexpected keys and 0 reshaped tensors. It is architecturally a drop-in for the v1 upscaler.

    • The file sits in a `latent_upscaler/` folder of the Alissonerdx repo, and `weight_name` is a bare file name. So I added `KNOWN_UPSCALER_SOURCES` in `dw/tasks/h3_latent_upscale.py`, which pins the folder and the sha for this (repo, file) pair and keeps the default source as it was.
    • To use it, pass `model_name=Alissonerdx/Minimax-H3-ComfyUI` and `weight_name=h3_upscaler_lms_v0.1.safetensors` to `upscale_h3_latents`.
    • The _fp32 file is not in the table, so it loads from the repo root at main and will fail.
    • Tested in `tests/test_h3_latent_upscale.py` by monkeypatching `hf_hub_download`, with a small real checkpoint through `build_upscaler`. No real LMS weights were loaded.

    A/B frames: NOT done. mini-ai has no H3 model cached and cannot reasonably run it on MPS. The #500 A/B (stock LBH vs LMS v0.1, same seed) has to run on CUDA. The fix cannot be confirmed here, so the tester should hand this on to lem for the A/B and post the frames for #598.

    2. Live wallpaper r32/r64 (catalog only). `loras/minimax-h3/live-wallpaper-r32.json` and `live-wallpaper-r64.json` are `trial`, `workflow: ref2va`, pinned to `849fb3d4…`. Both use the `diffusion_model.` key format, the same as the shipped wushu ref2va entry, with 416 keys each; r32 is BF16, r64 is BF16. The trigger is `live_wallpaper:`. The probe has not been run, so the diffusers-side key-format check is still open.

    3. Aligned-guide LoRAs (catalog only). `lms`, `style-transfer`, `vfx-edit` and `head-swap` are recorded as `status: rejected` with a `workflow: null` reason pointing at #611, so `recommend_loras` explains the block. Rejected is the closest existing status, and the evidence note says "blocked, not judged". No new status value was added. The `vfx_edit_ffp` variant is mentioned in the vfx-edit entry's description but not listed separately.

    All entries are pinned to `849fb3d4f434f2e9b4a4d4f7253471bf5e6719f9`, license apache-2.0. The full suite passed (8278 passed).

    For the tester, via MCP once deployed:

    Pointer: the A/B result is the remaining part of step 1 and needs CUDA, so keep this issue open for it after verifying the catalog behavior.

  6. dkackman commented on Oct 5, 2026

    @dkackman
    OwnerAuthor

    Architecture review queued by the loop driver: this hand-off changed dw/ or dw_mcp/ on develop (a317ea4750..d7b7e5c79d: dw/tasks/h3_latent_upscale.py). The reviewer checks it against docs/ARCHITECTURE.md before the tester verifies.

  7. dkackman commented on Oct 5, 2026

    @dkackman
    OwnerAuthor

    Architecture review (reviewer, claude-opus-5-5, anthropic): pass, no findings.

    I read git diff a317ea47..d7b7e5c7 -- dw/ dw_mcp/, which touches only dw/tasks/h3_latent_upscale.py, and checked it against docs/ARCHITECTURE.md and stage-c item 3.

    • Second owner: none. KNOWN_UPSCALER_SOURCES replaces the default-repo check inside _load_upscaler, which already owned how upscaler sources are resolved. No map row assigns upscaler source/revision resolution to another module. The catalog-matching (dw/lora_catalog.py) and gating (dw/plan.py) rows aren't touched.
    • Build vs. buy: none. Loading still goes through huggingface_hub/safetensors with subfolder/revision. Nothing is hand-rolled.
    • Map: no new module and no rule moving between modules, so no row is needed.
    • Context: the rationale sits in the module's comments and the upscale_h3_latents docstring. No CLAUDE.md changed.

    Nothing was waived (the issue has no arch-approved label). The loras/*.json entries and tests are outside dw//dw_mcp/ and weren't reviewed here. This goes back to the tester for MCP verification.

  8. dkackman commented on Oct 5, 2026

    @dkackman
    OwnerAuthor

    Tester (claude-opus-5-5, anthropic), on mini-ai (mps on mini-ai.lan, develop @ 837fd24). This is a partial check, handed to lem.

    Confirmed over MCP here (catalog, steps 2 and 3):

    What this server can't check (step 1): loading h3_upscaler_lms_v0.1 via upscale_h3_latents(model_name="Alissonerdx/Minimax-H3-ComfyUI", weight_name="h3_upscaler_lms_v0.1.safetensors"), and Don's requested A/B on the #500 workflows (stock LBH vs LMS v0.1, same seed, frames posted here for #598). Both need MiniMax H3 latents on CUDA. The implementer says the same. Handing to lem's loop with owner:tester + status:fixed-pending-verify kept. lem's tester should:

    1. run the upscaler step with the LMS source and confirm it loads from latent_upscaler/ at the pinned sha;
    2. run the A/B and post frames;
    3. optionally run a live-wallpaper ref2va probe, which is the open key-format check.
  9. added and removed
    target:mini-aiFound against a non-lem server (DW_TARGET=mini-ai); Don triages
    on Oct 5, 2026
  10. dkackman commented on Oct 5, 2026

    @dkackman
    OwnerAuthor

    Tester (claude-opus-5-5, anthropic), on lem (cuda, develop @ 81dfb2f). This picks up the mini-ai hand-off: it covers step 1, which mini-ai couldn't run. Steps 2 and 3 (catalog) were already confirmed over MCP in the comment above.

    What I ran. One inline workflow, qa612UpscaleAB, job 6519d8f6613a, 10.2 min.

    • It renders one MiniMax-H3 base take: the guide's upscale_h3_latents example, t2va, 960x544, 124 frames, prompt:minimax/fox_dawn_context_ir, turbo LoRA, 9 steps, seed 42, int4.
    • It upscales the same base.latents twice, to 1344x768:
      • up_lbh: the stock default.
      • up_lms: model_name="Alissonerdx/Minimax-H3-ComfyUI", weight_name="h3_upscaler_lms_v0.1.safetensors".
    • Each upscale is decoded and muxed with the base audio.

    Because both upscales read the same latents, the upscaler is the only variable in this A/B. The #500 comparison used two separately seeded runs.

    Result: matches expected.

    • The LMS source loads as a drop-in, given as a bare weight_name, with no error. The up_lms task took 22.9 s, against 4.5 s for the already-cached stock upscaler, which fits a first-use download.
    • Without KNOWN_UPSCALER_SOURCES the bare name would have been looked up at the repo root and failed. The job events don't print the subfolder or revision, so I can't see the latent_upscaler/@849fb3d4… resolution directly. A successful load is the observable evidence.
    • Both outputs are 124 frames, 24 fps, 1344x768.

    A/B frames (for #598). Kept on lem in the default workspace for #598 to pull, not deleted:

    • qa612UpscaleAB/20261005-211327-4c7bf0ec/final/lbh-0.0.mp4 (stock LBH v1, 2.9 MB)
    • qa612UpscaleAB/20261005-211327-4c7bf0ec/final/lms-0.0.mp4 (LMS v0.1, 3.2 MB)

    Compare them with get_output_frames(name=..., at=[2.5]) for the full frame and crop=[700,300,340,260] for the fox's head. I can't attach images through gh issue.

    My read of the frames. At frame 60, full frame and the head crop at source pixels, the two are close to indistinguishable. The fur edges, eye and snow texture show no visible sharpening from LMS v0.1. The LMS file is about 10% larger, which hints at slightly more high-frequency content, but I can't see it by eye. On this one clip, LMS v0.1 is not a clear fix for #500's "close but soft". The scene has no human face, and that's where #500's softness showed, so #598 should A/B a face scene before ruling it out.

    Not done here. The optional live-wallpaper ref2va probe (the open key-format check) wasn't run. It's a trial entry, the hand-off called it optional, and it isn't part of this fix's acceptance.

    Closing as verified.

  11. added
    status:verifiedTester confirmed the fix via a real MCP call
    and removed on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions