SillyTavern / SillyTavern-Extras

Extensions API for SillyTavern.
GNU Affero General Public License v3.0
549 stars 124 forks source link

talkinghead new features #209

Closed Technologicat closed 9 months ago

Technologicat commented 9 months ago

Here's the first batch of new features for talkinghead:

Also, some more code cleanup.

On an RTX 3070 Ti mobile, available render performance (with separable_half) is now ~50 FPS at factory clock rate (1700 MHz), and ~40 FPS when underclocked to 1100 MHz. Actual network send performance, after the rate-limiting to at most 25 FPS, is around 21 FPS.

Remaining TODOs are marked into talkinghead/tha3/app/app.py, there's a TODO list at the beginning.

I'll have to look at improving the network send next (I'd like it to produce a smooth 25 FPS, since there is definitely enough render performance for that), but I thought I'd post the new features now.

There are also some client-side bugs and missing features I might look into.

@Cohee1207: Comments?

EDIT: The plugin is now ~600 lines, up from the ~400 of the previous PR, due to the improved animations and the framerate limiter. I squash-merged all my talkinghead-next commits into this PR and rebased it onto the latest upstream/main, so it's clean as well as easy to merge. All important changes are summarized above. The extra two commits below fix minor omissions. From there on, anything new will go into a new branch to avoid messing this one up. :)

Technologicat commented 9 months ago

No comment this time? :)

Thanks for the merge, and merry xmas!