-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[Fix] Update to v0.1.5.post4 and refine HIP attention backend selection #11161
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
[Fix] Update to v0.1.5.post4 and refine HIP attention backend selection #11161
Conversation
Summary of ChangesHello @yichiche, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on enhancing the stability and performance for AMD GPU users by updating the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
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 updates the aiter backend to v0.1.5.post4 and refines the logic for selecting the HIP attention backend, particularly to enable speculative decoding. The changes are straightforward and correct, including the version bump in the Dockerfile and the simplified conditional logic in model_runner.py. I have one minor suggestion to further improve the code's readability and maintainability.
Motivation
This PR updates the aiter backend to the latest commit (
v0.1.5.post4) to include the newest MLA kernel implementation supported on AMD MI355x GPUs and meanwhile update sglang interface support speculative decoding and fixes the logic for selecting the HIP attention backend. Previously, the condition for enablingaiterwas more complex and could lead to unexpected fallbacks. This change makes the condition explicit: aiter will only be used when the number of KV heads is 16 or 128, otherwise, the fallback remainstriton.Modifications
AITER_COMMITfromv0.1.5.post3→v0.1.5.post4.Accuracy Tests
Benchmarking and Profiling
Model: deepseek-ai/DeepSeek-R1-0528
Server: MI355x * 8
Concurrency | Baseline | Speculative decoding
1 | 13459.11| 6260.24
Checklist