MCPcopy
hub / github.com/facebookresearch/dlrm / backward

Method backward

extend_distributed.py:242–249  ·  view source on GitHub ↗
(ctx, *grad_output)

Source from the content-addressed store, hash-verified

240
241 @staticmethod
242 def backward(ctx, *grad_output):
243 global myreq
244 for r in myreq.req:
245 r.wait()
246 myreq.req = None
247 grad_inputs = myreq.tensor
248 myreq.tensor = None
249 return (None, *grad_inputs)
250
251
252class All2All_ScatterList_Wait(Function):

Callers

nothing calls this directly

Calls 1

waitMethod · 0.80

Tested by

no test coverage detected