Skip to content

Commit

Permalink
increase profiler timeout to 500
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyang78 committed Jul 30, 2023
1 parent 1440635 commit b324f54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/aitemplate/backend/profiler_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ class ProfilerRunner:
however, the results are empirically better compared to the previous runner.
"""

def __init__(self, devices: List[str], postprocessing_delegate, timeout: int = 300):
def __init__(self, devices: List[str], postprocessing_delegate, timeout: int = 500):
"""
Parameters
----------
Expand Down
2 changes: 1 addition & 1 deletion python/aitemplate/compiler/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def compile_model(
allocator_kind: Optional[AITemplateAllocatorKind] = None,
debug_settings: AITDebugSettings = _DEBUG_SETTINGS,
do_optimize_graph: bool = True,
profile_timeout: int = 300,
profile_timeout: int = 500,
) -> Model:
"""Compiles a model and generates a .so file.
Expand Down
2 changes: 1 addition & 1 deletion python/aitemplate/compiler/transform/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def profile(
workdir="./tmp",
devices=None,
dynamic_profiling_strategy=DynamicProfileStrategy.MAX,
timeout=300,
timeout=500,
):
"""Profiles kernels.
Expand Down

0 comments on commit b324f54

Please sign in to comment.