Skip to content

Commit

Permalink
torcheval: disable failing test with floating point diff < 1e-6
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Sparks committed Jan 24, 2025
1 parent 58b1cf9 commit 53b19a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/torcheval/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ buildPythonPackage {
"--deselect=tests/tools/test_module_summary.py::ModuleSummaryTest::test_alexnet_with_input_tensor"
"--deselect=tests/tools/test_module_summary.py::ModuleSummaryTest::test_forward_elapsed_time"
"--deselect=tests/tools/test_module_summary.py::ModuleSummaryTest::test_resnet_max_depth"

# -- tests/metrics/functional/text/test_perplexity.py --
# AssertionError: Scalars are not close!
# Expected 3.537154912949 but got 3.53715443611145
"--deselect=tests/metrics/functional/text/test_perplexity.py::Perplexity::test_perplexity_with_ignore_index"
];

meta = {
Expand Down

0 comments on commit 53b19a6

Please sign in to comment.