Skip to content

[FLAKY] relay/test_op_level1.py::test_binary_op failing intermittently #6417

@leandron

Description

@leandron

As part of #6302, it seems there is another flaky test, that is not related to the contents of the being submitted there: tests/python/relay/test_op_level1.py::test_binary_op.

You can see this on Jenkins for the full stack trace: https://ci.tvm.ai/blue/organizations/jenkins/tvm/detail/PR-6302/14/pipeline/185

The error message I see is:

>               np.testing.assert_allclose(op_res.asnumpy(), ref_res, rtol=0.01)
E               AssertionError: 
E               Not equal to tolerance rtol=0.01, atol=0
E               
E               Mismatched elements: 1 / 250 (0.4%)
E               Max absolute difference: 0.00023794
E               Max relative difference: 0.01051613
E                x: array([[[1.909631e-01, 2.819712e-02, 6.732421e-01, 6.087055e-01,
E                        7.002974e-02],
E                       [3.610725e-03, 6.303363e-01, 2.848548e-03, 1.215679e-01,...
E                y: array([[[1.9092e-01, 2.8198e-02, 6.7334e-01, 6.0889e-01, 7.0007e-02],
E                       [3.6106e-03, 6.3037e-01, 2.8477e-03, 1.2158e-01, 7.1533e-01],
E                       [2.4643e-02, 6.6943e-01, 7.9880e-03, 3.1323e-01, 7.0996e-01],...

I believe we will need to increase the tolerance, but I don't know by how much it would be adequate, so I'll just report it here.

cc @tqchen @merrymercy

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions