Files
video-montage-linker/ui
Ethanfel 2db0cbb76a Fix BiM-VFI integration bugs from code review
- Fix critical import: use `from modules.components import make_components`
  instead of `from modules.components.components` so the @register
  decorator fires and the model can be instantiated
- Use separate venv (venv-bimvfi) to avoid dependency conflicts with
  RIFE/FILM — basicsr-fixed/cupy/lpips can break the shared venv
- BimVfiEnv now creates its own venv with PyTorch, independent of RIFE
- Remove dead code: dis0/dis1/scale_factor/ratio/nr_lvl_skipped kwargs
  are silently ignored by model's **kwargs, and get_scale_factor/
  get_pyr_level were computing unused values
- Use model's trained pyr_level=3 (set at construction) instead of
  overriding to 5-7 at inference which was untested
- Use `python -m pip` and `python -m gdown` instead of direct binaries
  for cross-platform reliability
- Add checkpoint size validation (>1MB) on download
- Verify torch importable in is_setup() instead of just checking files
- Update UI: BiM-VFI setup flow is independent, doesn't need RIFE first

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 21:57:27 +01:00
..