Repository navigation
[NPU] support kimi k3 on A5 and improve performance #39589
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
Merged
+923
−250
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
bada6df
support k3 on a5
zhaozx-cn 59b2075
refractor
zhaozx-cn 0eacad5
Run the shared-expert MLP on the alternate stream while keeping atten…
hanwlax 98ba765
run fused_qkvg_proj with Kimi-K3-W4A8 quanted with modelslim
hanwlax 2324c84
fix(npu): skip KDA autotune during first request (#2)
McZyWu 75c0cb4
skip qkv_proj (#4)
hanwlax ac83e8b
fix spec acc
zhaozx-cn 955bf4b
k3 use fias v2 (#6)
hanwlax e83efb3
feat: support Kimi-K3 DSPARK PD decode radix cache (#7)
qybnb 10cdafa
fix(npu): use DeepEP MXFP8 dispatch for W4A8 MXFP MoE (#11)
hanwlax af7152c
A5 k3 fp8 fused (#13)
hanwlax eec5cb7
perf(npu): reuse graph update worker
McZyWu 21009b2
fix(npu): use NPU chain rejection sampling for DSPARK
hanwlax f1179a6
feat(npu): add fine-grained Kimi-K3 shared expert overlap
Hexq0210 4782966
[NPU] Skip DSpark Mamba tracking when no boundary can be crossed
Hexq0210 21a4a01
feat(npu): switch Ascend KDA extend to fused chunk_kda_fwd (#30)
sherdavincl9 7ac8292
nz
zhaozx-cn 4cd9ed4
fix(npu): restore logical MLA prefix pages from NZ cache
hanwlax 58ae5ec
[Kimi-K3] Allow shared-expert TP subgroups below attention TP
Hexq0210 91cb6a0
revert kda triton kernel modification
zhaozx-cn 23ba155
Revert "feat: support Kimi-K3 DSPARK PD decode radix cache (#7)"
zhaozx-cn 83a12a4
fix
zhaozx-cn da481f4
fix lint
zhaozx-cn eb64d9c
fix shares expert tp
zhaozx-cn f9b16ad
fix lint
zhaozx-cn ce651b1
fix dispatch
zhaozx-cn db368a2
fix lint
zhaozx-cn 929a91b
remove unused code
zhaozx-cn 478f45f
fia v2 for mtp
zhaozx-cn 361de6a
fia v2
zhaozx-cn 957f4b7
Merge branch 'main' into a5-k3-0915
zhaozx-cn a122d31
fix kimi k3 pd acc on npu
zhaozx-cn c1b396b
fix pd kimi k3 acc on npu
zhaozx-cn bd0c6a5
fix ci
zhaozx-cn 9742bb3
fix
zhaozx-cn 09d6d8a
fix ci
zhaozx-cn acafebd
Merge branch 'main' into a5-k3-0915
zhaozx-cn 775bcc4
fix
zhaozx-cn 0a236c4
Merge branch 'main' into a5-k3-0915
sglang-npu-bot 4ab4643
Merge branch 'main' into a5-k3-0915
zhaozx-cn 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 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
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
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.