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

Method forward

extend_distributed.py:254–261  ·  view source on GitHub ↗
(ctx, *output)

Source from the content-addressed store, hash-verified

252class All2All_ScatterList_Wait(Function):
253 @staticmethod
254 def forward(ctx, *output):
255 global myreq
256 ctx.a2a_info = myreq.a2a_info
257 for r in myreq.req:
258 r.wait()
259 myreq.req = None
260 myreq.tensor = None
261 return output
262
263 @staticmethod
264 def backward(ctx, *grad_output):

Callers

nothing calls this directly

Calls 1

waitMethod · 0.80

Tested by

no test coverage detected