-
Notifications
You must be signed in to change notification settings - Fork 12.2k
llama-server : implement universal assisted decoding #12635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This looks really interesting! It's surprising how much crossover there is between many models' tokenisers. |
Why was this closed? Was really looking forward to this |
Sorry, Github was acting weird. For some reason when I merged my fork with upstream it added past upstream commits to the PR. I'll reopen it. |
Anyways, I merged changes from upstream and updated the PR. The assigned labels are wrong and I don't know how to fix them. Here are some sample outputs:
I also added
|
This pull request implements universal assisted decoding in llama-server. This is a method for performing speculative decoding given a draft model whose tokenizer is incompatible with the main model, by decoding and reencoding the generated text between the two models.
It currently works, but some improvements can be made.