Skip to content

Conversation

@wuhuxiao
Copy link

@wuhuxiao wuhuxiao commented Dec 4, 2025

Purpose

Context Independent Cache (Chunk Cache) is all you need
What this PR does / why we need it?

Modifications

Does this PR introduce any user-facing change?

Test

ENABLE_SPARSE=True
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
image

How was this patch tested?

@wuhuxiao wuhuxiao force-pushed the dev-cache-blend-whx branch from 3931b2d to 0919b19 Compare December 4, 2025 07:22
request_meta: dict[str, BlendRequestDispatchMeta] = field(default_factory=dict)


class UCMBlendConnector(UCMDirectConnector):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seem's no need to inherit from UCMDirectConnector but from KVConnectorBase_V1

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the kv blocks load and dump are now implemented in UCMDirectConnector 's store. If there are contiguous kvcache load and dump api in kv store, we will inherit from KVConnectorBase_V1 and build specified kvcache dump, lookup, load functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants