Compare commits

...

2 Commits

Author SHA1 Message Date
2f26446210 tc 2025-10-02 15:32:13 -07:00
f36f3bc69f tc 2025-10-02 15:27:59 -07:00

View File

@ -115,7 +115,6 @@ CI_FUNCTORCH_ROOT = ""
CI_PT_ROOT = ""
CI_TEST_PREFIX = ""
DISABLED_TESTS_FILE = ""
GRAPH_EXECUTOR : Optional[ProfilingMode] = None
LOG_SUFFIX = ""
PYTEST_SINGLE_TEST = ""
REPEAT_COUNT = 0
@ -878,6 +877,10 @@ def cppProfilingFlagsToProfilingMode():
else:
return ProfilingMode.LEGACY
# Set default value for the internal test runner which imports files/modules
# directly
GRAPH_EXECUTOR : ProfilingMode = cppProfilingFlagsToProfilingMode()
@contextmanager
def enable_profiling_mode_for_profiling_tests():
old_prof_exec_state = False