Repository navigation
[Deprecation] Prepare v0.15.0: postpone unimplemented default changes to v0.16 and bump the version - #4698
Merged
Conversation
Three FutureWarnings announced default changes for v0.15 that are not implemented, and flipping them now is not safe: - Collector and the multi-process collectors: auto_register_policy_transforms becomes True. The detection appends InitTracker for any nn.Module policy, which adds is_init entries to every batch. - AsyncBatchedCollector: env_backend becomes 'multiprocessing' and transport becomes 'auto'. - AsyncEnvPool with the multiprocessing backend: exchange becomes 'auto'. The warnings, docstrings, docs, example and tutorial now name v0.16. The current defaults are unchanged.
…0.16 save_render_checkpoint and the Trainer warned that their default output would switch to the unified torchrl.checkpoint format in v0.15, and neither switch is implemented. The warnings, docs and tests now name v0.16; the current defaults are unchanged.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/rl/4698
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 081b316 with merge base c5a5e3a ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
theap06
marked this pull request as ready for review
November 7, 2026 07:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Prepares main for the v0.15.0 cut.
auto_register_policy_transforms, theAsyncBatchedCollectorenv backend and transport, theAsyncEnvPoolexchange, and the unified checkpoint format forsave_render_checkpointand the Trainer. Current defaults are unchanged; warnings and docs now name v0.16.version.txt,pyproject.toml,td_script.shandversion_script.bat, and in the README CUDA install line.auto_register_policy_transformsstaysNone"through v0.14".Motivation and Context
Shipping v0.15.0 with warnings that say "this changes in v0.15" would break a published promise. CLAUDE.md section 12 asks for the target version to be named explicitly, so the warnings now name the release in which the change will actually happen.
Types of changes
Checklist