Returns True if the latest ``step()`` produced in parameter updates. Note that a ``False`` return is not an error condition. Steps are frequently no-ops, such as between gradient accumulation boundaries or when overflows occur. Returns: bool: Whether the l
(self)
| 1577 | return self._config.dataloader_drop_last |
| 1578 | |
| 1579 | def was_step_applied(self) -> bool: |
| 1580 | """Returns True if the latest ``step()`` produced in parameter updates. |
| 1581 | Note that a ``False`` return is not an error condition. Steps are frequently |
| 1582 | no-ops, such as between gradient accumulation boundaries or when overflows |
| 1583 | occur. |
| 1584 | Returns: |
| 1585 | bool: Whether the latest ``step()`` modified model parameters. |
| 1586 | """ |
| 1587 | return self._step_applied |
| 1588 | |
| 1589 | def deepspeed_io(self, |
| 1590 | dataset, |
nothing calls this directly
no outgoing calls
no test coverage detected