From dad97528b23f8c3d8778d34e280a50e4d4e6a934 Mon Sep 17 00:00:00 2001 From: Philippe Tillet Date: Wed, 28 Sep 2022 15:49:05 -0700 Subject: [PATCH] [TESTING] allclose fixup (#724) --- python/triton/testing.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/triton/testing.py b/python/triton/testing.py index 2c9ece2fe..b474baaf8 100644 --- a/python/triton/testing.py +++ b/python/triton/testing.py @@ -102,7 +102,6 @@ def allclose(x, y, tol=1e-2): diff = abs(x - y) x_max = torch.max(x) y_max = torch.max(y) - tol = 1e-2 err = torch.max(diff) / torch.max(x_max, y_max) return err <= tol