Skip to content

Fix lint error#1526

Merged
YanhuiDua merged 3 commits intoInternLM:rl_designfrom
YanhuiDua:dev/fix_lint
Mar 4, 2026
Merged

Fix lint error#1526
YanhuiDua merged 3 commits intoInternLM:rl_designfrom
YanhuiDua:dev/fix_lint

Conversation

@YanhuiDua
Copy link
Copy Markdown
Collaborator

No description provided.

@YanhuiDua YanhuiDua force-pushed the dev/fix_lint branch 2 times, most recently from b506792 to 475be8c Compare March 4, 2026 03:54
Comment thread xtuner/v1/ray/judger/native.py
Comment thread xtuner/v1/rl/base/controller.py Outdated
Comment thread xtuner/v1/train/rl_colocate_trainer.py Outdated

rewards = []
for data in group:
if isinstance(data.reward, dict):
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

reward实际使用只有dict的格式吗?是不是只保留这个就行

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

done

@YanhuiDua YanhuiDua merged commit fb6fe44 into InternLM:rl_design Mar 4, 2026
2 of 5 checks passed
@YanhuiDua YanhuiDua deleted the dev/fix_lint branch March 4, 2026 10:19
YanhuiDua added a commit that referenced this pull request Apr 27, 2026
* fix lint error

* fix producer and agentloop ci

* adjust reward type to dict
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.

2 participants