Skip to content

Commit 8a940db

Browse files
mcr229facebook-github-bot
authored andcommitted
Make Default Testing Config Canonical Config
Differential Revision: D49214927 fbshipit-source-id: 7eb75517c6fae4d151d1bdd20dce72775cad9898
1 parent 7939be7 commit 8a940db

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)