mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-04-28 19:55:29 +00:00
fix
This commit is contained in:
parent
88b3f0698c
commit
1f703e0ef4
@ -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, fp8_communicatio)
|
return AllToAllUneven.apply(inputs, input_split_sizes, output_split_sizes, group, overlap, fp8_communication)
|
||||||
|
Loading…
Reference in New Issue
Block a user