Repository navigation
fix(rollout): configure logging in the stored-output reward actor so the reader's registrations are logged - #401
Merged
Merged
Conversation
Collaborator
Author
|
The two stage-c failures here are not this change. This PR's CI runs on pre-commit, stage-a and stage-b are green here. Once #382 is rebased onto main (or merged, which retargets this PR to main), stage-c runs with #384's network. |
Base automatically changed from
rockdu/output-store-reward-actor-read
to
main
November 18, 2026 21:32
…the reader's registrations are logged The train and rollout actors call configure_logger(); the reward actor wrapper did not, so the INFO line StoredTensorReader writes when it registers a read buffer never appeared for the actors that use it.
Rockdu
force-pushed
the
rockdu/reward-actor-logger
branch
from
November 18, 2026 21:32
338cf11 to
82f02a4
Compare
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.
What
_StoredOutputRewardActor.__init__callsconfigure_logger(), as the train and rollout actors do.Why
StoredTensorReaderlogs one INFO line each time it registers a read buffer, so a run reports the pinned memory per process. The reward actors are the processes that read through it (#382), but the wrapper never configured logging, so with the root logger at its default level the line never appeared there. The A/B run behind #382's reader numbers has the line for the two trainer ranks only.Opened on #382's branch; #382 has merged (a2bc8ca) and the one commit here now sits on main.
Files
miles/rollout/rm_hub/core.py: theconfigure_logger()call.Checklist
pre-commithooks on the changed file (ruff, isort, black) passpytest -x— not run; the change is one call before the actor's existing code