Skip to content

Commit 0b0666a

Browse files
committed
Reduce required precision in test
1 parent 0257b21 commit 0b0666a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/core/conversion/converters/test_batch_norm.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,5 +165,5 @@ TEST(Converters, ATenBatchNormHalfConvertsCorrectly) {
165165
params = torch_tensorrt::core::ir::get_static_params(g->inputs(), {trt_mean, trt_var});
166166
auto trt_results = torch_tensorrt::tests::util::RunGraphEngine(g, params, {trt_in}, {nvinfer1::DataType::kHALF});
167167

168-
ASSERT_TRUE(torch_tensorrt::tests::util::almostEqual(jit_results[0], trt_results[0], 2e-6));
168+
ASSERT_TRUE(torch_tensorrt::tests::util::almostEqual(jit_results[0], trt_results[0], 2e-2));
169169
}

0 commit comments

Comments
 (0)