Skip to content

Commit

Permalink
fix condition issue in ccl.py
Browse files Browse the repository at this point in the history
  • Loading branch information
YizhouZ committed Aug 26, 2024
1 parent e2654bf commit ec32a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepspeed/comm/ccl.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

def build_ccl_op():
builder = get_accelerator().create_op_builder("CCLCommBuilder")
if builder is None or NotImplementedBuilder:
if builder is None or builder is NotImplementedBuilder:
return None
ccl_cpp_module = builder.load()
print(f'DeepSpeed {builder.absolute_name()} built successfully')
Expand Down

0 comments on commit ec32a0a

Please sign in to comment.