CheckpointPaths
This interface provides the paths/keys to input and output checkpoint directories. It defines methods to retrieve the storage prefix for checkpoints from a previous iteration/attempt and the storage prefix for checkpoints from the current attempt.
Methods
GetPreviousCheckpointsPrefix()
@classmethod
def GetPreviousCheckpointsPrefix() - > storage.DataReference
Returns the storage prefix for checkpoints for the previous iteration / attempt. It is optional and can be an empty string in some cases
Returns
| Type | Description |
|---|---|
storage.DataReference |
GetCheckpointPrefix()
@classmethod
def GetCheckpointPrefix() - > storage.DataReference
Returns the storage prefix that should be used to store checkpoints for the current attempt. The path is not accessible to Flyte backend and are stored in the users raw path
Returns
| Type | Description |
|---|---|
storage.DataReference |