Skip to content

Commit e721945

Browse files
authored
Clear out Dynamo cache in between tests
Differential Revision: D66255174 Pull Request resolved: #6990
1 parent b132c96 commit e721945

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backends/xnnpack/test/ops/linear.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ def _test_linear(
497497
which ares then transformed into aten.linear.default by the ConvertToLinear pass.
498498
"""
499499
for i, _ in enumerate(in_sizes):
500+
torch._dynamo.reset()
500501
in_size = int(in_sizes[i])
501502
input_size = int(input_sizes[i])
502503
output_size = int(output_sizes[i])

0 commit comments

Comments
 (0)