Skip to content

Commit

Permalink
change tolerance for flaky test for test_dynamic_shape
Browse files Browse the repository at this point in the history
  • Loading branch information
fishingguy456 committed Jan 8, 2024
1 parent 7a41b5c commit dcc6a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_tests/test_dynamic_shape.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_graph(seq: Union[int, str]) -> FlowGraph:
y_dynamic = graph_dynamic(x)
y_dynamic_opt = graph_dynamic_opt(x)
for y in [y_dynamic, y_dynamic_opt]:
numpy.testing.assert_allclose(y_static.cpu().numpy(), y.cpu().numpy(), atol=1e-4, rtol=1e-4)
numpy.testing.assert_allclose(y_static.cpu().numpy(), y.cpu().numpy(), atol=1e-3, rtol=1e-3)


@pytest.mark.parametrize('device', ['cuda'])
Expand Down

0 comments on commit dcc6a45

Please sign in to comment.