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
3 changes: 3 additions & 0 deletions backends/xnnpack/test/ops/test_exp.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ def run_exp_test(self, inputs):
.run_method_and_compare_outputs()
)

# TODO (leafs1): Fix flaky tests. Land fix asap
# and cherry-pick onto release/0.7 branch
@unittest.skip(reason="For float16, numerical discepancies are too high")
Copy link
Contributor

Choose a reason for hiding this comment

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

@mcr229 should we increase atol/rtol for this, or normalize/range-select inputs?

def test_fp16_exp(self):
inputs = (torch.randn(20).to(torch.float16),)
self.run_exp_test(inputs)
Expand Down
Loading