[Bugfix][HiSparse] Drop the unaccounted, write-only prefill mirror staging buffer (#60429)

Signed-off-by: Matthew Bonanni <mbonanni@redhat.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Matthew Bonanni
2026-10-08 14:00:49 +00:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 194da61de1
commit 4ed4c4433b
6 changed files with 5 additions and 81 deletions
-4
View File
@@ -147,7 +147,6 @@ def init_hisparse_kv_cache(
initialize_hisparse_runtime_buffers(
cache_handles,
max_num_reqs=vllm_config.scheduler_config.max_num_seqs,
max_num_batched_tokens=vllm_config.scheduler_config.max_num_batched_tokens,
)
return kv_caches
except Exception:
@@ -197,9 +196,6 @@ def release_hisparse_profiling_cache(forward_context: dict[str, Any]) -> None:
)
)
release_pinned_state(list(runtimes.values()), registered_pools, shared_region)
for cache in cache_handles:
cache.mirror_staging_cache = None
cache.mirror_staging_slots = None
def bind_hisparse_kv_caches(