[CI][ROCm] Add an MI355 Kimi-K3 unit test group (#58012)

Signed-off-by: Oxana Korzh <okorzh@amd.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Andreas Karatzas <akaratza@amd.com>
This commit is contained in:
Oxana Korzh
2026-09-23 11:25:51 -05:00
committed by GitHub
co-authored by Claude Opus 5 Andreas Karatzas
parent 8033bd08c1
commit c4cfd7007b
4 changed files with 102 additions and 0 deletions
+20
View File
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
import importlib.metadata
import os
import platform
from datetime import timedelta
@@ -361,6 +362,25 @@ def get_cdna_version() -> int:
return 0
@cache
def get_rocm_version() -> tuple[int, ...] | None:
"""Return the installed ROCm release as (major, minor, patch), or None."""
# ROCm 10+ ships as the `rocm` pip SDK; older releases install to /opt/rocm.
try:
version = importlib.metadata.version("rocm")
except importlib.metadata.PackageNotFoundError:
rocm_path = os.environ.get("ROCM_PATH", "/opt/rocm")
try:
with open(os.path.join(rocm_path, ".info", "version")) as f:
version = f.read()
except OSError:
return None
match = re.match(r"\s*(\d+)\.(\d+)(?:\.(\d+))?", version)
if match is None:
return None
return tuple(int(part) for part in match.groups() if part is not None)
# Enable HIP online tuning early, before hipBLASLt initializes.
# Turn on hipBLASLt online tuning if use AITER hipBLASLt GEMM.
if (