-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
[Bugfix] Fix DeepseekV32 AssertionError: num_kv_heads == 1 #33086
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -49,7 +49,6 @@ def get_kv_cache_shape( | |||||||||||
| head_size: int, | ||||||||||||
| cache_dtype_str: str = "auto", | ||||||||||||
| ) -> tuple[int, ...]: | ||||||||||||
| assert num_kv_heads == 1 | ||||||||||||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. vllm/vllm/distributed/kv_transfer/kv_connector/utils.py Lines 322 to 326 in 64e3d67
/cc @NickLucche I’m not sure whether this fix is correct. PTAL.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @chaunceyjiang I think the issue is in how we're using the function, let me look into it
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi @NickLucche, for a change like #33090, I’m inclined to remove this
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as: FlashMLASparseBackend
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @NickLucche WDYT? |
||||||||||||
| return (num_blocks, block_size, head_size) | ||||||||||||
|
|
||||||||||||
| @staticmethod | ||||||||||||
|
|
||||||||||||
Uh oh!
There was an error while loading. Please reload this page.