Commit 61256c1
fix(elizainference): don't let the OmniVoice picker grab the Kokoro GGUF
eliza_find_ggufs() recurses, so eliza_pick_voice_files(bundle/tts) pulled
tts/kokoro/kokoro-*.gguf into the OmniVoice candidate list. Sorted
alphabetically, "kokoro-*" sorts before "omnivoice-*", so it became tts[0] and
was loaded as the OmniVoice LM — ov_init then aborts with "tensor
'llm.embed_tokens.weight' not found". This fires on every tier that bundles
both backends (0_8b/2b/4b/9b ship OmniVoice + the fork-Kokoro GGUF).
Kokoro has its own dedicated loader (eliza_inference_kokoro_load) with an
explicit path argument and must never be auto-picked as the OmniVoice base or
codec. Drop any candidate under a kokoro/ subdir from both the tts and codec
lists. Device-verified on a Pixel 9a: with both backends staged under tts/,
OmniVoice (45120 samples) and Kokoro (39840 samples) now load and synthesize
independently.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 3f2b969 commit 61256c1
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
416 | 431 | | |
417 | 432 | | |
418 | 433 | | |
419 | 434 | | |
420 | 435 | | |
421 | 436 | | |
| 437 | + | |
| 438 | + | |
422 | 439 | | |
423 | 440 | | |
424 | 441 | | |
| |||
0 commit comments