Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions test/sot/test_step_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import paddle
from paddle.jit import sot
from paddle.jit.sot.utils import sot_step_profiler_guard, strict_mode_guard
from paddle.jit.sot.utils import strict_mode_guard
from paddle.pir_utils import DygraphPirGuard


Expand All @@ -43,7 +43,8 @@ def forward(self, x):


class TestStepProfilerSmokeTest(unittest.TestCase):
@sot_step_profiler_guard(True)
# Temperarily disable this test
# @sot_step_profiler_guard(True)
@strict_mode_guard(False)
def test_step_profiler_smoke(self):
with DygraphPirGuard():
Expand Down