Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/huggingface/diffusers
/ convert_stable_audio.py
File
convert_stable_audio.py
scripts/convert_stable_audio.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# Run this script to convert the Stable Audio model weights to a diffusers pipeline.
2
import
argparse
3
import
json
4
import
os
Callers
nothing calls this directly
Calls
13
is_accelerate_available
Function · 0.90
CosineDPMSolverMultistepScheduler
Class · 0.90
StableAudioProjectionModel
Class · 0.90
load_model_dict_into_meta
Function · 0.90
StableAudioDiTModel
Class · 0.90
AutoencoderOobleck
Class · 0.90
StableAudioPipeline
Class · 0.90
convert_stable_audio_state_dict_to_diffusers
Function · 0.85
load
Method · 0.45
from_pretrained
Method · 0.45
load_state_dict
Method · 0.45
save_pretrained
Method · 0.45
Tested by
no test coverage detected