deezer / deezer/spleeter

[Discussion] Spleeter works natively on Apple Silicon Macs if you use Apple's version of TensorFlow

Open
#696 15 comments 23 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
28.4k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

Spleeter is working for me natively on my M1 Max MacBook Pro, built against Apple's Metal version of TensorFlow.

Screenshot

Instructions from memory:
1. `brew install miniforge`
2. `conda init "$(basename "${SHELL}")"`
3. `conda install -c apple tensorflow-deps numpy scipy llvmlite librosa pandas`
4. `pip install tensorflow-macos tensorflow-metal`
5. `git clone https://github.com/Deezer/spleeter && cd spleeter`
6. `pip install poetry`
7. open the pyproject.toml and get rid of tensorflow/numpy/scipy/llvmlite/librosa/pandas
8. `poetry update`
9. `poetry install`
10. `poetry build`
11. `pip install ./dist/spleeter-2.3.0-py3-none-any.whl`

You might have to adapt some of these instructions, but it should broadly set you on the right path.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.