-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac M1 Support #463
Comments
I'm experiencing exactly the same issue with macOS. Currently clueless where to debug the installation( |
I am experiencing the exact same issue |
ddsp is working on my M1 using mini-forge. I first created a conda environment and installed M1-TF per apple instructions: https://developer.apple.com/metal/tensorflow-plugin/ and tested TF with M1 & GPU
Then, installed ddsp and tensorflowjs without dependencies, as they create the main issue: After this, I installed everything in the setup.py using conda/pip. The following could be a good start:
Then I started with the examples, and installed every missing package until I could make a harmonic synth and a noise synth. I attach my conda yaml for an easier install. After installing ddsp and tensorflowjs without the dependencies. downloading the attached config as text, and changing the extension from (.txt) to (.yml) you'll be able to re-create my working environment easily.
Hope these help. Note that everything is on your own risk, and I did not test more advanced functionalities of DDSP like model saving or MFCC calculations, etc. I won't be able to continuously support M1++ installs in the future, as Apple changes their tensorflow-plugin frequently and I don't work for Apple or Google. Finally, installing packages without careful checking of config files may result in running malicious code, in general. Good luck |
Hello, anyone who installed ddsp library on M1? I have already install tensorflow in my conda enviroment, but the conda uptadte env with the yml file didnt work for me, I tried using the python 3.8 and python 3.10 too, anyone has a clue or could comment the way to install it? |
Hi,
Thanks for this awesome library!
I am trying to install DDSP with
pip install ddsp
on my Mac M1 within a conda environment includingtensorflow-deps
,tensorflow-macos
, andtensorflow-metal
as described here:https://caffeinedev.medium.com/how-to-install-tensorflow-on-m1-mac-8e9b91d93706
I get the following error messages:
Apparently, the tensorflow installation is not recognized.
Does DDSP support Mac M1? How can I get it to install?
Thanks for your help!
The text was updated successfully, but these errors were encountered: