Skip to content

Commit

Permalink
Revert default to disable stealing.
Browse files Browse the repository at this point in the history
Assume the user will reuse the original torch model.
  • Loading branch information
hjjq committed Jul 12, 2023
1 parent 12c8a3b commit bda3cef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/hidet/graph/frontend/torch/dynamo_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self):
self._print_input_graph: bool = False
self._dump_graph_ir: Optional[str] = None
self._correctness_report: bool = False
self._steal_weights: bool = True
self._steal_weights: bool = False

def __getitem__(self, item: str):
assert isinstance(item, str)
Expand All @@ -44,7 +44,7 @@ def reset(self):
self._print_input_graph: bool = False
self._dump_graph_ir: Optional[str] = None
self._correctness_report: bool = False
self._steal_weights: bool = True
self._steal_weights: bool = False

def search_space(self, level: int = 2):
"""
Expand Down

0 comments on commit bda3cef

Please sign in to comment.