diff options
| author | Kai Li (李凯) <tsinghua.kaili@gmail.com> | 2026-08-14 12:02:03 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-14 12:02:03 +0800 |
| commit | d8b3d2092a3a18384200ea95df237d5a8ef95d88 (patch) | |
| tree | 7d9f2f847b4a424fa865ef1124c83652bd803b58 /README.md | |
| parent | 6eec5c9ffae9a92f0c11352b28a53bd178728bf1 (diff) | |
| parent | 46c09a1f9337fb5b254ff54b630e01eee4c992c4 (diff) | |
| download | apollo-gfx803-d8b3d2092a3a18384200ea95df237d5a8ef95d88.tar.gz | |
Merge pull request #38 from Djshinshin/codex/mps-device-support
Add device-agnostic inference support
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -76,9 +76,20 @@ 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. The +default downloads the official `JusperLee/Apollo` checkpoint from Hugging Face. +For a custom checkpoint, `--checkpoint` accepts only an existing local file; +arbitrary remote repositories are rejected because the upstream checkpoint +loader deserializes the file with PyTorch. 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* |
