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

Method backward

deepspeed/runtime/pipe/engine.py:1291–1293  ·  view source on GitHub ↗

Disabled for pipeline parallel training. See ``train_batch()``.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1289 raise PipelineError("Only train_batch() is accessible in pipeline mode.")
1290
1291 def backward(self, *args, **kwargs):
1292 """Disabled for pipeline parallel training. See ``train_batch()``. """
1293 raise PipelineError("Only train_batch() is accessible in pipeline mode.")
1294
1295 def step(self, *args, **kwargs):
1296 """Disabled for pipeline parallel training. See ``train_batch()``. """

Callers 1

_exec_backward_passMethod · 0.45

Calls 1

PipelineErrorClass · 0.85

Tested by

no test coverage detected