Skip to content

Commit 502c2e4

Browse files
committed
Merge branch 'HeyangQin/enable_hpz_nograd' of https://github.com/microsoft/DeepSpeed into HeyangQin/enable_hpz_nograd
2 parents 3769092 + 3865dab commit 502c2e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

op_builder/builder.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,8 @@ def cxx_args(self):
702702
if not self.build_for_cpu:
703703
if not self.is_rocm_pytorch():
704704
CUDA_LIB64 = os.path.join(torch.utils.cpp_extension.CUDA_HOME, "lib64")
705+
if not os.path.exists(CUDA_LIB64):
706+
CUDA_LIB64 = os.path.join(torch.utils.cpp_extension.CUDA_HOME, "lib")
705707
else:
706708
CUDA_LIB64 = os.path.join(torch.utils.cpp_extension.ROCM_HOME, "lib")
707709

0 commit comments

Comments
 (0)