[ROCm][Bugfix][Perf] Tune multi-stream shared experts use; wvSplitKrc fixes (#56098)

Signed-off-by: Matthew Wong <Matthew.Wong2@amd.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matt
2026-09-10 15:14:22 -07:00
committed by GitHub
co-authored by Claude Opus 5
parent ae71862c51
commit 9163190dda
6 changed files with 368 additions and 76 deletions
+6
View File
@@ -2357,6 +2357,12 @@ def cleanup_dist_env_and_memory(shutdown_ray: bool = False):
from vllm.platforms import current_platform
if not current_platform.is_cpu():
from vllm.triton_utils import HAS_TRITON
if HAS_TRITON:
from vllm.v1.sample.ops.topk_topp_triton import reset_buffer_cache
reset_buffer_cache()
torch.accelerator.empty_cache()
try:
torch.accelerator.empty_host_cache()