Township gen overhaul + coderai thermal/offload/eviction fixes
Township fight-video generator (tools/gen_township_fighters.py):
- 16:9 native resolution: default 832x480 video + matching keyframes
(configurable video_size); square 512 was off-distribution for Wan2.2.
- Split-and-chain rendering: single-render cap (default 50f); clips/outcomes
longer than the cap render as chained sub-renders (last frame seeds the next)
concatenated into one continuous shot, parts discarded — Matches page unchanged.
Planned-clip ceiling raised to 480f.
- Separate outcome min/max frames (default 40/70), same split-chain path.
- Configurable short/long final-assembly intervals; clip count derives from the
long target + fps so the long cut always fills.
- Prompt continuity: deterministic wardrobe+environment clause on every clip,
replan clip and outcome; stronger LLM system prompts; updated default suffix.
- Run page: configurable fighter/environment counts + reference-image counts;
moved "Include female fighters" into the Characters card; suggested
steps/rank/weight guide table; per-profile LoRA train defaults now mirror the
run-page config (lora_* for characters, env_lora_* for environments).
- Matches: "Remove match completely" (files + keyframes + prompts.json entry).
- Renamed the prompts step to "Generate matches prompts"; removed the gallery page.
coderai:
- images.py: fix NameError ('model_key' undefined) that silently skipped
proactive VRAM eviction before every image load.
- thermal.py: cross-worker cooldown — when one generation pauses for heat, all
parallel generations now back off until the resume threshold; add process-tree
CPU% reader (100%/core).
- video.py/manager.py/main.py: offload ref-leak fix, offloaded-load VRAM guard,
wire --pipeline-cache flags.
- Tasks page CPU tile shows process-tree CPU% scaled to cores.
Co-Authored-By:
Claude Opus 4.8 <noreply@anthropic.com>
Showing
This diff is collapsed.
Please
register
or
sign in
to comment