Skip to content

Commit 10b7c1a

Browse files
mcr229facebook-github-bot
authored andcommitted
Make Default Testing Config Canonical Config
Differential Revision: D49214927 fbshipit-source-id: 44a276d31f5c79dad32eb7ac62d80dcb9dbf6439
1 parent 82245bd commit 10b7c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/xnnpack/test/tester/tester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def graph_module(self) -> str:
124124
@register_stage
125125
class Export(Stage):
126126
def __init__(self, capture_config: Optional[CaptureConfig] = None):
127-
self.capture_conf = capture_config or get_xnnpack_capture_config()
127+
self.capture_conf = capture_config or CaptureConfig(enable_aot=True)
128128
self.exir_exported_program = None
129129

130130
def run(self, artifact: torch.nn.Module, inputs) -> None:

0 commit comments

Comments
 (0)