State.checkpoint.restore_from#
- State.checkpoint.restore_from(location: Path, checkpoint_name: str = '_')#
Restore state from an alternative pipeline store.
The checkpoint history is collapsed when reading out of an alternative store location, given the presumption that if the use wanted to load a prior intermediate state, that could be done so from the same outside store, and the history does not need to be also preserved in the active checkpoint store.
- Parameters:
- locationPath-like
Location of pipeline store to load.
- checkpoint_namestr
name of checkpoint to load from pipeline store