Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions tests/exporters/test_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,12 @@
# Exported and run as usual, but not compared against eager (see the ``.exactness`` note above).
"onnx.exactness": {
"Wav2Vec2ForPreTraining": (
"`codevector_perplexity` and `projected_quantized_states` come out of a Gumbel-softmax draw "
"inside the forward, so the quantizer picks different codes each run and eager does not agree "
"with itself either."
"The quantizer picks codes with `argmax`; on near-tied logits ORT's rounding can pick another "
"code, and `codevector_perplexity` jumps far over the tolerance. See PR #50575."
),
"UniSpeechForPreTraining": "Same Gumbel-softmax quantizer draw as `Wav2Vec2ForPreTraining`.",
"UniSpeechForPreTraining": "Same `argmax` near-tie as `Wav2Vec2ForPreTraining`.",
"UniSpeechSatForPreTraining": "Same `argmax` near-tie as `Wav2Vec2ForPreTraining`.",
"Wav2Vec2ConformerForPreTraining": "Same `argmax` near-tie as `Wav2Vec2ForPreTraining`.",
Comment on lines +241 to +242

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.

These last 2 are added in this PR.

"PatchTSTForPretraining": (
"The tiny config sets `random_mask_ratio=0.0`, so nothing is masked and the pretraining loss is "
"`0 / (0 + 1e-10)`: eager reports a clean `0.0` while ORT lands on `NaN`. The reconstruction it "
Expand Down
Loading