[opt] adapt cache blend for store and sparse's new version#664
Merged
mag1c-h merged 4 commits intoModelEngine-Group:developfrom Jan 23, 2026
Merged
[opt] adapt cache blend for store and sparse's new version#664mag1c-h merged 4 commits intoModelEngine-Group:developfrom
mag1c-h merged 4 commits intoModelEngine-Group:developfrom
Conversation
0da2ecf to
3b067b6
Compare
3b067b6 to
5e7110c
Compare
mag1c-h
approved these changes
Jan 23, 2026
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.
Purpose
What this PR does / why we need it?
fix cache blend's function
Modifications
Does this PR introduce any user-facing change?
add nvtx for blend
Test
How was this patch tested?
DATA_DIR=/home/data/kv_cache

MODEL_PATH=/home/models/mistralai/Mistral-7B-Instruct-v0.2
BLEND_DATASET_PATH=/home/datasets/LongBench/data/2wikimqa.jsonl
cd unified-cache-management
python examples/offline_inference_blend.py