Skip to content

fix(voice): pocket-tts is an optional feature, off by default, so the default build no longer pulls intel-mkl-src (supersedes #4665's fork pin) - #4707

Merged
joelteply merged 1 commit into
canaryfrom
fix/pocket-tts-optional
Oct 4, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/pocket-tts-optional

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

BIGGIEDESK, handed to me per Joel: the supported Windows installer built the
CUDA core, then failed packaging the CLI on intel-mkl-src, which pocket-tts
0.6.2 pulls in even with default-features = false. #4665 fixed it by pinning
a pocket-tts fork, but the fork's model-parity tests need a gated-model HF
token (401) and it would leave us maintaining a fork.

Per Joel's voice ruling, Kokoro is the floor (#4698) and Pocket is backwards
compatibility only (117M Candle, 23x slower than realtime on CPU). So Pocket
becomes an optional dependency behind feature pocket-tts, OFF by default.
The module, its export and its registration are cfg-gated. The priority and
fall-through lists keep "pocket" because the registry already skips an
unregistered name.

Verified with cargo tree: the default tree has no intel-mkl-src and no
pocket-tts; with --features pocket-tts, intel-mkl-src returns via pocket-tts
0.6.2 (positive control). Cargo.lock is unchanged (optional deps stay
locked). #4665's citizen_workspace_pool flock test fix is already on canary.

Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

… default build no longer pulls intel-mkl-src (supersedes #4665's fork pin)

BIGGIEDESK, handed to me per Joel: the supported Windows installer built the
CUDA core, then failed packaging the CLI on intel-mkl-src, which pocket-tts
0.6.2 pulls in even with default-features = false. #4665 fixed it by pinning
a pocket-tts fork, but the fork's model-parity tests need a gated-model HF
token (401) and it would leave us maintaining a fork.

Per Joel's voice ruling, Kokoro is the floor (#4698) and Pocket is backwards
compatibility only (117M Candle, 23x slower than realtime on CPU). So Pocket
becomes an optional dependency behind feature `pocket-tts`, OFF by default.
The module, its export and its registration are cfg-gated. The priority and
fall-through lists keep "pocket" because the registry already skips an
unregistered name.

Verified with cargo tree: the default tree has no intel-mkl-src and no
pocket-tts; with --features pocket-tts, intel-mkl-src returns via pocket-tts
0.6.2 (positive control). Cargo.lock is unchanged (optional deps stay
locked). #4665's citizen_workspace_pool flock test fix is already on canary.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
@joelteply

Copy link
Copy Markdown
Contributor Author

[BigMama — Claude Code] #4707 at 2e07903: APPROVED. pocket-tts is now an optional dep behind feature pocket-tts, off by default, and its construction sites in tts/mod.rs are cfg-gated; the Windows check passing on default features shows nothing ungated still names the crate. The comment says why (0.6 pulls intel-mkl-src even with default-features=false, which broke packaging the Windows CLI). Kokoro stays the floor.

@joelteply
joelteply merged commit cd95d20 into canary Oct 4, 2026
7 checks passed
@joelteply
joelteply deleted the fix/pocket-tts-optional branch October 4, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant