aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDjshinshin <129614060+Djshinshin@users.noreply.github.com>2026-08-14 15:08:29 +0800
committerDjshinshin <129614060+Djshinshin@users.noreply.github.com>2026-08-14 15:08:29 +0800
commit32f75791a82dfc5a2296773e55b083fd92806954 (patch)
tree4a05489b3137378baee28a7b6561a29f1709b1b3 /README.md
parent0a91c5fe084bb4643410c52f72a12001871f8ec6 (diff)
downloadapollo-gfx803-32f75791a82dfc5a2296773e55b083fd92806954.tar.gz
Add batched chunk inference
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 9 insertions, 6 deletions
diff --git a/README.md b/README.md
index c1ab71d..8995fbf 100644
--- a/README.md
+++ b/README.md
@@ -97,14 +97,17 @@ python inference.py \
--out_wav=long_output.wav \
--device=auto \
--chunk-seconds=6 \
- --overlap-seconds=1
+ --overlap-seconds=1 \
+ --chunk-batch-size=2
```
-Chunked inference processes one segment on the selected device at a time and
-uses normalized linear crossfades. The overlap must be no more than half the
-chunk duration, and the output keeps the input frame count. Chunking can change
-the result relative to full-file inference because the model sees less context,
-so important material should still receive a listening check. See
+`--chunk-batch-size` groups a fixed number of chunks into each model forward
+pass. Its default is `1` for minimum accelerator memory; larger values may
+improve throughput on some devices but use more memory and should be measured
+on the target backend. Normalized linear crossfades preserve the input frame
+count, and the overlap must be no more than half the chunk duration. Chunking
+can change the result relative to full-file inference because the model sees
+less context, so important material should still receive a listening check. See
[Apple Silicon macOS notes](MACOS_ARM64.md) for a tested MPS setup and current
limitations.