deezer / deezer/spleeter

Installation Issues Mac M1

Open
#798 3 comments 8 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

Hi, I've been trying to install spleeter on my mac m1 for over a week now and I'm a bit lost on why some have had success, and I can't seem to get it to work. I've followed this [discussion](https://github.com/deezer/spleeter/issues/607#issuecomment-1021669444) as well as [this one](https://github.com/deezer/spleeter/issues/696).

I am successful in installing tensorflow-macOs 2.5 as well as 2.6 for mac, as well as metal and all the other dependencies but running spleeter always fails, with a 6 leaked semaphores issue.

I have tried various combinations of tensorflow-MacOS with different versions of python, as well as different branches of spleeter (v2.3.0 / v2.3.2 / metal branch), but nothing seems to work.

One thought I had is that tensorflow might be breaking when running poetry update, since it automatically updates numpy and some other dependencies. However, I am able to run a test `"print(tf.reduce_sum(tf.random.normal([10000,1000])))` which shows that it is working and using the metal / mps gpu on mac.

Lastly, I tried to install with rosetta, but the wheel provided in the [discussion](https://github.com/deezer/spleeter/issues/607#issuecomment-1021669444) failed. I also tried to create one using poetry in the Rosetta terminal but this also failed.

Any suggestions on how to solve this 6 leaked semaphores issue, or an environment that I might have most success with? (Python version / tensorflow-macOs version / spleeter version). At this point, I feel like I'm just striking out in the dark hoping something hits, but haven't had any luck yet.

Thank you
-Michael

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.