We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b9bb9 commit 30e08e2Copy full SHA for 30e08e2
tests/tensor/test_blockwise.py
@@ -235,7 +235,11 @@ def test_grad(self):
235
)
236
pt_out = pt_func(*vec_inputs_testvals)
237
np_out = np_funcs[test_input_idx](*vec_inputs_testvals)
238
- np.testing.assert_allclose(pt_out, np_out, atol=1e-6)
+ np.testing.assert_allclose(
239
+ pt_out,
240
+ np_out,
241
+ atol=1e-6 if config.floatX == "float64" else 1e-5,
242
+ )
243
244
245
class MatrixOpBlockwiseTester(BlockwiseOpTester):
0 commit comments