Skip to content

Update config.yml #1736

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 4 commits into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ commands:
parameters:
torch-build:
type: string
default: "2.0.0.dev20230219+cu117"
default: "2.1.0.dev20230314+cu117"
torch-build-index:
type: string
default: "https://download.pytorch.org/whl/nightly/cu117"
Expand Down Expand Up @@ -1171,7 +1171,7 @@ parameters:
# Nightly platform config
torch-build:
type: string
default: "2.0.0.dev20230219+cu117"
default: "2.1.0.dev20230314+cu117"
torch-build-index:
type: string
default: "https://download.pytorch.org/whl/nightly/cu117"
Expand Down
2 changes: 1 addition & 1 deletion py/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy
pybind11==2.6.2
--extra-index-url https://download.pytorch.org/whl/nightly/cu117
torch==2.0.0.dev20230219+cu117
torch==2.1.0.dev20230314+cu117
torchvision==0.15.0.dev20230219+cu117
--extra-index-url https://pypi.ngc.nvidia.com
tensorrt==8.5.1.7
4 changes: 0 additions & 4 deletions py/torch_tensorrt/fx/tracer/dispatch_tracer/aten_tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,24 @@ def __init__(
capture_scalar_outputs: bool = True,
guard_nn_modules: bool = True,
dynamic_shapes: bool = True,
specialize_int_float: bool = True,
verbose: bool = True,
) -> None:

self.capture_scalar_outputs = capture_scalar_outputs
self.guard_nn_modules = guard_nn_modules
self.dynamic_shapes = dynamic_shapes
self.specialize_int_float = specialize_int_float
self.verbose = verbose

def activate(self) -> None:
torchdynamo.config.capture_scalar_outputs = self.capture_scalar_outputs
torchdynamo.config.guard_nn_modules = self.guard_nn_modules
torchdynamo.config.dynamic_shapes = self.dynamic_shapes
torchdynamo.config.specialize_int_float = self.specialize_int_float
torchdynamo.config.verbose = self.verbose

def deactivate(self) -> None:
torchdynamo.config.capture_scalar_outputs = True
torchdynamo.config.guard_nn_modules = True
torchdynamo.config.dynamic_shapes = True
torchdynamo.config.specialize_int_float = True
torchdynamo.config.verbose = True


Expand Down