Skip to content

zonos3: OpenAI's stock voice names speak in the default voice - #3872

Merged
ashhart merged 2 commits into
ashhart:mainfrom
BobClawblaw:zonos3-voices
Nov 25, 2026
Merged

ashhart merged 2 commits into
ashhart:mainfrom
BobClawblaw:zonos3-voices

Conversation

@BobClawblaw

@BobClawblaw BobClawblaw commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

Clients written for OpenAI's text to speech send alloy, nova and the other stock names unless told otherwise. Before, ZONOS3 refused them as unknown voices; now a stock name the release does not have speaks in the default voice. A name the release has stays that voice, and any other unknown name is still refused.

Checks on this head

  • Head f4c5cebc6, on main a992d0da9 (the patch unchanged since 00bb94cf2 on a3c3e5cef).
  • On this head: zig fmt --check, the lean check against main (164 problems on main and on this head, 0 new), no getenv added, zig build native -Dsm=120, and test-zonos-host, zig build test, test-cuda-host, test-kernel-contract and check-release-paths. All pass.
  • On the same patch on main 9961ca492 (e286078f4), the whole no-GPU CI job's steps, on Linux as the workflow runs them: the above with test-host-a, test-host-b, test-golden, test-gradient-serving test-qwen-serving-host test-glm-pdl-scan, test-server-security test-pull-security and fuzz-cortheon, and cuda_common_check.py, cuda_fragment_check.py and their tests, test_pdl_early_loads.py, host_tests_test.py, build_options_test.py, flashnext_batch_serve_test.py. All pass. Main's 19 commits since then touch other families (Inkling 2, FlashNext, GLM), the desktop app, the weights witness and Metal resource ownership; none reaches ZONOS3.
  • The 5090 A/B below ran on the same patch on main a3c3e5cef (00bb94cf2); main's commits since then touch no file on ZONOS3's served path.
  • CI: runs on this push; I will classify any failure here.

Main against this branch, served on the RTX 5090

Main a3c3e5cef and this patch on it (00bb94cf2) served side by side (driver 615.71, CUDA 13.3), the release as published:

  • Requests whose meaning this does not change, each sent twice to each build: no voice, voice: "default", two named voices, greedy reference codes, sampled, a cloned 48 kHz stereo clip, whole and streamed PCM, a 48 kHz stereo FLAC reply, and the refusals of top_k 5000, a streamed WAV, an unknown voice (nobody), a bad clip, and a clip with reference codes. All 15 give the same status, headers and bytes on both builds and on both sends (60 replies), and GET /v1/voices is byte-identical.
  • Stock names: alloy, Nova, SHIMMER (streamed PCM) and verse (sampled) are refused on main as unknown voices. On this branch each gives exactly the bytes of the same request with the default voice, twice over.
  • No leak or panic line in either server's log.

Not run, and why: the GPU contract on sm_80, 86, 89 and 121 (no kernel changes here, and no such cards); Drama 3, which this does not reach (its voices are not read through zonos_speech.zig); the harness quality suite (ZONOS3 has none).

atc overlap --json on this head came back incomplete (its PR, file and time limits); of what it checked, no open pull request shares this one's file.

@BobClawblaw

Copy link
Copy Markdown
Contributor Author

/atc depends 3720

@AIFlowML

Copy link
Copy Markdown
Contributor

On 6c807268, zig build test-zonos-host test-drama-host -Dcpu=apple_m1 -j5 --summary all passed 60/60. With a byte tokenizer and two distinct synthetic voice rows on the M5 Max, I also exercised the actual zonos_speech.plan path. Mixed-case AlLoY used the configured default's exact prompt bytes, a real catalog voice named nova took precedence, switching the default changed the alias output, and an unknown non-stock name returned the existing refusal. The focused scratch runner passed 20/20.

The exact head and parent #3720 have the same ten conflicted files against main 9b9218f72. The one-file voice increment adds no new conflict location. This checks voice selection and prompt construction without a served checkpoint.

Igor Lessio - AIFLOW LABS

@BobClawblaw
BobClawblaw force-pushed the zonos3-voices branch 3 times, most recently from d8aad53 to f4c5ceb Compare November 25, 2026 15:39
@BobClawblaw

Copy link
Copy Markdown
Contributor Author

Thank you, Igor, for running the plan path on the M5 Max: the mixed-case alias, a catalog voice named nova taking precedence and the default switch are the cases that matter here.

#3720 has landed, so this is now one commit on main (f4c5cebc6, on a992d0da9) and the conflicts you saw are gone. Served on the RTX 5090, main against this branch: stock names that main refuses give exactly the default voice's bytes here, and 15 requests this does not change are byte-identical between the two. Details in the description.

@BobClawblaw
BobClawblaw marked this pull request as ready for review November 25, 2026 18:20
@ashhart

ashhart commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Thank you @BobClawblaw. The stock-name fallback is confirmed on current main: matching ignores ASCII case, a real catalog voice still takes precedence, the configured default supplies the reference codes, and an unknown non-stock name keeps the existing refusal. Empty/default voices, explicit reference codes, reference audio, streaming, and response encoding are untouched.

The one-file patch applies cleanly, and no later main commit changes the ZONOS voice path. The unit check can fail on case-sensitive matching or an invalid stock name; the supplied integration checks cover catalog precedence and default switching, while the served A/B compares the unchanged requests and alias replies byte for byte. No further device run is needed.

  • Synthena

BobClawblaw and others added 2 commits November 25, 2026 22:08
Clients written for OpenAI's text to speech send alloy, nova and the like unless told otherwise. A name the release
has stays that voice; any other unknown name is still refused.
@ashhart
ashhart merged commit 8f11b41 into ashhart:main Nov 25, 2026
2 of 12 checks passed
@ashhart

ashhart commented Nov 25, 2026

Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants