Skip to content

echo_tts: #731 follow up - compatibility with older embeded model specs - #736

Merged
0xShug0 merged 2 commits into
0xShug0:mainfrom
lojack5:echo-tts-memory
Sep 29, 2026
Merged

0xShug0 merged 2 commits into
0xShug0:mainfrom
lojack5:echo-tts-memory

Conversation

@lojack5

@lojack5 lojack5 commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

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_cli with --session-option echo_tts.mem_saver=true and audiocpp_server with

      "session_options": {
        "echo_tts.mem_saver": true
      }

And 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.

@0xShug0
0xShug0 merged commit 44bbeea into 0xShug0:main Sep 29, 2026
6 checks passed
@0xShug0

0xShug0 commented Sep 29, 2026

Copy link
Copy Markdown
Owner

@lojack5 Thanks for the follow-up PR! Merged.

@lojack5

lojack5 commented Sep 29, 2026

Copy link
Copy Markdown
Contributor Author

@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?)

@0xShug0

0xShug0 commented Sep 30, 2026

Copy link
Copy Markdown
Owner

@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.

@lojack5

lojack5 commented Sep 30, 2026

Copy link
Copy Markdown
Contributor Author

Roger, opened #739 to get some initial feedback :). Feel free to assign me to it.

@0xShug0

0xShug0 commented Sep 30, 2026

Copy link
Copy Markdown
Owner

🫡

@lojack5
lojack5 deleted the echo-tts-memory branch September 30, 2026 18:22
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.

2 participants