aboutsummaryrefslogtreecommitdiffstats
path: root/MACOS_ARM64.md
diff options
context:
space:
mode:
authorKai Li (李凯) <tsinghua.kaili@gmail.com>2026-08-24 22:50:20 +0800
committerGitHub <noreply@github.com>2026-08-24 22:50:20 +0800
commite84bcacc59d5455f05d86a5c97dd4aeb3c14dbb6 (patch)
treebeb6bb6aab2c2d30145e341f5d2039ee119486ba /MACOS_ARM64.md
parentb17bf536b11fa527cddce5dd6694c4b04a44d3f6 (diff)
parent10b4427640f3e6c1f4a1778ef0526bbc0691f586 (diff)
downloadapollo-gfx803-e84bcacc59d5455f05d86a5c97dd4aeb3c14dbb6.tar.gz
Merge pull request #42 from zbitouzakaria/midpoint-chunk-handoff
Add padding to chunked inference
Diffstat (limited to 'MACOS_ARM64.md')
-rw-r--r--MACOS_ARM64.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/MACOS_ARM64.md b/MACOS_ARM64.md
index dc33865..849adb7 100644
--- a/MACOS_ARM64.md
+++ b/MACOS_ARM64.md
@@ -40,6 +40,17 @@ python inference.py \
--chunk-batch-size=2
```
+Model output is wrong near the edges of whatever it is given — worst at the
+end, where the model runs out of audio. `--chunk-pad-seconds` infers each
+chunk with that much surrounding audio on each side and discards it from the
+output, keeping those wrong edges away from chunk boundaries. The padding is
+real neighboring audio, and the file's own edges take none: the first padded
+chunk begins at the file start and the last ends at the file end, extending
+further left instead, so both file edges come out as an unchunked
+pass would produce them. The default of 0 keeps the previous output
+exactly; 1.0 is past the measured wrong-edge extent (about 0.5 s) and gives
+clean seams. Each forward pass grows from chunk to chunk plus twice the pad.
+
`--chunk-batch-size` controls how many chunks are transferred and processed in
one model forward pass. The default of `1` minimizes accelerator memory; larger
values keep memory bounded by a fixed batch but may trade additional memory for