[hotfix] Reenable all reduce fusion on sm100 (#17591)
This commit is contained in:
@@ -88,10 +88,9 @@ FUSE_ALLREDUCE_MAX_BATCH_SIZE = 2048
|
||||
|
||||
def apply_flashinfer_allreduce_fusion(batch_size: int):
|
||||
return (
|
||||
# TODO: flashinfer 0.6.1 caused performance regression on sm100 for allreduce fusion
|
||||
# Temporarily disable it on sm100. Add it back after its performance is restored.
|
||||
# NOTE: flashinfer 0.6.1 caused performance regression on sm100 for allreduce fusion
|
||||
# Ref: https://github.com/sgl-project/sglang/issues/17237
|
||||
_is_sm90_supported
|
||||
(_is_sm90_supported or _is_sm100_supported)
|
||||
and _is_flashinfer_available
|
||||
and batch_size > 0
|
||||
and batch_size <= FUSE_ALLREDUCE_MAX_BATCH_SIZE
|
||||
|
||||
Reference in New Issue
Block a user