File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
backends/xnnpack/test/models Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 8
8
9
9
import torch
10
10
import torchvision .models as models
11
- from executorch .backends .xnnpack .partition .xnnpack_partitioner import (
12
- XnnpackQuantizedPartitioner ,
13
- )
14
- from executorch .backends .xnnpack .test .tester import Export , Partition , Tester
15
- from executorch .exir import CaptureConfig
11
+ from executorch .backends .xnnpack .test .tester import Tester
16
12
from torchvision .models .mobilenetv2 import MobileNet_V2_Weights
17
13
18
14
@@ -59,7 +55,7 @@ def test_qs8_mv2(self):
59
55
.export ()
60
56
.to_edge ()
61
57
.check (list (ops_after_quantization ))
62
- .partition (Partition ( partitioner = XnnpackQuantizedPartitioner ) )
58
+ .partition ()
63
59
.check (["torch.ops.executorch_call_delegate" ])
64
60
.check_not (list (ops_after_quantization ))
65
61
.to_executorch ()
You can’t perform that action at this time.
0 commit comments