nemo_automodel.checkpoint._backports.planner_helpers
#
Module Contents#
Functions#
Check if any delta plan is usable, indicating the plan has changed. |
API#
- nemo_automodel.checkpoint._backports.planner_helpers._contains_usable_plan(
- delta_plans: list[torch.distributed.checkpoint.planner.SavePlan],
Check if any delta plan is usable, indicating the plan has changed.
- Parameters:
delta_plans (List[SavePlan]) – A list of delta plans to check.
- Returns:
True if any delta plan is usable, False otherwise.