MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / waitAllgather

Method waitAllgather

csrc/compile/z3.cpp:245–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243 }
244
245 at::Tensor waitAllgather(at::Tensor v, long ds_id)
246 {
247 assert(hasKey(ag_comm_done_events_, ds_id));
248 ag_comm_done_events_[ds_id]->block(at::cuda::getCurrentCUDAStream());
249 return v;
250 }
251
252 void flushReduceBucket(at::ScalarType scalar_type) override
253 {

Callers 1

wait_allgatherFunction · 0.80

Calls 3

hasKeyFunction · 0.85
getCurrentCUDAStreamFunction · 0.85
blockMethod · 0.80

Tested by

no test coverage detected