Skip to content

[Doc] Add recurrent state lifecycle guide#3792

Open
theap06 wants to merge 3 commits into
pytorch:mainfrom
theap06:feat/hidden-understandable
Open

[Doc] Add recurrent state lifecycle guide#3792
theap06 wants to merge 3 commits into
pytorch:mainfrom
theap06:feat/hidden-understandable

Conversation

@theap06
Copy link
Copy Markdown
Contributor

@theap06 theap06 commented May 24, 2026

Fixes #3746

Summary

Adds a focused recurrent-state lifecycle guide and an integration test for the
full policy. Closes the "recurrent debugging requires jumping across LSTMModule, InitTracker, and
loss-side is_init masking with no unifying doc" gap, and the parallel gap
of having no integration test that exercises a multi-trajectory batch with
mid-batch done.

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented May 24, 2026

🔗 Helpful Links

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

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

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 May 24, 2026
@theap06 theap06 force-pushed the feat/hidden-understandable branch from 7d5e1ca to dc6cd0c Compare May 24, 2026 06:15
…andable

# Conflicts:
#	torchrl/modules/tensordict_module/rnn.py
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 Integrations/torch_geometric Integrations Modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Doc] Improve navigability for new contributors

1 participant