aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDjshinshin <129614060+Djshinshin@users.noreply.github.com>2026-08-13 23:57:35 +0800
committerDjshinshin <129614060+Djshinshin@users.noreply.github.com>2026-08-13 23:57:35 +0800
commite121224ba49630846e3a4dcbdfdccb74d637842d (patch)
tree0c37f448bea5c89b321fd1c830de8b01012696b6 /README.md
parent6eec5c9ffae9a92f0c11352b28a53bd178728bf1 (diff)
downloadapollo-gfx803-e121224ba49630846e3a4dcbdfdccb74d637842d.tar.gz
Add device-agnostic inference support
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 371b9f4..9e3cb02 100644
--- a/README.md
+++ b/README.md
@@ -76,9 +76,18 @@ python train.py --conf_dir=configs/apollo.yml
To evaluate the Apollo model, run the following command:
```bash
-python inference.py --in_wav=assets/input.wav --out_wav=assets/output.wav
+python inference.py \
+ --in_wav=asserts/input_wav.wav \
+ --out_wav=output.wav \
+ --device=auto
```
+`--device=auto` prefers CUDA, then Apple Silicon MPS, and finally CPU. Use
+`--checkpoint=/path/to/pytorch_model.bin` for an existing local checkpoint;
+otherwise the official `JusperLee/Apollo` checkpoint is downloaded from
+Hugging Face. See [Apple Silicon macOS notes](MACOS_ARM64.md) for a tested MPS
+setup and current limitations.
+
## 📊 Results
*Here, you can include a brief overview of the performance metrics or results that Apollo achieves using different bitrates*