Description
I'm interested in running FlashLabs-Chroma on a Mac with Apple Silicon (e.g., M1/M2/M3 chips). However, the current installation relies on CUDA, which isn't supported on Apple hardware. PyTorch has MPS backend for acceleration on Mac GPUs, but the README and requirements don't mention it.
Steps to Reproduce / Attempted Installation
- Cloned the repo and created conda env with Python 3.11.
- Tried
pip install -r requirements.txt — fails due to CUDA dependency (no CUDA on Mac).
- Alternative: Installed PyTorch with MPS support (
pip install torch), but model code assumes CUDA (e.g., device mapping).
Expected Behavior
- Instructions for MPS/CPU installation.
- Code adaptations to use
device='mps' or fallback to CPU.
- Testing on Apple Silicon for real-time performance.
Environment
- OS: macOS [your version, e.g., Ventura 13.x]
- Hardware: MacBook Pro M2, 16GB RAM
- Python: 3.11
Would appreciate any guidance or plans to add support! This would make the project more accessible.
Description
I'm interested in running FlashLabs-Chroma on a Mac with Apple Silicon (e.g., M1/M2/M3 chips). However, the current installation relies on CUDA, which isn't supported on Apple hardware. PyTorch has MPS backend for acceleration on Mac GPUs, but the README and requirements don't mention it.
Steps to Reproduce / Attempted Installation
pip install -r requirements.txt— fails due to CUDA dependency (no CUDA on Mac).pip install torch), but model code assumes CUDA (e.g., device mapping).Expected Behavior
device='mps'or fallback to CPU.Environment
Would appreciate any guidance or plans to add support! This would make the project more accessible.