diff --git a/python/sglang/srt/mem_cache/hiradix_cache.py b/python/sglang/srt/mem_cache/hiradix_cache.py index e725f89cc..123d39ae5 100644 --- a/python/sglang/srt/mem_cache/hiradix_cache.py +++ b/python/sglang/srt/mem_cache/hiradix_cache.py @@ -846,7 +846,7 @@ class HiRadixCache(RadixCache): return for child in node.children.values(): - if child.evicted: + if child.backuped: if node in self.evictable_host_leaves: self.evictable_host_leaves.remove(node) return