Skip to content

Use torch.xlogy #44006

Merged
Rocketknight1 merged 1 commit intohuggingface:mainfrom
cyyever:pt24op
Feb 16, 2026
Merged

Use torch.xlogy #44006
Rocketknight1 merged 1 commit intohuggingface:mainfrom
cyyever:pt24op

Conversation

@cyyever
Copy link
Contributor

@cyyever cyyever commented Feb 15, 2026

What does this PR do?

This PR uses torch.xlogy for better numerical handling.

@github-actions
Copy link
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: unispeech, unispeech_sat, wav2vec2, wav2vec2_conformer, wavlm

Copy link
Member

@Rocketknight1 Rocketknight1 left a comment

Choose a reason for hiding this comment

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

Agree that this is cleaner than avoiding NaNs with an epsilon!

Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@Rocketknight1 Rocketknight1 merged commit 8bb2630 into huggingface:main Feb 16, 2026
24 of 25 checks passed
@cyyever cyyever deleted the pt24op branch February 17, 2026 00:42
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