Repository navigation
Conversation
llc-kc
requested review from
1am9trash,
BBuf,
DarkSharpness,
Fridge003,
HaiShaw,
HydraQYH,
YAMY1234,
Ying1123,
alphabetc1,
celve,
hanming-lu,
hnyls2002,
huangtingwei9988,
hubertlu-tw,
hzh0425,
ispobock,
kkHuang-amd,
merrymercy,
rainj-me,
xiezhq-hermann,
yizhang2077 and
yuan-luo
as code owners
September 18, 2026 07:45
4 of 5 tasks
Collaborator
|
Compared this with #42178, which fixes the same root cause (pooled index keys of a 256-token span live in the group-head page) from the other side.
The DSA layout can't be page-local like QSA ( Prefer #42178 for the index layout: it fixes the corruption without touching the paged-MQA kernels, and the only cost is the coarser prefill / branching checkpoint granularity. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
Currently indexer cache is missing for GLM-5.3-Flash
exiting PR #39156, #38212 try to fix this, but the require model-specific adaptations.
The root cause is GLM pack indexer cache of 256 token into it's first 64 token.
Modifications
Make index cache each page (64 token) stored into it corresponding page, and add indexer sidecar for L2 L3 offload.
As a result, we do not need complicated and model-specific adaptations in hicache, compatible with both L2 and L3 storage.
Accuracy Tests
test script:
before fix without hicache l2 l3
after fix:
Speed Tests and Profiling
to do
CI States
Latest PR Test (Base): ❌ Run #35320939903
Latest PR Test (Extra): ❌ Run #35320939885
Latest PR Test (AMD ROCm 10): ❌ Run #35320939851