Repository navigation
docs(piper_tts): the non-finite duration abort is the plain Vulkan path, not the sidecar - #946
Merged
Merged
Conversation
…th, not the sidecar Measured on RK3588 Mali G610 with a native aarch64 build of v0.9.2: --backend vulkan with no sidecar and no exec_plan aborts the first request with 'Piper TTS duration predictor produced a non-finite duration' (1 of 1 runs). Before 0xShug0#911 sized the graph arenas the same request died earlier and louder, at GGML_ASSERT(ctx->descriptor_set_idx < ctx->descriptor_sets.size()) in ggml-vulkan.cpp, so the sidecar-scoped sentence understates the plain-path failure.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The one sentence that is now stale
docs/models/piper_tts.mdsays the non-finite duration abort is what the RKNN decoder sidecar addsto the Vulkan duration path:
Measured on this board (RK3588 Orange Pi 5 Plus, native aarch64 build of
0097d365/ v0.9.2,--vulkan on,--backend vulkan,--threads 4,seed=1234, 160-character English text, nosidecar, no
exec_plan): the abort is the normal outcome of the plain Vulkan path, 1 of 1 runs,rc=1, peak RSS 2254 MB. The run log shows the duration graph building andduration_ms 2499being logged, so the graph fits — it is the value that is not finite.
That changed with #911, which sized the graph arenas for long unchunked latents: before it, the same
request died earlier and louder, at
GGML_ASSERT(ctx->descriptor_set_idx < ctx->descriptor_sets.size())inggml-vulkan.cpp(
ggml_vk_dispatch_pipeline). So the old failure mode is gone, the new one is not sidecar-specific,and the sentence that scopes it to the sidecar now understates it: on Mali the duration stages are not
a tuning knob to watch, they are a stage to move off the device.
Fix
One clause, no new claims: the same measurement, scoped to the plain Vulkan path and to v0.9.2.
The rest of the paragraph — host pinning as the fix, ~1.9x on the duration stage, render-affecting
on CUDA — is unchanged and still reproduces.
Validation
Docs-only change, one file, one paragraph. The quoted behaviour is from
/root/wt-vk/runs/{piper_vk_en,piper_cpu_en}.{out,log,wav}and/root/wt-vk/runs/results.tsvonthe board (the same build also renders
piper_ttson CPU at RTF 0.264, 9543.4 ms of audio, so theaborts are Vulkan-specific and not a broken voice).