Skip to content

fix(rollout): configure logging in the stored-output reward actor so the reader's registrations are logged - #401

Merged
Rockdu merged 1 commit into
mainfrom
rockdu/reward-actor-logger
Nov 18, 2026
Merged

Rockdu merged 1 commit into
mainfrom
rockdu/reward-actor-logger

Conversation

@Rockdu

@Rockdu Rockdu commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

What

  • _StoredOutputRewardActor.__init__ calls configure_logger(), as the train and rollout actors do.

Why

StoredTensorReader logs 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: the configure_logger() call.

Checklist

  • pre-commit hooks on the changed file (ruff, isort, black) pass
  • Added/updated tests for new behaviour — none: a logging setup call
  • pytest -x — not run; the change is one call before the actor's existing code
  • No launch flags changed

@Rockdu Rockdu added run-ci-basic Authorize and run only basic unlabeled CI tests and removed run-ci-basic Authorize and run only basic unlabeled CI tests labels Nov 18, 2026
@Rockdu
Rockdu added this pull request to stack #402 November 18, 2026 21:27
@Rockdu

Rockdu commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator Author

The two stage-c failures here are not this change. This PR's CI runs on refs/pull/401/merge, which is this branch merged into #382's branch, and #382 is still based on main before #384: that _run-ci.yml has no ci-roce network, so the job container sits on the runner's bridge network and every RDMA handshake fails (Handshake rejected by 172.18.0.2: Failed to modify QP to RTR, run 44383085285). #382's own CI runs on its merge into main, with #384, and passes all nine e2e tests.

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
Rockdu force-pushed the rockdu/reward-actor-logger branch from 338cf11 to 82f02a4 Compare November 18, 2026 21:32
@Rockdu
Rockdu merged commit b95e1a0 into main Nov 18, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-ci-basic Authorize and run only basic unlabeled CI tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant