Skip to content

Guard rescale_noise_cfg against zero std#13989

Open
Whning0513 wants to merge 1 commit into
huggingface:mainfrom
Whning0513:fix-issue-13425
Open

Guard rescale_noise_cfg against zero std#13989
Whning0513 wants to merge 1 commit into
huggingface:mainfrom
Whning0513:fix-issue-13425

Conversation

@Whning0513

@Whning0513 Whning0513 commented Jun 19, 2026

Copy link
Copy Markdown

Fixes #13425.

@github-actions github-actions Bot added size/S PR with diff < 50 LOC fixes-issue guiders and removed size/S PR with diff < 50 LOC fixes-issue labels Jun 19, 2026
@Whning0513 Whning0513 changed the title Fix #13425: rescale_noise_cfg 除零问题 Guard rescale_noise_cfg against zero std Jun 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi @Whning0513, thanks for the PR! It does not appear to link an issue it fixes. If this PR addresses an existing issue, please add a closing keyword (e.g. Fixes #1234) to the PR description so the issue is linked. See the contribution guide for more details. If this PR intentionally does not fix a tracked issue, a maintainer can add the no-issue-needed label to silence this reminder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Division by zero in rescale_noise_cfg can produce NaNs during inference

1 participant