[HiSparse][BugFix]: Fix the memory leak issue during health checks. (#22882)

This commit is contained in:
Zhangheng
2026-04-15 19:49:54 +08:00
committed by GitHub
parent ce31934ca8
commit 0a5c9728a1
@@ -89,6 +89,8 @@ class SchedulerOutputProcessorMixin:
req.check_finished()
if req.finished():
req.time_stats.set_quick_finish_time()
if self.enable_hisparse:
self.hisparse_coordinator.request_finished(req)
release_kv_cache(req, self.tree_cache)
# Note: Logprobs should be handled on the prefill engine.