From fbc945446a20b595c8b43bc538557a3c017eb30b Mon Sep 17 00:00:00 2001 From: Yutao Xu Date: Mon, 21 Oct 2024 16:06:52 +0800 Subject: [PATCH] Fix histogram ut failure caused by incorrect threshold settings (#988) Fix histogram ut failure caused by incorrect threshold settings. --- test/xpu/xpu_test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/xpu/xpu_test_utils.py b/test/xpu/xpu_test_utils.py index 02a42916c..9d034d654 100644 --- a/test/xpu/xpu_test_utils.py +++ b/test/xpu/xpu_test_utils.py @@ -359,7 +359,7 @@ } }, "histogram": { - ("TestCommonXPU", "test_out"):{ + ("TestCommon", "test_out"):{ torch.float32: tol(atol=3e-5, rtol=5e-5), } }