feat: support post-norm EAGLE + add speculative decoding docs#174
Open
Dogacel wants to merge 1 commit into
Open
feat: support post-norm EAGLE + add speculative decoding docs#174Dogacel wants to merge 1 commit into
Dogacel wants to merge 1 commit into
Conversation
Signed-off-by: Doğaç Eldenk <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mt-benchto thebenchscript and report mean acceptance length.Test Plan
Commands (2 terminals):
Running the model (Replace draft model with
lmsys/sglang-EAGLE3-LLaMA3.1-Instruct-8Bto test standard architecture models)tokenspeed serve nreHieW/Llama-3.1-8B-Instruct --speculative-algorithm EAGLE3 --speculative-draft-model-path Dogacel/specdrift-llama3-8b-eagle3-post-norm --speculative-num-steps 7 --host 0.0.0.0 --dtype bfloat16 --kvstore-size 16 --port 8999 tokenspeed bench serve --backend openai-chat --endpoint /v1/chat/completions --host 127.0.0.1 --port 8999 --dataset-name mtbench --input-len 2048 --output-len 2048 --num-prompts 80 --max-concurrency 32 --save-result --save-detailed --result-dir results/ --extra-body '{"temperature": 0}'Results: