Skip to content

[cfg] fix: add rollout_correcton config field with omegaconf.open_dict - #4167

Merged
tongyx361 merged 3 commits into
verl-project:mainfrom
tongyx361:tyx/fix/rollout-correction-config
Nov 17, 2025
Merged

tongyx361 merged 3 commits into
verl-project:mainfrom
tongyx361:tyx/fix/rollout-correction-config

Conversation

@tongyx361

Copy link
Copy Markdown
Collaborator

What does this PR do?

This PRs fixes adding rollout_correcton config field with omegaconf.open_dict.

Test

See the CI. Also tested with internal run.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request introduces minor but important changes related to configuration handling. It correctly adds multi_turn and temperature parameters to the batch.meta_info for actor updates. More significantly, it addresses a potential runtime error by wrapping the assignment of rollout_correction to policy_loss_config within an omegaconf.open_dict context, ensuring that the configuration can be modified even when in struct mode. The local import of open_dict in rollout_corr_helper.py is also a good practice for modularity. Overall, the changes improve the robustness and correctness of the configuration management.

@tongyx361
tongyx361 merged commit 5d429bd into verl-project:main Nov 17, 2025
77 checks passed
chenhaiq pushed a commit to The-Hierophant/verl-1 that referenced this pull request Nov 18, 2025
…dict` (verl-project#4167)

### What does this PR do?

This PRs fixes adding `rollout_correcton` config field with
`omegaconf.open_dict`.

### Test

See the CI. Also tested with internal run.
wuwendyy pushed a commit to wuwendyy/verl that referenced this pull request Nov 19, 2025
…dict` (verl-project#4167)

### What does this PR do?

This PRs fixes adding `rollout_correcton` config field with
`omegaconf.open_dict`.

### Test

See the CI. Also tested with internal run.
TimurTaepov pushed a commit to giorgossideris/verl that referenced this pull request Dec 20, 2025
…dict` (verl-project#4167)

### What does this PR do?

This PRs fixes adding `rollout_correcton` config field with
`omegaconf.open_dict`.

### Test

See the CI. Also tested with internal run.
mgilmore-relace added a commit to mgilmore-relace/verl that referenced this pull request Dec 20, 2025
vyomakesh0728 added a commit to vyomakesh0728/verl that referenced this pull request Jan 22, 2026
…dict` (verl-project#4167)

### What does this PR do?

This PRs fixes adding `rollout_correcton` config field with
`omegaconf.open_dict`.

### Test

See the CI. Also tested with internal run.
zwluestc pushed a commit to zwluestc/verl that referenced this pull request May 12, 2026
…dict` (verl-project#4167)

### What does this PR do?

This PRs fixes adding `rollout_correcton` config field with
`omegaconf.open_dict`.

### Test

See the CI. Also tested with internal run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants