Skip to content
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

python environment #149

Open
simonwindtner opened this issue Sep 25, 2023 · 5 comments
Open

python environment #149

simonwindtner opened this issue Sep 25, 2023 · 5 comments

Comments

@simonwindtner
Copy link

Hey,
Can anybody suggest a python version for Mac M1 where all the requirements and versions are working correctly?
with the proposed environment I get trouble with torch==1.4.0 as well as librosa and numba...
Thanks in advance !

@NathanJargon
Copy link

You can just install a homebrew

/bin/bash -c "$(curl -fsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

and install python for ARM

brew install [email protected]

and then start with a virtual environment

python3.9 -m venv myenv
source myenv/bin/activate

dunno if you can download all package, but just do this and make use of ARM documentation

pip install torch torchvision torchaudio -f https://download.pytorch.org/whl/

@chazarnik
Copy link

Hey, Can anybody suggest a python version for Mac M1 where all the requirements and versions are working correctly? with the proposed environment I get trouble with torch==1.4.0 as well as librosa and numba... Thanks in advance !

Hi did you manage to solve it? I tried the same with windows and still the issue with numba persists due to llvmlite

@simonwindtner
Copy link
Author

requirements.txt

@chazarnik this are my current package - I've made my on poetry package were everything is working, but in the meanwhile I run much more so - most of the packages maybe not necessary for just running HiFiGAN.

@chazarnik
Copy link

requirements.txt

@chazarnik this are my current package - I've made my on poetry package were everything is working, but in the meanwhile I run much more so - most of the packages maybe not necessary for just running HiFiGAN.

Thank you! I will try that too.

@avdg-dev
Copy link

avdg-dev commented Jul 31, 2024

@simonwindtner I am trying to run the code on google colab pro and I am facing the same issue where torch--1.4.0 is not supported. Does the requirements.txt file you have uploaded above work on google colab as well? if not, do you have any idea as to how i can solve this issue on google colab?
Also, how did you train the model if i may ask? was it on your own gpu?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants