fix(swa): downgrade translate_loc_from_full_to_swa key-change log from warning to debug (#26225)

Co-authored-by: Cheng Wan <cheng.wan@radixark.ai>
This commit is contained in:
Cheng Wan
2026-05-24 11:37:46 -07:00
committed by GitHub
co-authored by Cheng Wan
parent 7f45bcdd2a
commit 44922de48a
@@ -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"
)