[Bugfix] Update device name for H200 detection (#28349)

Signed-off-by: Robert Shaw <114415538+robertgshaw2-redhat@users.noreply.github.com>
This commit is contained in:
Robert Shaw 2025-11-08 14:01:11 -05:00 committed by GitHub
parent d9ab1ad9d1
commit 26990d25dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -819,8 +819,8 @@ def get_config_file_name(
) -> str:
device_name = current_platform.get_device_name().replace(" ", "_")
# Set device_name to H200 if a device from the H200 family is detected
if "H200" in device_name:
device_name = "H200"
if "H200" in device_name.split("_"):
device_name = "NVIDIA_H200"
dtype_selector = "" if not dtype else f",dtype={dtype}"
block_shape_selector = (
"" if not block_shape or not all(block_shape) else f",block_shape={block_shape}"