[ROCm][CI] Query HIP device memory for test GPU teardown waits. (#57450)
Signed-off-by: Sheral Kumar <shekumar@amd.com> Signed-off-by: Andreas Karatzas <Andreas.Karatzas@amd.com> Co-authored-by: Andreas Karatzas <Andreas.Karatzas@amd.com> Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Andreas Karatzas <akaratza@amd.com>
This commit is contained in:
co-authored by
Andreas Karatzas
Codex
Andreas Karatzas
parent
4868312128
commit
01f1f58f10
@@ -3,6 +3,7 @@
|
||||
import pytest
|
||||
|
||||
from vllm.distributed import cleanup_dist_env_and_memory
|
||||
from vllm.v1.worker.workspace import reset_workspace_manager
|
||||
|
||||
NEEDS_CLEAN_ENTRY = frozenset(
|
||||
{
|
||||
@@ -58,4 +59,5 @@ def pytest_runtest_setup(item):
|
||||
# hook, so tests about to be skipped never reach this, while fixture setup
|
||||
# still runs afterwards.
|
||||
if item.path.name in NEEDS_CLEAN_ENTRY:
|
||||
reset_workspace_manager()
|
||||
cleanup_dist_env_and_memory()
|
||||
|
||||
Reference in New Issue
Block a user