-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Autocomplete: Various latency related tweaks and new eager cancellati…
…on experiment (#3096) A few small tweaks from my learnings of looking at some traces: 1. Fixes a bug where the debounce time was increased for non-local models 2. Sets the same debounce time for single-line and multi-line 3. Remove some config evaluations off the critical path. Those are heavily cached but it would still cause the very first completion to be slower 4. Add a new `eager cancellation` experiment that will cancel requests as soon as a new request is created and reduces the debounce time significantly to try and counter the latency regression ## Test plan - For the new experiment, I added a abort handler in the fireworks client and ensured it was heavily hit - For the rest, just made sure completions still work. The changes are trivial.
- Loading branch information
1 parent
28adbab
commit 703afda
Showing
6 changed files
with
45 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters