Skip to content

Request: Apple Silicon (Mac OS) Support #9

Description

@aichr

Summary

Is there any plan to support Apple Silicon (Mac OS) for running Utonia? We tried multiple approaches but hit fundamental CUDA dependencies.

What We Tried

1. Install via pip

2. Build from source

  • Cloned spconv source from GitHub
  • Build requires CUDA toolchain (nvcc, etc.)
  • Not possible on Mac OS without CUDA

3. Mock dependencies

Created mock modules for , , to test if model loads:

  • Model imports successfully
  • Model loading fails because (from spconv) has no CPU implementation

Root Cause

The model fundamentally depends on:

  1. spconv (sparse convolution) - CUDA-only, no Apple Silicon wheels
  2. torch-scatter - CUDA-only, no Apple Silicon wheels
  3. flash-attention - CUDA-only

These are not optional dependencies — they are core operations in the architecture.

Questions

  1. Is Apple Silicon / MPS support on the roadmap?
  2. Would you accept a PR to add CPU/MPS fallback for sparse convolutions?
  3. Any suggestions for running on Mac OS?

Environment

  • Mac mini with M4 chip (Apple Silicon)
  • PyTorch 2.10 with MPS (Metal Performance Shaders) available
  • macOS 14+

References

Thanks for the great work on Utonia!

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