Video_to_video_WAN / firered_engine.py

Commit History

Switch apply-step from Wan-Animate to Wan2.1-VACE masked inpaint: regenerates ONLY the clothing region, copies face/hair/skin/motion/background from the source at original sharpness. UI: video + prompt -> video. VACE on 'large' (49 frames @6fps, ~265 quota incl remote FireRed) fits a FREE account. Boot probes reference_images + pack size. Removed dead wan_engine helpers; stopped purging the VACE model cache.
b95bfc8
verified

kulkas2pintu commited on

Adopt alexnasa/Wan2.2-Animate-ZEROGPU mechanism wholesale: official wan package, GPU pose (torch 2.8/CUDA12 + onnxruntime-gpu), clip slicing. Default mode = Pose Retarget. Root cause of our slowness was CUDA-13 forcing onnxruntime pose onto CPU (1.87s/frame).
ec51207
verified

kulkas2pintu commited on

Free-tier support: segment_frame_length lever (seg 41/5 steps) so a FREE 300s/day account fits one run (290 quota); make quota_probe a 0-cost info endpoint (was 580 quota, unusable by free accounts)
86f4bc4
verified

kulkas2pintu commited on

Restore Wan-VACE prompt-based clothing editor (revert Animate swap)
85fafd7
verified

kulkas2pintu commited on

Replace with alexnasa/Wan2.2-Animate-ZEROGPU
81fa027
verified

kulkas2pintu commited on

FireRed keyframes: actually anchor later frames to frame 1 + denser keyframes
bf5a1f1

Zrelv commited on

Switch to FireRed keyframe edit + RIFE interpolation (keeps the face)
21d6811

Zrelv commited on

FP8-quantize FireRed transformer so both resident models fit the disk pack
57a8f46

Zrelv commited on

Cut FireRed GPU reservation 200->70 (was 400s xlarge, rejected as over-cap)
b21d25b

Zrelv commited on

Revert to 1024px editing + add framing-preservation prompt (low res made Qwen zoom/recompose close-ups)
c57c768

kulkas2pintu commited on

Edit at 640px + 72 keyframes: ~2x denser real-motion sampling so motion tracks the source (RIFE invents less)
222e67b

kulkas2pintu commited on

Edit each frame independently (anchor approach left moving frames unchanged / outfit not replaced)
7465658

kulkas2pintu commited on

Add output-fps selector (20/30/60); RIFE interpolates to chosen fps
2c545a3

kulkas2pintu commited on

Add RIFE interpolation: edit ~48 keyframes then interpolate up to ~24fps (fixes choppy 6fps)
d4abb18

kulkas2pintu commited on

firered_edit_video: add size='xlarge' (57GB model OOM'd on default partition)
aab1951

kulkas2pintu commited on

Pivot to frame-by-frame clothing edit with FireRed; drop WanAnimate (28GB model / CUDA-12/13 conflict / timeouts)
795cdee

kulkas2pintu commited on

Drop FireRed full-repo prefetch (blew 150G disk); from_pretrained fetches only needed files
348d1ea

kulkas2pintu commited on

FireRed: disable FA3 (crashes ZeroGPU worker), use xlarge GPU size + 200s
ae670f6

kulkas2pintu commited on

Force YOLO detection onto CPU (was grabbing CUDA in main worker and aborting the FireRed GPU task); bump FireRed GPU reservation to 120s
55461b3

kulkas2pintu commited on

Fix FireRed NVML crash: load pipeline at import (like parent Space), import engine at boot
9f93db2

kulkas2pintu commited on

Fix cold-start: move weight downloads + flash-attn off the GPU clock; cap Wan reservation under 5min; default 5s clip
b4a28f4

kulkas2pintu commited on

Upload 10 files
e1ced2b
verified

kulkas2pintu commited on