Skip to content

[INSTALL] Mac M1-M3 support Cellpose v3 #886

@erikgerdtsson

Description

@erikgerdtsson

I was not able to get the GPU to work for v3 (GUI) on my macbook pro M3 .

python -m cellpose --gpu_device mps --use_gpu

Following instructions on Cellpose documentation for M1 mac with reference to Peter Soboleski's branch (Cellpose v2) with GPU support which seems to rely on PyTorch. That seem to work better.

https://github.com/psobolewskiPhD/cellpose/tree/feature/add_MPS_device

conda create --name cellpose-dev python=3.9 -y
conda activate cellpose-dev
conda install napari
git clone https://github.com/psobolewskiPhD/cellpose.git
cd cellpose
git fetch
git switch feature/add_MPS_device
conda install imagecodecs -y
pip install -e.

python -m cellpose

Are there any plans to release a mac M1-M3 version of v3?

#668

Thanks for an amazing tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions