From 530b497a48e3eddfa9ae0e89eb8a29b04dd0c18d Mon Sep 17 00:00:00 2001 From: Jeongho Shin <62474292+mlleo@users.noreply.github.com> Date: Thu, 30 Apr 2026 02:26:00 +0900 Subject: [PATCH] [BugFix] correct host leaf status check from evicted to backuped (#23537) --- python/sglang/srt/mem_cache/hiradix_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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