From a4c762811ac5a29cfd58d3741ffe368e08f7d0dd Mon Sep 17 00:00:00 2001 From: Neal Vaidya Date: Tue, 16 Dec 2025 14:11:24 -0800 Subject: [PATCH] Remove incorrect BlockRemoved event emission during node splits (#14934) Signed-off-by: Neal Vaidya --- python/sglang/srt/mem_cache/radix_cache.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/sglang/srt/mem_cache/radix_cache.py b/python/sglang/srt/mem_cache/radix_cache.py index de6581846..eb53c8beb 100644 --- a/python/sglang/srt/mem_cache/radix_cache.py +++ b/python/sglang/srt/mem_cache/radix_cache.py @@ -649,7 +649,6 @@ class RadixCache(BasePrefixCache): def _split_node(self, key: RadixKey, child: TreeNode, split_len: int): # new_node -> child # New node inherits child's priority (represents shared prefix) - self._record_remove_event(child) new_node = TreeNode(priority=child.priority) new_node.children = {self.get_child_key_fn(key[split_len:]): child} new_node.parent = child.parent