mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-08-12 05:11:56 +00:00
fix the merge
This commit is contained in:
parent
52289e4c63
commit
1a5847e6d1
@ -1082,8 +1082,8 @@ def split_forward_gather_backward(input_, dim, process_group, grad_scale=None, f
|
|||||||
return _SplitForwardGatherBackward.apply(input_, dim, process_group, grad_scale, fp8_communication)
|
return _SplitForwardGatherBackward.apply(input_, dim, process_group, grad_scale, fp8_communication)
|
||||||
|
|
||||||
|
|
||||||
def reduce_forward(input_, process_group, grad_scale=None, fp8_communication=False):
|
def reduce_forward(input_, process_group, fp8_communication=False):
|
||||||
return _ReduceForward.apply(input_, process_group, grad_scale, fp8_communication)
|
return _ReduceForward.apply(input_, process_group, fp8_communication)
|
||||||
|
|
||||||
|
|
||||||
def reduce_backward(input_, process_group, fp8_communication=False):
|
def reduce_backward(input_, process_group, fp8_communication=False):
|
||||||
|
Loading…
Reference in New Issue
Block a user