Skip to content

Commit

Permalink
Allow LN overlap for cc >=9 instead of ==9 (#443)
Browse files Browse the repository at this point in the history
Signed-off-by: Guyue Huang <[email protected]>
Co-authored-by: Guyue Huang <[email protected]>
Co-authored-by: Dong Hyuk Chang <[email protected]>
  • Loading branch information
3 people authored Dec 4, 2024
1 parent 0a4c22a commit ef3a798
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_ln_sm_margin(cfg):
Set SM margin to LayerNorm layer at H100. This is to overlap LN kernel with communication kernels.
"""
global cuda_capability
if cuda_capability == 9:
if cuda_capability >= 9:
print(8)
else:
print(0)
Expand Down

0 comments on commit ef3a798

Please sign in to comment.