Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/GLM
/ backward
Method
backward
mpu/mappings.py:99–100 ·
view source on GitHub ↗
(ctx, grad_output)
Source
from the content-addressed store, hash-verified
97
98
@staticmethod
99
def
backward(ctx, grad_output):
100
return
grad_output
101
102
103
class
_ScatterToModelParallelRegion(torch.autograd.Function):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected