"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "9fc9c6dd7186732b1397765aa089f6d45c27c3ea"
Unverified Commit d2679f51 authored by Baizhou Zhang's avatar Baizhou Zhang Committed by GitHub
Browse files

Fix ChunkCache object has no attribute 'disable' (#7217)

parent 96be97bf
...@@ -29,6 +29,7 @@ class ChunkCache(BasePrefixCache): ...@@ -29,6 +29,7 @@ class ChunkCache(BasePrefixCache):
self.req_to_token_pool = req_to_token_pool self.req_to_token_pool = req_to_token_pool
self.token_to_kv_pool_allocator = token_to_kv_pool_allocator self.token_to_kv_pool_allocator = token_to_kv_pool_allocator
self.page_size = page_size self.page_size = page_size
self.disable = True
def reset(self): def reset(self):
pass pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment