- 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 |
||
|---|---|---|
| .. | ||
| analysis | ||
| audio | ||
| avatar | ||
| capture | ||
| character | ||
| enhancement | ||
| graphics | ||
| publishers | ||
| subtitle | ||
| video | ||
| __init__.py | ||
| base_tool.py | ||
| cost_tracker.py | ||
| tool_registry.py | ||