Instructions to use stabilityai/stable-audio-3-optimized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Stable Audio 3
How to use stabilityai/stable-audio-3-optimized with Stable Audio 3:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Commit History
9 days ago
-
drop the medium DiT .xnnwc weight caches (regenerated locally)
Verified signatureNot in the install manifest (never auto-downloaded); the runtime rebuilds the cache locally on first run (weight_cache_path=auto). Measured benefit of a shipped cache is only ~2.4s (construct) — per-rung time is forward compute, unaffected. Removes ~7 GB of dead weight, and a locally-built cache is safer (a cache built on one CPU may not load on another). Matches the small DiTs, which ship no .xnnwc.3fb5698 -
small DiTs (sm-music, sm-sfx) tflite: ship the w8a8 rung ladders
Verified signatureReplace the varlen small DiTs with from-repo rung ladders: dit_{fp32,w8a8}.tflite (8 rungs to the 2-min max 1292, gce-outside, gcond bundled). Flat ~0.8 GB RAM vs the old varlen's ~3.8 GB at 2 min (4.5x less), ~equal quality to w8a8-dyn (cos>=0.996), cache-safe. Default is now w8a8 for every family. Old tiers (fp32/w16a32/w8a32/w8a8-dyn) -> legacy/. Pairs with stable-audio-3 PR #118. (No .xnnwc: the small w8a8 packs in ~1s.)91ec853
10 days ago
-
tflite README: medium DiT default -> w8a8 + SAME-S
Verified signatureDocs sync for stable-audio-3 PR #114: medium DiT now defaults to the cache-safe rung w8a8 (fp32 lazy), and the default decoder is SAME-S (SAME-L opt-in). The model files were already swapped in the prior commit; this only updates the README copy.bb411c3 -
medium DiT tflite: ship the N=12 rung ladder (fp32 + cache-safe w8a8)
Verified signatureReplace the varlen DiT with the from-repo rung ladder: dit_{fp32,w8a8}.tflite (12 rungs, gce-outside, gcond bundled, +.xnnwc caches). Flat ~2-4 GB RAM vs the old 3-40 GB (up to 10x less at long lengths), equal quality to w8a8-dyn (cos 0.996). Old tiers (fp32/w16a32/w8a32/w8a8-dyn) -> legacy/. Pairs with stable-audio-3 PR #112.10e8a13
-
tflite: bake output limiter into SAME-S/SAME-L decoders (ceiling 0.977, matches TRT graft)
Verified signatureda6edc5 -
tflite: bake output limiter into SAME-S/SAME-L decoders (ceiling 0.977, matches TRT graft)
Verified signature7d85335 -
tflite: SAME codecs -> static rung models (fp32 + w8a8); retire w16a32/w8a32/w8a8-dyn to legacy/
Verified signature73fa327
-
tflite: preserve pre-rung SAME codecs under legacy/
Verified signature416a9d0
-
tflite: replace naive same-l/enc_w8a8-dyn.tflite with GPTQ (torch-free, real-audio calibrated)
Verified signaturec2949a4 -
tflite: replace naive same-l/enc_w8a32.tflite with GPTQ (torch-free, real-audio calibrated)
Verified signatureaea1c33 -
tflite: replace naive same-s/enc_w8a8-dyn.tflite with GPTQ (torch-free, real-audio calibrated)
Verified signature6401d6c -
tflite: replace naive same-s/enc_w8a32.tflite with GPTQ (torch-free, real-audio calibrated)
Verified signature07885df
-
tflite: add same-l/enc_w8a8-dyn.tflite (quantized encoder, varlen)
Verified signaturea7970b2 -
tflite: add same-l/enc_w8a32.tflite (quantized encoder, varlen)
Verified signature7de7f11 -
tflite: add same-l/enc_w16a32.tflite (quantized encoder, varlen)
Verified signature4adfa45 -
tflite: add same-s/enc_w8a8-dyn.tflite (quantized encoder, varlen)
Verified signature151e748 -
tflite: add same-s/enc_w8a32.tflite (quantized encoder, varlen)
Verified signature2682028 -
tflite: add same-s/enc_w16a32.tflite (quantized encoder, varlen)
Verified signatured35a0c9 -
tflite: add sa3-m/dit_w16a32.tflite (quantized, varlen+varbatch)
Verified signature4ed3663 -
tflite: add sa3-m/dit_w8a32.tflite (quantized, varlen+varbatch)
Verified signature3e6eee6 -
tflite: add sa3-m/dit_w8a8-dyn.tflite (quantized, varlen+varbatch)
Verified signature78049a1 -
tflite: add same-l/dec_w16a32.tflite (quantized, varlen+varbatch)
Verified signaturef4cd71b -
tflite: add sa3-sm-sfx/dit_w16a32.tflite (quantized, varlen+varbatch)
Verified signature860ab42 -
tflite: add sa3-sm-music/dit_w16a32.tflite (quantized, varlen+varbatch)
Verified signaturee6e2e82 -
tflite: add same-l/dec_w8a32.tflite (quantized, varlen+varbatch)
Verified signaturecd3b3c2 -
tflite: add same-l/dec_w8a8-dyn.tflite (quantized, varlen+varbatch)
Verified signature65565ac -
tflite: add sa3-sm-sfx/dit_w8a32.tflite (quantized, varlen+varbatch)
Verified signatureb70b82a -
tflite: add sa3-sm-music/dit_w8a32.tflite (quantized, varlen+varbatch)
Verified signature62266ef -
tflite: add sa3-sm-sfx/dit_w8a8-dyn.tflite (quantized, varlen+varbatch)
Verified signature33af4b1 -
tflite: add sa3-sm-music/dit_w8a8-dyn.tflite (quantized, varlen+varbatch)
Verified signature20c6b1a -
tflite: add same-s/dec_w16a32.tflite (quantized, varlen+varbatch)
Verified signature142d6be -
tflite: add same-s/dec_w8a32.tflite (quantized, varlen+varbatch)
Verified signatureb9b2aed -
tflite: add same-s/dec_w8a8-dyn.tflite (quantized, varlen+varbatch)
Verified signature2bcd53f
-
varbatch DiT: dynamic batch axis (bit-exact at batch=1; enables batched CFG at batch=2)
Verified signature45a175a -
varbatch DiT: dynamic batch axis (bit-exact at batch=1; enables batched CFG at batch=2)
Verified signature07c665a -
varbatch DiT: dynamic batch axis (bit-exact at batch=1; enables batched CFG at batch=2)
Verified signaturee1bc60b
-
Upload tflite/README.md with huggingface_hub
Verified signature2b486c6 -
Upload tflite/t5gemma/encoder_fp16.tflite with huggingface_hub
Verified signatured4300ff -
Upload tflite/same-l/dec_fp32.tflite with huggingface_hub
Verified signature45796ea -
Upload tflite/same-l/enc_fp32.tflite with huggingface_hub
Verified signatured6b119e -
Upload tflite/same-s/dec_fp32.tflite with huggingface_hub
Verified signature65c576d -
Upload tflite/same-s/enc_fp32.tflite with huggingface_hub
Verified signature216858b -
Upload tflite/sa3-sm-sfx/dit_fp32.tflite with huggingface_hub
Verified signaturef36220a -
Upload tflite/sa3-m/dit_fp32.tflite with huggingface_hub
Verified signature58efbcd -
Upload tflite/sa3-sm-music/dit_fp32.tflite with huggingface_hub
Verified signaturedbb5aca