diff options
| author | Kai Li (李凯) <tsinghua.kaili@gmail.com> | 2026-08-24 22:50:20 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-24 22:50:20 +0800 |
| commit | e84bcacc59d5455f05d86a5c97dd4aeb3c14dbb6 (patch) | |
| tree | beb6bb6aab2c2d30145e341f5d2039ee119486ba /README.md | |
| parent | b17bf536b11fa527cddce5dd6694c4b04a44d3f6 (diff) | |
| parent | 10b4427640f3e6c1f4a1778ef0526bbc0691f586 (diff) | |
| download | apollo-gfx803-e84bcacc59d5455f05d86a5c97dd4aeb3c14dbb6.tar.gz | |
Merge pull request #42 from zbitouzakaria/midpoint-chunk-handoff
Add padding to chunked inference
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -102,6 +102,7 @@ python inference.py \ --device=auto \ --chunk-seconds=6 \ --overlap-seconds=1 \ + --chunk-pad-seconds=1 \ --chunk-batch-size=2 ``` @@ -109,7 +110,10 @@ python inference.py \ 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 +count, and the overlap must be no more than half the chunk duration. +`--chunk-pad-seconds` infers each chunk with that much surrounding audio per +side and discards it from the output; with its default of `0` the listener may +hear artifacts at the chunk seams. 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 |
