MCPcopy Create free account
hub / github.com/zai-org/CodeGeeX / backward

Method backward

codegeex/megatron/mpu/mappings.py:110–111  ·  view source on GitHub ↗
(ctx, grad_output)

Source from the content-addressed store, hash-verified

108
109 @staticmethod
110 def backward(ctx, grad_output):
111 return grad_output
112
113
114class _ScatterToModelParallelRegion(torch.autograd.Function):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected