Skip to content

Commit d694dc5

Browse files
author
Anurag Dixit
committed
(//tests): Relaxing GelU related test case tolerance just in case
Signed-off-by: Anurag Dixit <[email protected]>
1 parent e72921a commit d694dc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/core/conversion/converters/test_activation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,5 +224,5 @@ TEST(Converters, ATenGELUConvertsCorrectly) {
224224
// c10::cuda::compat::normcdf to compute Phi(x). So there's a difference here and therefore the threshold is slightly
225225
// higher than other ops. One in ten runs will give you an out of normal threshold result
226226

227-
ASSERT_TRUE(torch_tensorrt::tests::util::almostEqual(jit_results[0], trt_results[0], 5e-4));
227+
ASSERT_TRUE(torch_tensorrt::tests::util::almostEqual(jit_results[0], trt_results[0], 5e-3));
228228
}

0 commit comments

Comments
 (0)