Some floating-point tests may be too strict and can fail due to tiny numerical differences across environments.
A recent CI run failed in tests/recon/torch/modules/test_optimizer.py::TestBuildOptimizerFactory::test_build_optimizer_factory with only a very small mismatch:
- Max absolute difference:
1.3969839e-09
- Max relative difference:
2.5266988e-06
This seems similar to #117, but occurs in a different test. We may want to add an appropriate atol to the existing assert_allclose and review other similar floating-point assertions.
Some floating-point tests may be too strict and can fail due to tiny numerical differences across environments.
A recent CI run failed in
tests/recon/torch/modules/test_optimizer.py::TestBuildOptimizerFactory::test_build_optimizer_factorywith only a very small mismatch:1.3969839e-092.5266988e-06This seems similar to #117, but occurs in a different test. We may want to add an appropriate
atolto the existingassert_allcloseand review other similar floating-point assertions.