yr.InstanceProxy.delete_checkpoint#
- InstanceProxy.delete_checkpoint(checkpoint_id: str | None = None) None[source]#
Delete a checkpoint.
- Parameters:
checkpoint_id (str, optional) – The checkpoint ID to delete. If None, deletes the last checkpoint associated with this instance.
- Raises:
ValueError – If no checkpoint_id is provided and no checkpoint is associated.