Expand description
Checkpoint pruning and validation for gradient checkpoints.
This module provides CheckpointPruner for retention-policy-based pruning
and CheckpointValidator for CRC-32 integrity verification.
Structs§
- Checkpoint
Pruner - Applies a
RetentionPolicyto a collection ofCheckpointRecords and determines which records should be deleted. - Checkpoint
Record - Metadata about a single gradient checkpoint.
- Checkpoint
Validator - Validates checkpoint data against stored CRC-32 and size metadata.
- Retention
Policy - Configures which checkpoints the
CheckpointPrunershould keep.
Enums§
- Validation
Error - Errors that can occur during checkpoint validation.
Functions§
- crc32
- Compute the CRC-32 (IEEE polynomial) of
data.