[mem_cache] Replace is_chunk_cache / is_tree_cache with supports_prefix_sharing (#42362)
This commit is contained in:
@@ -484,11 +484,8 @@ class TreeCacheNamespace(SimpleNamespace):
|
||||
def supports_mamba(self) -> bool:
|
||||
return False
|
||||
|
||||
def is_chunk_cache(self) -> bool:
|
||||
return False
|
||||
|
||||
def is_tree_cache(self) -> bool:
|
||||
return not self.is_chunk_cache()
|
||||
def supports_prefix_sharing(self) -> bool:
|
||||
return True
|
||||
|
||||
def evict(self, params: EvictParams):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user