perf(hisparse): eliminate redundant swap output fill (#32483)

Co-authored-by: Xiaoyu Zhang <1182563586@qq.com>
This commit is contained in:
DAI0818
2026-07-31 12:09:44 +08:00
committed by GitHub
co-authored by Xiaoyu Zhang
parent 425349b799
commit afeaeccfa2
4 changed files with 35 additions and 11 deletions
@@ -813,7 +813,6 @@ class HiSparseCoordinator:
num_reqs = req_pool_indices.size(0)
top_k_indices = self.top_k_device_locs_buffer[:num_reqs]
top_k_indices.fill_(-1)
swap_in_fn = (
load_cache_to_device_buffer_dsv4_mla