Skip to content

[Feature] Add checkpoint rotation and retention - #4098

Open
theap06 wants to merge 1 commit into
pytorch:mainfrom
theap06:feat/checkpointingRetention
Open

[Feature] Add checkpoint rotation and retention#4098
theap06 wants to merge 1 commit into
pytorch:mainfrom
theap06:feat/checkpointingRetention

Conversation

@theap06

@theap06 theap06 commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

##Summary:

  • This PR adds automatic checkpoint retention and rotation to TorchRL.
  • Previously, Checkpoint.save(path) could either overwrite the same path or require users to create and delete versioned checkpoints themselves. The new CheckpointRotation class manages that lifecycle.

@pytorch-bot

pytorch-bot Bot commented Aug 12, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/rl/4098

Note: Links to docs will display an error until the docs builds have been completed.

⚠️ 15 Awaiting Approval

As of commit 65c84b6 with merge base ae421b9 (image):

AWAITING APPROVAL - The following workflows need approval before CI can run:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 12, 2026
@github-actions github-actions Bot added Feature New feature Documentation Improvements or additions to documentation and removed Feature New feature labels Aug 12, 2026
@theap06

theap06 commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

@torchrlbot reviewer @vmoens

@github-actions

Copy link
Copy Markdown
Contributor

@theap06 you don't have write permission on this repository. Only collaborators with write access can request reviewers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant