MCPcopy Create free account
hub / github.com/THUDM/GLM / reduce_from_model_parallel_region

Function reduce_from_model_parallel_region

mpu/mappings.py:134–135  ·  view source on GitHub ↗
(input_)

Source from the content-addressed store, hash-verified

132 return _CopyToModelParallelRegion.apply(input_)
133
134def reduce_from_model_parallel_region(input_):
135 return _ReduceFromModelParallelRegion.apply(input_)
136
137def scatter_to_model_parallel_region(input_):
138 return _ScatterToModelParallelRegion.apply(input_)

Callers 2

forwardMethod · 0.85
forwardMethod · 0.85

Calls 1

applyMethod · 0.80

Tested by

no test coverage detected