Skip to content

Conversation

@sananakther6642
Copy link

@sananakther6642 sananakther6642 commented Dec 14, 2025

Summary:

  • Fix flaky MulticlassAccuracy test when a class has zero samples by explicitly handling empty classes.
  • Fix the same zero-sample-class edge case in functional multiclass_accuracy tests.
  • Fix BinaryAUROC test failures caused by float64 vs float32 dtype mismatches.
  • Skip FrechetAudioDistance VGGish tests when torchaudio prototype features are unavailable.

Test plan:

  • pytest -q torcheval/tests/metrics/classification/test_accuracy.py
  • pytest -q torcheval/tests/metrics/functional/classification/test_accuracy.py
  • pytest -q torcheval/tests/metrics/classification/test_auroc.py
  • pytest -q torcheval/tests/metrics/audio/test_fad.py
  • pytest -q torcheval/tests/metrics/functional/classification

Fixes: N/A

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant