Disabled for pipeline parallel training. See ``train_batch()``.
(self, *args, **kwargs)
| 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. |
nothing calls this directly
no test coverage detected