mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-27 12:43:02 +00:00
fix the merge
This commit is contained in:
@@ -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):
|
||||||
|
Reference in New Issue
Block a user