• Stefy Lanza (nextime / spora )'s avatar
    Township: per-profile LoRA training, Matches page, modals; fix SDXL LoRA dtype · 533bab82
    Stefy Lanza (nextime / spora ) authored
    LoRA training (codai/api/loras.py):
    - Fix instant crash "mat1 and mat2 have the same dtype (Half != float)":
      components loaded in their checkpoint's native dtype (fp16 text encoders +
      fp32 UNet). Force consistent fp32 (stable LoRA reference) for both SD1.5 and
      SDXL, and free VAE/text encoders after pre-encoding to keep memory in budget.
    
    Web UI (tools/gen_township_fighters.py):
    - Per-profile LoRA training launched from the Characters/Environments cards
      (steps/rank, live server progress, status badge); the "Train LoRAs" step now
      trains regardless of the consistency setting and logs what it does. Profiles
      are uploaded to CoderAI first so server-side training has reference images.
    - New Matches page: final short/long videos, single clips, and outcome outputs
      per match. Re-render clips/outputs with the video model (reuses the render
      path, honoring keyframe/LoRA settings) or reassemble finals from existing
      clips (no model).
    - Replace browser alert/confirm/prompt with proper in-page modal dialogs
      (uiConfirm/uiAlert/uiPrompt) on every page.
    - Apply changed connection/model settings (image/video/text model) to the live
      session on Save config / Start, so per-profile jobs use them immediately.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    533bab82
Name
Last commit
Last update
..
admin Loading commit data...
api Loading commit data...
backends Loading commit data...
broker Loading commit data...
models Loading commit data...
openai Loading commit data...
pydantic Loading commit data...
queue Loading commit data...
__init__.py Loading commit data...
cli.py Loading commit data...
config.py Loading commit data...
main.py Loading commit data...
platform_paths.py Loading commit data...