diff --git a/test/cpp/jit/test_misc.cpp b/test/cpp/jit/test_misc.cpp index 363a7bad6e68..ebeeb953d95b 100644 --- a/test/cpp/jit/test_misc.cpp +++ b/test/cpp/jit/test_misc.cpp @@ -2709,6 +2709,7 @@ TEST(ProfilerDisableInCallbackTest, Basic) { } TEST(RecordDebugHandles, Basic) { + GTEST_SKIP() << "Test is flaky and sometimes hangs on CI. "; // Enable the profiler in this thread const std::set activities( {torch::autograd::profiler::ActivityType::CPU});