From 44922de48a04f9059b6f869791891a36128569d2 Mon Sep 17 00:00:00 2001 From: Cheng Wan <54331508+ch-wan@users.noreply.github.com> Date: Sun, 24 May 2026 11:37:46 -0700 Subject: [PATCH] fix(swa): downgrade translate_loc_from_full_to_swa key-change log from warning to debug (#26225) Co-authored-by: Cheng Wan --- python/sglang/srt/mem_cache/swa_memory_pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/srt/mem_cache/swa_memory_pool.py b/python/sglang/srt/mem_cache/swa_memory_pool.py index 6fab812af..21c9f692b 100644 --- a/python/sglang/srt/mem_cache/swa_memory_pool.py +++ b/python/sglang/srt/mem_cache/swa_memory_pool.py @@ -173,7 +173,7 @@ class SWAKVPool(BaseSWAKVPool): key = (kv_indices.data_ptr(), kv_indices.numel()) if key != self._cached_loc_key: if self._cached_loc_key is not None: - logger.warning( + logger.debug( "translate_loc_from_full_to_swa: loc tensor changed mid-forward " "without invalidate_loc_cache() — possible missing call site" )