Generate audio with Stable Audio Open Small using ExecuTorch
Introduction
Set up your development environment
Download the Stable Audio Open Small model
Convert the model to ExecuTorch format
Build and run on macOS
Build and run on Android
Next Steps
Generate audio with Stable Audio Open Small using ExecuTorch
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Install
executorch==1.0.0 with pip. Alternatively, clone ExecuTorch, check out v1.0.0, and run bash ./install_executorch.sh.After conversion, verify that
conditioners_model.pte, dit_model.pte, and autoencoder_model.pte exist in the audiogen-et directory.Create a fresh Python 3.10 virtual environment for the macOS build. Use macOS on Apple silicon (Arm64).
Use an Arm64 Android device with at least 8 GB of RAM. The prerequisites specify
FEAT_DotProd support and optional FEAT_I8MM support. Confirm that adb devices detects your connected device before you transfer the files.When you run the app, it generates a short audio sample from your text prompt. On macOS, the
.wav file is saved in the current directory. On Android, exit the adb shell and pull the output file from /data/local/tmp/app.