Skip to content

[multi-lora] 1/n - 5, fix: skip zero-std metrics for reward-less samples - #2728

Open
yushengsu-thu wants to merge 1 commit into
mainfrom
split/1n-5-zero-std-guard
Open

[multi-lora] 1/n - 5, fix: skip zero-std metrics for reward-less samples#2728
yushengsu-thu wants to merge 1 commit into
mainfrom
split/1n-5-zero-std-guard

Conversation

@yushengsu-thu

Copy link
Copy Markdown
Collaborator

Batches whose samples carry no reward have no reward plane: treating missing rewards as zero-std groups is meaningless, and the round() bucketing crashes on None. Return no zero-std metrics for such batches instead.

Extracted from #2273; the stack rebases after this merges.

Batches whose samples carry no reward have no reward plane; treating
missing rewards as zero-std groups is meaningless and crashes the
round() bucketing on None. Return no zero-std metrics instead.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@yushengsu-thu yushengsu-thu added run-ci-megatron run-ci-lora run-ci-lora-native Run native (raw-mode) LoRA plugin e2e tests labels Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-ci-lora run-ci-lora-native Run native (raw-mode) LoRA plugin e2e tests run-ci-megatron

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant