OpenMontage/tools/enhancement
Nik Nichols 211c3fcba4 feat(gpu): add device-aware routing for Apple Silicon MPS support
- Add get_torch_device() helper in _shared.py: cuda > mps > cpu
- Guard MPS detection for torch builds lacking torch.backends.mps
- Check both is_built() and is_available() for MPS
- Route load_diffusers_pipeline() to resolved device instead of hardcoded cuda
- Use float32 on CPU (float16 is emulated/unreliable), float16 on MPS, bfloat16 on CUDA
- Guard enable_model_cpu_offload() to CUDA-only; fall back to .to(device) on MPS
- Enable attention slicing for MPS memory safety
- Add inspect-based signature guard for device= arg on RealESRGANer/GFPGANer
- Update install_instructions on all LOCAL_GPU tools to mention MPS/Apple Silicon
2026-06-24 16:29:09 -05:00
..
__init__.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
bg_remove.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
color_grade.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
eye_enhance.py Talking-head pipeline: 8 new tools, Remotion TalkingHead composition, and skill rewrites 2026-04-01 10:00:15 -07:00
face_enhance.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
face_restore.py feat(gpu): add device-aware routing for Apple Silicon MPS support 2026-06-24 16:29:09 -05:00
upscale.py feat(gpu): add device-aware routing for Apple Silicon MPS support 2026-06-24 16:29:09 -05:00