Commit History

Lazy text-encoder load: build only on conditioning-cache MISS (saves 21-33GB host RAM + load time on cache-HIT runs)
eb83ef8
verified

joeygambino commited on

hires-fix: 33f windows + zero resident blocks during the pass (VAE encoder fatal abort at 65f/1920x1088 with 12GB pinned)
aa7f56b
verified

joeygambino commited on

fix: _ref_sched unbound on no-reference runs (no-character scripts)
b425cde
verified

joeygambino commited on

encoder_fp8: strip unused vision tower + absolute-headroom fits check -> GPU encode engages on 24GB cards
c7cbbe0
verified

joeygambino commited on

conditioning disk cache (encode once per script per machine) + CPU-fp8 encoder warning
f3d0ab0
verified

joeygambino commited on

README: document memory-trim fix (critical), fp8_scaled_mm, resident_blocks, encoder_fp8, hires-fix, ref scheduling, robustness; full file list + no-cherry-pick warning
b5a09e4
verified

joeygambino commited on

per-device capability probe: pre-Ada GPUs auto-fall back to upcast path
971b15c
verified

joeygambino commited on

fp8_scaled_mm: clear sm_89+ gate (RTX 30-series lacks fp8 cores)
2ec166a
verified

joeygambino commited on

harden pipeline dtype derivation against fp8 params (2 sites)
101c7af
verified

joeygambino commited on

harden pipeline dtype derivation against fp8 params
439336d
verified

joeygambino commited on

hires-fix second pass: per-shot latent re-encode + DMD tail re-denoise at target res (real detail synthesis; 65f windows, 3090-safe)
3560816
verified

joeygambino commited on

fix: scaled-mm swap ran on META model (0 linears matched); branch on weight dtype at call time
abca1c8
verified

joeygambino commited on

guard: fp8-compute toggles require bf16 source file (fp8 files load all-fp8 with cast skipped -> randn crash)
181a2c4
verified

joeygambino commited on

encoder_fp8: halve the Gemma wrapper footprint (fp8 storage, upcast at encode; enables GPU encode pass on 32GB)
314589b
verified

joeygambino commited on

torch._scaled_mm fp8 Linear forward (measured x2.8 kernel / x1.5 e2e vs bf16 on RTX 5090)
226927b
verified

joeygambino commited on

QuantizationPolicy.fp8_scaled_mm_torch (torch-native, no tensorrt_llm)
f719d06
verified

joeygambino commited on

fp8_scaled_mm mode (native fp8 matmul, no upcast tax) + resident_blocks partial offload
20def53
verified

joeygambino commited on

FIX: memory bank trim was a no-op when max_size<=num_fix_frames (tail[-0:] returns whole list) -> bank grew unbounded
440a3dd
verified

joeygambino commited on

RefPicker: re-entry ref scheduling (3+ shot absence) + script-carried ref pinning via refs map
ad4795a
verified

joeygambino commited on

Generate: schedule-aware ref dedup, cap 6 scheduled entries
ecffd73
verified

joeygambino commited on

TextEncode: hot-swap encoder to GPU for the encode pass (fits-check + OOM fallback)
19c9d44
verified

joeygambino commited on

README: document fp8 gemma scale-key layout fix
a7ca47a
verified

joeygambino commited on

fp8 gemma: accept .weight_scale layout + zero-match warning
ea8293f
verified

joeygambino commited on

per-character reference scheduling: RefPicker emits ref_shots (first-appearance shot per character), Generate injects each ref at its character's entry shot with the long trim - multi-character single-run videos get every character properly seeded
64474bb
verified

joeygambino commited on

load order: DiT (quantize/fuse peak) first, VAEs, text encoder LAST + gc between stages - encoder-first stacked 24GB under the fuse peak and caused an mmap access violation at VAE load on a 96GB box
9fb07f5
verified

joeygambino commited on

references seed shot 1 only: from shot 2 the bank carries identity+staging; re-injecting a wide full-scene ref every shot made the subject relocate between shots
aec8acd
verified

joeygambino commited on

RefPicker auto mode: emit ONE ref per character named in prose (batch output) - solo scene 1 ref, two-character 2 refs, none 0; dialogue mentions still excluded; single picker now covers every queue case with zero mode switching
8f06f79
verified

joeygambino commited on

RefPicker prompt scan: parse JSON script payloads before scanning - on raw JSON the plain-quote stripper deleted the entire prompt body, so auto mode never matched a character on TXT-wrapped JSON blocks
7e2868d
verified

joeygambino commited on

RefPicker IS_CHANGED: guard None from unresolved wired inputs (per-item WARNING spam + lost caching)
731cb8c
verified

joeygambino commited on

no-offload pre-flight: refuse cannot-fit DiT with a catchable error (cudaMallocAsync otherwise hard-aborts the whole process), warn on tight activation budgets
467abda
verified

joeygambino commited on

reference_zoom: over-zoom refs before conditioning - a ref at exactly render size is pixel-continuable and the model opens the shot ON it (long literal ghost no trim covers); 1.2 default breaks the continuation shortcut while keeping identity + wide composition
374bcf7
verified

joeygambino commited on

head_trim_first_shot: shot 1 conditions on refs alone (empty bank) and opens ON the reference - give it its own longer trim (auto = 2x head_trim, min 24)
87ca9cb
verified

joeygambino commited on

LoRA fusion: map kohya-FLATTENED keys (lora_unet_*, dots->underscores) onto model paths via exact flat-key lookup - such LoRAs previously matched zero keys
c637db3
verified

joeygambino commited on

RefPicker: add '(none / disabled)' character_pick option - disable a spare picker without rewiring
1df0dc0
verified

joeygambino commited on

LoRA hardening: kohya lora_down/up support + alpha scaling, fuse telemetry + zero-match warning, refuse comfy_quant checkpoints with clear error; lora_file dropdown
ead608f
verified

joeygambino commited on

RefPicker: character dropdown, no silent scan-fallback, cache fix; head-trim applied to all outputs; lora_file dropdown on ModelLoader; gemma_path guard
b990df8
verified

joeygambino commited on

Upload 11 files
38fe5dd
verified

joeygambino commited on

initial commit
edab639
verified

joeygambino commited on