Skip to content

Request for Apple Silicon (M-series) support and MPS backend compatibility #6

@BroccoliFin

Description

@BroccoliFin

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

  1. Cloned the repo and created conda env with Python 3.11.
  2. Tried pip install -r requirements.txt — fails due to CUDA dependency (no CUDA on Mac).
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions