Skip to content

Commit

Permalink
fix: Guard test activation for CI testing
Browse files Browse the repository at this point in the history
Signed-off-by: Anurag Dixit <anuragd@nvidia.com>
  • Loading branch information
Anurag Dixit committed Nov 15, 2021
1 parent 2699f63 commit 6d1a1fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/core/conversion/converters/test_activation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ TEST(Converters, ATenEluConvertsCorrectly) {
ASSERT_TRUE(torch_tensorrt::tests::util::almostEqual(jit_results[0], trt_results[0], 2e-6));
}

#ifndef DISABLE_TEST_IN_CI
TEST(Converters, ATenGELUConvertsCorrectly) {
const auto graph = R"IR(
graph(%0 : Tensor):
Expand All @@ -225,3 +226,4 @@ TEST(Converters, ATenGELUConvertsCorrectly) {

ASSERT_TRUE(torch_tensorrt::tests::util::almostEqual(jit_results[0], trt_results[0], 5e-2));
}
#endif

0 comments on commit 6d1a1fd

Please # to comment.