-
-
Notifications
You must be signed in to change notification settings - Fork 11.8k
[ROCm] [V1] [SpecDec] Enable Speculative Decoding on ROCm V1 Engine #21496
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
Conversation
Signed-off-by: tjtanaa <[email protected]>
Signed-off-by: tjtanaa <[email protected]>
|
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can either: Add 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request enables speculative decoding on the ROCm V1 Engine, which is a great enhancement. The changes primarily involve updating test configurations to support different attention backends on ROCm and relaxing an assertion to allow for this.
I've found a critical issue in a test utility function where a try...except block is ineffective, potentially causing tests to run with incorrect configurations. I've also pointed out a misleading comment in the core logic that could cause confusion for future developers. Addressing these points will improve the correctness and maintainability of the code.
Signed-off-by: tjtanaa <[email protected]>
SageMoore
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor suggestion. The rest looks good.
Signed-off-by: tjtanaa <[email protected]>
|
This pull request has merge conflicts that must be resolved before it can be |
Signed-off-by: tjtanaa <[email protected]>
|
This pull request has merge conflicts that must be resolved before it can be |
Signed-off-by: tjtanaa <[email protected]>
|
LGTM |
…llm-project#21496) Signed-off-by: tjtanaa <[email protected]>
…Engine (vllm-project#21496)" This reverts commit 4f060b6.
…llm-project#21496) Signed-off-by: tjtanaa <[email protected]> Signed-off-by: Jinzhen Lin <[email protected]>
…llm-project#21496) Signed-off-by: tjtanaa <[email protected]> Signed-off-by: Noam Gat <[email protected]>
…llm-project#21496) Signed-off-by: tjtanaa <[email protected]> Signed-off-by: Paul Pak <[email protected]>
…llm-project#21496) Signed-off-by: tjtanaa <[email protected]> Signed-off-by: Diego-Castan <[email protected]>
…llm-project#21496) Signed-off-by: tjtanaa <[email protected]>
…llm-project#21496) Signed-off-by: tjtanaa <[email protected]>
…llm-project#21496) Signed-off-by: tjtanaa <[email protected]> Signed-off-by: Xiao Yu <[email protected]>
…llm-project#21496) Signed-off-by: tjtanaa <[email protected]>
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.Purpose
Fix #21308
Enable Speculative Decoding on ROCm V1 Engine:
Test Plan
Enable and pass the unit tests:
tests/v1/spec_decode/test_ngram.pytests/v1/spec_decode/test_max_len.pytests/v1/spec_decode/test_eagle.pytests/v1/e2e/test_spec_decode.pyTest Result
Pass status
tests/v1/spec_decode/test_ngram.pytests/v1/spec_decode/test_max_len.pytests/v1/spec_decode/test_eagle.pytests/v1/e2e/test_spec_decode.py(Optional) Documentation Update