-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
[Attention] Deepseek v3 MLA support with FP8 compute #12601
Merged
+580
−85
Merged
Changes from 24 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
27ad92c
squashed commits
LucasWilkinson c34e5ca
fix VLLM_MLA_PERFORM_MATRIX_ABSORPTION=0
LucasWilkinson f2cac91
more cleanups
LucasWilkinson 068e672
Update utils.py
LucasWilkinson 31b802c
Update vllm/attention/backends/mla/utils.py
LucasWilkinson 634eee6
review comments
LucasWilkinson 7487429
renaming for consistency
LucasWilkinson d27826d
Update vllm/config.py
LucasWilkinson 8bdc14a
review comments
LucasWilkinson 09d814c
review comments
LucasWilkinson 4a46014
Update vllm/attention/backends/mla/utils.py
LucasWilkinson 0881475
disable MLA for v3 for now
LucasWilkinson 37e39f4
fix failing test
LucasWilkinson cfb2d26
fix mypy
LucasWilkinson 5afc1bf
fix mypy
LucasWilkinson 54ba87d
add cuda graph support
LucasWilkinson 31c34bf
ci fix
LucasWilkinson 433322b
Revert "add cuda graph support"
LucasWilkinson f2b2500
Fix TP > 1 cuda graphs
LucasWilkinson 2d61054
cleanup
LucasWilkinson 645622c
cleanup
LucasWilkinson 0ccbcce
deepseek v3 support
LucasWilkinson 076cbe5
Merge branch 'main' into mla-fp8
LucasWilkinson a57cd3d
Merge branch 'main' of github.com:vllm-project/vllm into mla-fp8
simon-mo 548ec44
simon changes
LucasWilkinson 3d12a04
working but messy
LucasWilkinson f51cbe0
review comments
LucasWilkinson 3cdd2ce
cleanup
LucasWilkinson c9d72cb
more cleanup
LucasWilkinson 4251506
fixes
LucasWilkinson 9829fae
misc
LucasWilkinson 1621381
Update vllm/model_executor/model_loader/loader.py
LucasWilkinson e144da8
Update vllm/model_executor/model_loader/loader.py
LucasWilkinson db2c583
filter compressed tensor models better
LucasWilkinson fac827f
Merge remote-tracking branch 'origin/main' into mla-fp8
LucasWilkinson 5002734
simplification
LucasWilkinson 0d66687
Update loader.py
simon-mo 5fe1d1d
format
LucasWilkinson 5d5071c
reduce split kv amount
LucasWilkinson 7ac6f52
fix none type error
LucasWilkinson dc0e2af
ci fix
LucasWilkinson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Is it too onerous to construct a quant method here? (i.e. should we try to make this easier in the future?)
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.
ya because you have other make a quant_config and stuff and all the weight names are different, and for per-channel we enter the compressed tensors world which is another can of worms :/
agreed we should try to make it easier in the future