Skip to content
Discussion options

You must be logged in to vote

Yes, that's expected. threads sets how many threads each compute graph can use, but it doesn't keep them busy. I read the v0.9.7 code but haven't benchmarked a 265K. Your 20 reaches all three models, and I found no lower cap for Pocket TTS Small.

Kokoro and KittenTTS 2 Mini run the phonemizer, predictor and decoder one after another. The ggml graphs can use 20 threads, but some of the work between them is serial, such as noise generation and preparing the spectrum. The decoder graph is also rebuilt when the frame count changes. That fits the swings you see.

Pocket TTS Small computes one small graph per latent frame, and each result feeds the next, so frames can't run in parallel. Threads …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@0xShug0
Comment options

@Medamineelkhattabi
Comment options

@0xShug0
Comment options

@potatohog
Comment options

@0xShug0
Comment options

Answer selected by 0xShug0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants