From d2679f51095f01a247ea0fe574a8a9440812e510 Mon Sep 17 00:00:00 2001 From: Baizhou Zhang Date: Sun, 15 Jun 2025 20:55:15 -0700 Subject: [PATCH] Fix ChunkCache object has no attribute 'disable' (#7217) --- python/sglang/srt/mem_cache/chunk_cache.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/sglang/srt/mem_cache/chunk_cache.py b/python/sglang/srt/mem_cache/chunk_cache.py index b09d3723b..1fe23c4e3 100644 --- a/python/sglang/srt/mem_cache/chunk_cache.py +++ b/python/sglang/srt/mem_cache/chunk_cache.py @@ -29,6 +29,7 @@ class ChunkCache(BasePrefixCache): self.req_to_token_pool = req_to_token_pool self.token_to_kv_pool_allocator = token_to_kv_pool_allocator self.page_size = page_size + self.disable = True def reset(self): pass