We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce05b3f commit 3a77641Copy full SHA for 3a77641
setup.py
@@ -363,8 +363,8 @@ def get_extensions():
363
# TOOD: Remove this and use what CUDA has once we fix all the builds.
364
if IS_ROCM and use_cuda:
365
# Add ROCm GPU architecture check
366
- gpu_arch = torch.cuda.get_device_properties(0).name
367
- if gpu_arch != "gfx942":
+ gpu_arch = torch.cuda.get_device_properties(0).gcnArchName
+ if "gfx942" not in gpu_arch:
368
print(f"Warning: Unsupported ROCm GPU architecture: {gpu_arch}")
369
print(
370
"Currently only gfx942 is supported. Skipping compilation of ROCm extensions"
0 commit comments