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

Method endBackward

csrc/compile/z2.cpp:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 ~Z2CustomOpExecutor() {}
32
33 void endBackward() override
34 {
35 CustomOpExecutor::endBackward();
36
37 if (param_updated_) {
38 for (auto& it : has_acc_grad_) { it.second = false; }
39 }
40 }
41
42 void flushReduceBucket(at::ScalarType scalar_type) override
43 {

Callers 1

end_backwardFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected