MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / forward

Method forward

deepspeed/runtime/pipe/engine.py:1181–1183  ·  view source on GitHub ↗

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

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1179 return buffers
1180
1181 def forward(self, *args, **kwargs):
1182 """Disabled for pipeline parallel training. See ``train_batch()``. """
1183 raise PipelineError("Only train_batch() is accessible in pipeline mode.")
1184
1185 def backward(self, *args, **kwargs):
1186 """Disabled for pipeline parallel training. See ``train_batch()``. """

Callers 1

_exec_forward_passMethod · 0.45

Calls 1

PipelineErrorClass · 0.85

Tested by

no test coverage detected