You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/mobile-graphics-and-gaming/run-stable-audio-open-small-with-lite-rt/1-prerequisites.md
+34-12Lines changed: 34 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ In this Learning Path, you'll learn how to convert the Stable Audio Open Small m
12
12
13
13
Your first task is to prepare a development environment with the required software:
14
14
15
-
- Android NDK: version r25b or newer.
15
+
- Android NDK: version r27b or newer.
16
16
- Python: version 3.10 or newer (tested with 3.10).
17
17
- CMake: version 3.16.0 or newer (tested with 3.28.1).
18
18
@@ -33,9 +33,7 @@ Download and install [Python version 3.10](https://www.python.org/downloads/rele
Copy file name to clipboardExpand all lines: content/learning-paths/mobile-graphics-and-gaming/run-stable-audio-open-small-with-lite-rt/2-testing-model.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ You may need to fill out a form with your contact information to use the model:
23
23
Download and copy the configuration file `model_config.json` and the model itself, `model.ckpt`, to your workspace directory, and verify they exist by running the command:
24
24
25
25
```bash
26
-
ls $WORKSPACE/model_config.json $WORKSPACE/model.ckpt
26
+
ls -lha $WORKSPACE/model_config.json $WORKSPACE/model.ckpt
27
27
```
28
28
29
29
You can learn more about this model [here](https://huggingface.co/stabilityai/stable-audio-open-small).
Copy file name to clipboardExpand all lines: content/learning-paths/mobile-graphics-and-gaming/run-stable-audio-open-small-with-lite-rt/3-converting-model.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,8 @@ To avoid dependency issues, create a virtual environment. For example, you can u
Copy file name to clipboardExpand all lines: content/learning-paths/mobile-graphics-and-gaming/run-stable-audio-open-small-with-lite-rt/5-creating-simple-program-for-android.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,12 +81,13 @@ From there, you can then run the audiogen application, which requires just three
81
81
***Model Path:** The directory containing your LiteRT models and spiece.model files
82
82
***Prompt:** A text description of the desired audio (e.g., warm arpeggios on house beats 120BPM with drums effect)
83
83
***CPU Threads:** The number of CPU threads to use (e.g., 4)
84
+
***Seed:** A random number to seed the generation (e.g. 1234)
84
85
85
86
Play around with the advice from [Download and test the model](../2-testing-model) section.
86
87
87
88
```bash
88
89
cd /data/local/tmp/app
89
-
LD_LIBRARY_PATH=. ./audiogen ."warm arpeggios on house beats 120BPM with drums effect" 4
90
+
LD_LIBRARY_PATH=. ./audiogen ."warm arpeggios on house beats 120BPM with drums effect" 4 1234
0 commit comments