Instructions to use stabilityai/stable-audio-open-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Stable Audio Tools
How to use stabilityai/stable-audio-open-1.0 with Stable Audio Tools:
import torch import torchaudio from einops import rearrange from stable_audio_tools import get_pretrained_model from stable_audio_tools.inference.generation import generate_diffusion_cond device = "cuda" if torch.cuda.is_available() else "cpu" # Download model model, model_config = get_pretrained_model("stabilityai/stable-audio-open-1.0") sample_rate = model_config["sample_rate"] sample_size = model_config["sample_size"] model = model.to(device) # Set up text and timing conditioning conditioning = [{ "prompt": "128 BPM tech house drum loop", }] # Generate stereo audio output = generate_diffusion_cond( model, conditioning=conditioning, sample_size=sample_size, device=device ) # Rearrange audio batch to a single sequence output = rearrange(output, "b d n -> d (b n)") # Peak normalize, clip, convert to int16, and save to file output = output.to(torch.float32).div(torch.max(torch.abs(output))).clamp(-1, 1).mul(32767).to(torch.int16).cpu() torchaudio.save("output.wav", output, sample_rate) - Notebooks
- Google Colab
- Kaggle
[Tool] Windows GUI wrapper - batch generation, multilingual prompts, 217 SFX-ready presets
#58 opened 20 days ago
by
OscarLumiere
Request: DOI
#57 opened 3 months ago
by
ShadowSds
Request: DOI of Stable Audio Open 1.0
#56 opened 3 months ago
by
Atsakorn
Is it compliant to use your models to generate environmental sounds for academic research?
#55 opened 5 months ago
by
Abusir
stable-audio-open-1.0
#54 opened 8 months ago
by
Alfred-hz
stable_audio_open_1.0.safetensors
#53 opened 8 months ago
by
Alfred-hz
Request: DOI
#52 opened 10 months ago
by
djcalz1
audio to audio
#50 opened 12 months ago
by
terekita
Load models downloaded locally
#49 opened about 1 year ago
by
buscon
stable audio
#48 opened about 1 year ago
by
MwORIS
specifying `init_audio` when calling `generate_diffusion_cond` doesn't work as expected
#47 opened about 1 year ago
by
jps-la
Request: DOI
#45 opened about 1 year ago
by
red383906
Stable Audio Open on MacBook Pro M3
#44 opened about 1 year ago
by
balducci22
Create pajeros de mierda
1
#42 opened over 1 year ago
by
Gaspar26121
How to inference on CPU? RuntimeError: "addmm_impl_cpu_" not implemented for 'Half'
1
#41 opened over 1 year ago
by
demetera
cannot import name 'StableAudioPipeline' from 'diffusers'
4
#40 opened almost 2 years ago
by
gcurtis95
Link model to paper
#38 opened almost 2 years ago
by
nielsr
Need help to debug my training process
3
#37 opened almost 2 years ago
by
arthurcornelio88
Auto-regressive continuation
๐โค๏ธ 3
#36 opened almost 2 years ago
by
asigalov61
How to fine-tune it?
๐๐ 13
3
#35 opened almost 2 years ago
by
slimshady997
Dependency issue when installing stable audio tools
2
#34 opened almost 2 years ago
by deleted
How come VAE bottleneck returns x directly in the decoder?
#33 opened almost 2 years ago
by
dongqiw-deeptune
TransformerBlock.forward() got unexpected keyword 'seconds_total'
#32 opened almost 2 years ago
by
ternaryjimbo
A FULL TRAINING PATHWAY ?
4
#31 opened almost 2 years ago
by
LeroyDyer
how do you run this? solved, you're welcome.
3
#29 opened almost 2 years ago
by
Assbang
Update README.md
#28 opened almost 2 years ago
by
Nihil47
Why is it behind an infowall?
โค๏ธ 5
#22 opened almost 2 years ago
by
dillfrescott
Can I push this to Replicate?
#19 opened almost 2 years ago
by deleted
Botocore... Super Install!!
#18 opened almost 2 years ago
by
jeffehobbs
What do you use this model for?
6
#17 opened almost 2 years ago
by
the-french-artist
I made a colab for Stable Audio Open - What option should I add?
2
#15 opened almost 2 years ago
by
QES
Problem with 'flash_attn' and CUDA
โค๏ธโ 3
4
#14 opened almost 2 years ago
by
Farquaad56
Great model!
#12 opened almost 2 years ago
by
ztsvvstz
Add details on fine-tuning
๐ 2
18
#11 opened almost 2 years ago
by
SkyyySi
Trim output audio function + colab player + fun output sample
๐ 3
1
#9 opened almost 2 years ago
by
asigalov61
Tracing the model
#8 opened almost 2 years ago
by
Tensorpunk
model = model.to(device) gives me problems
2
#6 opened almost 2 years ago
by
JackMack
Error during stable_audio_tools pip install "No module named 'packaging'"?
4
#5 opened almost 2 years ago
by
mnemic
OSError: sndfile library not found
๐ 1
1
#4 opened almost 2 years ago
by
0xcap
VRAM Estimation
๐ 1
7
#3 opened almost 2 years ago
by
SkySyrup
Cannot access gated repo
10
#2 opened almost 2 years ago
by
NickyNicky
Any Comfy workflow ?
6
#1 opened almost 2 years ago
by
3blackbar