forked from mlc-ai/mlc-llm
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new Relax function to the batched model for evaluating query toke…
…ns over multiple time steps in parallel (#156) * add new model for evaluating logits over multiple queries using KV cache * add test * clean * Only the number of past tokens is needed * fix build * fix * correctly handle num_past_tokens > sliding_window case
- Loading branch information
Showing
3 changed files
with
365 additions
and
61 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
Oops, something went wrong.