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
Who is this for?
This is an introductory topic for developers who want to deploy the Stable Audio Open Small text-to-audio model using ExecuTorch on an Android device or macOS.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Download the Stable Audio Open Small model from Hugging Face
- Convert the Stable Audio Open Small model to ExecuTorch (.pte) format
- Build the audio generation application for Arm CPUs
- Run the application on an Android smartphone or macOS and generate audio snippets
Prerequisites
Before starting, you will need the following:
- A Linux-based x86 or macOS development machine with at least 8 GB of RAM and 50 GB of disk space (tested on Ubuntu 22.04 with x86_64 and macOS with Apple Silicon)
- A Hugging Face account
- An Android phone in developer mode with at least 8 GB of RAM and a cable to connect it to your development machine