File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 1111from typing import Tuple
1212
1313import executorch .backends .vulkan .test .utils as test_utils
14-
1514import torch
16-
1715from executorch .backends .transforms .convert_dtype_pass import I64toI32
18-
1916from executorch .backends .vulkan .partitioner .vulkan_partitioner import VulkanPartitioner
20-
2117from executorch .backends .vulkan .vulkan_preprocess import VulkanBackend
22-
2318from executorch .backends .xnnpack .quantizer .xnnpack_quantizer import (
2419 get_symmetric_quantization_config ,
2520 XNNPACKQuantizer ,
2621)
27-
2822from executorch .exir import (
2923 EdgeCompileConfig ,
3024 EdgeProgramManager ,
3630)
3731from executorch .extension .pytree import tree_flatten
3832from torch .export import Dim , export , ExportedProgram
39-
4033from torchao .quantization .granularity import PerGroup
41-
4234from torchao .quantization .pt2e .quantize_pt2e import convert_pt2e , prepare_pt2e
43-
4435from torchao .quantization .pt2e .quantizer import Quantizer
4536from torchao .quantization .quant_api import IntxWeightOnlyConfig , quantize_
4637from torchao .utils import unwrap_tensor_subclass
@@ -69,9 +60,6 @@ def lower_module(
6960 edge_program = to_edge_transform_and_lower (
7061 program ,
7162 compile_config = edge_compile_config ,
72- transform_passes = [
73- I64toI32 (edge_compile_config ._skip_dim_order ),
74- ],
7563 partitioner = [VulkanPartitioner (compile_options )],
7664 )
7765
You can’t perform that action at this time.
0 commit comments