mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-05-03 14:08:11 +00:00
fix
This commit is contained in:
parent
12b44012d9
commit
2eb36839c6
@ -452,4 +452,4 @@ def all_to_all_uneven(
|
|||||||
assert (
|
assert (
|
||||||
inputs.requires_grad
|
inputs.requires_grad
|
||||||
), "Input must require grad to assure that backward is executed, otherwise it might hang the program."
|
), "Input must require grad to assure that backward is executed, otherwise it might hang the program."
|
||||||
return AllToAllUneven.apply(inputs, input_split_sizes, output_split_sizes, group, overlap)
|
return AllToAllUneven.apply(inputs, input_split_sizes, output_split_sizes, group, overlap, fp8_communicatio)
|
||||||
|
Loading…
Reference in New Issue
Block a user