[KV Offload] Add optional tier locality to FS/OBJ KV events (#48281)

Signed-off-by: Change72 <changg@nvidia.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Chang Guo
2026-07-17 10:31:52 +03:00
committed by GitHub
co-authored by Codex Claude Fable 5
parent 26c909ed74
commit 426d48bfa1
11 changed files with 326 additions and 10 deletions
@@ -42,12 +42,16 @@ class BlockStored(KVCacheEvent):
"""
group_idx: int | None = None
kv_cache_spec_kind: str | None = None
kv_cache_spec_sliding_window: int | None = None
locality: str | None = None
class BlockRemoved(KVCacheEvent):
block_hashes: list[ExternalBlockHash]
medium: str | None
group_idx: int | None = None
locality: str | None = None
class AllBlocksCleared(KVCacheEvent):