Repository navigation
echo_tts: #731 follow up - compatibility with older embeded model specs - #736
Conversation
|
@lojack5 Thanks for the follow-up PR! Merged. |
|
@0xShug0 I've been thinking, now that I'm starting to get a little more familiar with (at least the Echo-TTS) surrounding code, I'd like to take a crack at implementing single-CFG sampling for it (it's mentioned in the Echo-TTS release blog post, I have a POC python/torch implementation of it, and I've found a few examples on huggingface - also python/torch - that also implement it). Would you like me to open an issue about it to discuss details (like whether cfg_mode should be a session- or request-option, etc)? This project will likely take me longer, it's a bit more complicated, but it looks like all the pieces in the current inference pipeline are pretty well setup to adapt it (at least, as a session-level option, request-level option I'll have to think carefully about allocation strategies - possibly allocate 2 lane denoiser mask along with 1- and 3-lane ones, then in mem_saver mode deallocate the 2- or 3-lane one when the other is requested?) |
|
@lojack5 Sounds good. I'm happy to see model-specific optimizations! If it can improve performance or reduce VRAM usage, just run an A/B test and share the numbers. |
|
Roger, opened #739 to get some initial feedback :). Feel free to assign me to it. |
|
🫡 |
Ok, here's what we discussed in #731 (I think).
I'm less confident on this one that I did it fully correctly. I did test both
audiocpp_cliwith--session-option echo_tts.mem_saver=trueandaudiocpp_serverwithAnd it doesn't complain about an invalid config option. Also verified with some debug prints (no in these commits) that showed the setting was picked up.
Definitely would like a closer look at this one since I'm less sure about it.