nemo_automodel.checkpoint._backports.planner_helpers#

Module Contents#

Functions#

_contains_usable_plan

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],
) bool[source]#

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.