Skip to content

Commit

Permalink
Patch specs enhancement for Mi300
Browse files Browse the repository at this point in the history
Signed-off-by: colramos-amd <colramos@amd.com>
  • Loading branch information
coleramos425 committed Jan 24, 2024
1 parent e5ac5cc commit f49d7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def gpuinfo():

# specify gpu name for gfx942 hardware
if gpu_name == "MI300":
gpu_name = list(SUPPORTED_ARCHS[gpu_arch].values())[0]
gpu_name = list(SUPPORTED_ARCHS[gpu_arch].values())[0][0]
if (gpu_info['gpu_arch'] == "gfx942") and ("MI300A" in rocminfo_full):
gpu_name = "MI300A_A1"
if (gpu_arch == "gfx942") and ("MI300A" not in rocminfo_full):
Expand Down

0 comments on commit f49d7f7

Please sign in to comment.