-
Notifications
You must be signed in to change notification settings - Fork 310
[Bug] Segmentation fault trying to generate with stable-audio-open-1.0
#73
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
Comments
I use windows 11 with WSL2 and conda, as well as MacOS M3 Max with no issues. Generating and training both work great. Make sure you install from the pip repo, or the git repo, but not both. That caused some issues in my environment when I first tried getting things going. Are you on google colab? Assuming not if you’re using conda. |
Thanks for your comment @hushaudio . I'll try a new env. My previous env was a bit messy as I was reusing it from sth else. |
Ah yea, I did that too. That was the issue for me. Needs a clean env. I did have success adding sample diffusion to the Stable Audio env after getting generation going tho and both of them work perfectly which is great for my use case. |
Thanks! a clean env solved it. On a clean env, I additionally had to install # for `sndfile library not found`
sudo apt-get install libsndfile1
pip install --force-reinstall soundfile==0.10.2
# for packaging error `cannot import name 'packaging' from 'pkg_resources'`
pip install -U packaging
pip install setuptools==69.5.1
# for no flash
pip install flash-attn --no-build-isolation
|
Hello! Thank you for releasing the audio model.
I downloaded the model locally and ran it with
The gradio sets up, however, when trying to generate, it just segmentation faults.
Env: conda with latest stable torch cuda 12.1. L4 24GB GPU.
Was anyone able to generate?
The text was updated successfully, but these errors were encountered: