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

Method step

deepspeed/runtime/pipe/engine.py:1295–1297  ·  view source on GitHub ↗

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

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

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()``. """
1297 raise PipelineError("Only train_batch() is accessible in pipeline mode.")
1298
1299 def module_state_dict(self, exclude_frozen_parameters=False):
1300 """Override hack to save a pipe model and return the directory path of the save.

Callers

nothing calls this directly

Calls 1

PipelineErrorClass · 0.85

Tested by

no test coverage detected