Skip to content

Commit

Permalink
docs: Adding words to the refit and engine caching tutorials
Browse files Browse the repository at this point in the history
Signed-off-by: Naren Dasan <[email protected]>
  • Loading branch information
narendasan committed Sep 3, 2024
1 parent f9acc9a commit 8492c62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docsrc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
sphinx_gallery_conf = {
"examples_dirs": "../examples",
"gallery_dirs": "tutorials/_rendered_examples/",
"ignore_pattern": "utils.py"
"ignore_pattern": "utils.py",
}

# Setup the breathe extension
Expand Down
2 changes: 1 addition & 1 deletion py/torch_tensorrt/dynamo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def unwrap_tensor_shape(
if isinstance(tensor, int):
tensor_shape.append(tensor)
elif isinstance(tensor, torch.SymInt):
min_max_opt: Dict[str, int] = extract_var_range_info(tensor)
min_max_opt = extract_var_range_info(tensor)
tensor_shape.append((min_max_opt["min"], min_max_opt["max"]))
elif isinstance(tensor, (torch.Tensor, FakeTensor)):
for dimension in tensor.shape:
Expand Down

0 comments on commit 8492c62

Please sign in to comment.