Repository navigation
speech: Drama 3's voices through speech_voices.zig, and sampling defaults through parseFrom - #4609
Merged
Merged
Conversation
This was referenced Nov 22, 2026
Draft
…ults through parseFrom The server's voices load at startup and list on /v1/voices through one file, speech_voices.zig, and speech_sampling.parse becomes parseFrom with Drama 3's defaults and its top-k ceiling of 64. Drama 3 is the only user: its defaults, ceiling, messages, behaviour and refusals are unchanged.
ashhart
force-pushed
the
speech-route-neutral
branch
from
November 23, 2026 15:43
7a56a16 to
39c4b5d
Compare
Owner
|
Thank you @BobClawblaw. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
ashhart
added a commit
that referenced
this pull request
Nov 23, 2026
ashhart
added a commit
to garvrao80/TensorFold
that referenced
this pull request
Nov 23, 2026
ashhart
added a commit
to timmyit/TensorFold
that referenced
this pull request
Nov 23, 2026
ashhart
added a commit
that referenced
this pull request
Nov 23, 2026
ashhart
added a commit
to akol1/TensorFold
that referenced
this pull request
Nov 23, 2026
ashhart
added a commit
that referenced
this pull request
Nov 23, 2026
BobClawblaw
added a commit
to BobClawblaw/TensorFold
that referenced
this pull request
Nov 23, 2026
…eply options, reruns, the Drama 3 A/B, the shared code left Main's reply options (24-bit and float WAV, FLAC, sample_rate, stereo) apply to ZONOS3's whole replies. The port-side checks, the repo checks and the Drama 3 A/B were run again on main 281d81b; the reader and WAV moves left the shared-code list with ashhart#3719, and the voices holder and parseFrom with ashhart#4609.
BobClawblaw
added a commit
to BobClawblaw/TensorFold
that referenced
this pull request
Nov 24, 2026
…eply options, reruns, the Drama 3 A/B, the shared code left Main's reply options (24-bit and float WAV, FLAC, sample_rate, stereo) apply to ZONOS3's whole replies. The port-side checks, the repo checks and the Drama 3 A/B were run again on main 281d81b; the reader and WAV moves left the shared-code list with ashhart#3719, and the voices holder and parseFrom with ashhart#4609.
ashhart
pushed a commit
to BobClawblaw/TensorFold
that referenced
this pull request
Nov 24, 2026
…eply options, reruns, the Drama 3 A/B, the shared code left Main's reply options (24-bit and float WAV, FLAC, sample_rate, stereo) apply to ZONOS3's whole replies. The port-side checks, the repo checks and the Drama 3 A/B were run again on main 281d81b; the reader and WAV moves left the shared-code list with ashhart#3719, and the voices holder and parseFrom with ashhart#4609.
ashhart
pushed a commit
to BobClawblaw/TensorFold
that referenced
this pull request
Nov 24, 2026
…eply options, reruns, the Drama 3 A/B, the shared code left Main's reply options (24-bit and float WAV, FLAC, sample_rate, stereo) apply to ZONOS3's whole replies. The port-side checks, the repo checks and the Drama 3 A/B were run again on main 281d81b; the reader and WAV moves left the shared-code list with ashhart#3719, and the voices holder and parseFrom with ashhart#4609.
ashhart
pushed a commit
that referenced
this pull request
Nov 25, 2026
…tions, reruns, the Drama 3 A/B, the shared code left Main's reply options (24-bit and float WAV, FLAC, sample_rate, stereo) apply to ZONOS3's whole replies. The port-side checks, the repo checks and the Drama 3 A/B were run again on main 281d81b; the reader and WAV moves left the shared-code list with #3719, and the voices holder and parseFrom with #4609.
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 speech-route extraction asked for on #3615, option (a): a voices holder and
parseFrom, with Drama 3 as the only user.What changes
server/speech_voices.zig(new): the server's voices load at startup (start) and list on/v1/voices(listing) through this one file.server.zigandroutes.zigcall it; the lines it holds are the onesserver.zighad, unchanged.server/speech_sampling.zig:parsebecomesparseFrom(base, max_top_k), andparsecalls it with Drama 3's defaults and its ceiling of 64, so the request fields, the defaults, and every message (top_k must be an integer from 1 through 64) are the same.server/speech_sampling_test.zig: one test forparseFrom: a caller's defaults are kept for fields a request omits, andtop_kpast the ceiling is refused with that ceiling in the message.No request field, plan field, family entry or Drama behaviour changes. ZONOS3's fields and family entry come with #3720, which I will rebase onto this once it lands.
Drama 3 A/B, served replies
The same requests to
tensorfold-native servebuilt from main and from this branch, two server starts each, every speech request sent twice per start (8 replies per request;/v1/voicesonce per start, 4), compared by SHA-256:b112ad68cab2c3b27atop_k64, seed 3, PCMtop_k65 (400)top_k0 (400)GET /v1/voicesThe GB10 run is of this commit before its rebase onto
b112ad68c(the rebase was clean; main had changedserver.zig,routes.zigandspeech.zigelsewhere). Both refusals answer{"error": {"message": "top_k must be an integer from 1 through 64", "type": "invalid_request_error"}}on both builds. No server log names a leak or a panic.Checks (Linux x86_64, on this branch at
b112ad68c)The no-GPU workflow's zig steps:
test-host-a,test-host-b,test,test-golden,test-kernel-contract,test-gradient-serving test-qwen-serving-host test-glm-pdl-scan,test-server-security test-pull-security,fuzz-cortheonandcheck-release-pathspass;zig fmt --checkis clean and the lean check reports 0 new. The macOS and Metal workflow jobs were not run locally.