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

Method step

deepspeed/runtime/pipe/engine.py:1311–1313  ·  view source on GitHub ↗

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

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1309 raise PipelineError("Only train_batch() is accessible in pipeline mode.")
1310
1311 def step(self, *args, **kwargs):
1312 """Disabled for pipeline parallel training. See ``train_batch()``. """
1313 raise PipelineError("Only train_batch() is accessible in pipeline mode.")
1314
1315 def module_state_dict(self, exclude_frozen_parameters=False):
1316 """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