From a713349faf748b854ec30895abee7fd26789c6d9 Mon Sep 17 00:00:00 2001 From: Shuwen Wang <47200617+alphabetc1@users.noreply.github.com> Date: Fri, 11 Sep 2026 14:58:26 +0800 Subject: [PATCH] [HiCache] fix: preserve SWA host lock boundaries across splits (#38835) --- .../srt/mem_cache/unified_cache/components/swa_component.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/python/sglang/srt/mem_cache/unified_cache/components/swa_component.py b/python/sglang/srt/mem_cache/unified_cache/components/swa_component.py index 705cdf0f3..3d38ee282 100644 --- a/python/sglang/srt/mem_cache/unified_cache/components/swa_component.py +++ b/python/sglang/srt/mem_cache/unified_cache/components/swa_component.py @@ -608,9 +608,6 @@ class SWAComponent(TreeComponent): parent_swa_data = new_parent.component_data[self.component_type] child_swa_data = child.component_data[self.component_type] parent_swa_data.host_lock_ref = child_swa_data.host_lock_ref - host_uuid = child_swa_data.metadata.pop("host_uuid", None) - if host_uuid is not None: - parent_swa_data.metadata["host_uuid"] = host_uuid host_lru = self.tree_core.host_lru_lists[self.component_type] # Host-locked halves stay out of the host LRU: in-flight IO