Skip to content

minor fix: Update default minimum torch version for aten tracer #1747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 17, 2023
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
6 changes: 3 additions & 3 deletions py/torch_tensorrt/fx/tracer/dispatch_tracer/aten_tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def setting_python_recursive_limit(limit: int = 10000) -> Generator[None, None,
sys.setrecursionlimit(default)


@req_torch_version("2.0")
@req_torch_version("2.dev")
def dynamo_trace(
f: Callable[..., Value],
# pyre-ignore
Expand Down Expand Up @@ -127,13 +127,13 @@ def dynamo_trace(
) from exc


@req_torch_version("2.0")
@req_torch_version("2.dev")
def trace(f, args, *rest):
graph_module, guards = dynamo_trace(f, args, True, "symbolic")
return graph_module, guards


@req_torch_version("2.0")
@req_torch_version("2.dev")
def opt_trace(f, args, *rest):
"""
Optimized trace with necessary passes which re-compose some ops or replace some ops
Expand Down