Checkpointing¶
Divi provides checkpointing support for saving and resuming optimization state.
CheckpointConfig controls where and how often
state is written; CheckpointInfo describes a
single checkpoint on disk.
divi.qprog.checkpointing Module¶
Functions¶
|
Remove old checkpoints, keeping only the most recent N. |
|
Get information about a checkpoint. |
|
Get the path to the latest checkpoint. |
|
List all checkpoints in a main checkpoint directory. |
|
Resolve the path to a checkpoint subdirectory. |
Classes¶
|
Configuration for checkpointing during optimization. |
|
Raised when a checkpoint file is corrupted or invalid. |
Base exception for checkpoint-related errors. |
|
|
Information about a checkpoint. |
|
Raised when a checkpoint directory or file is not found. |