Commit a4b7de0
authored
Bump torchao pin and use v2 torchao tensors (#14171)
This PR bumps the torchao pin in ExecuTorch, and adjusts the code in
ExecuTorch to rely less on deprecated features. In particular,
* torchao/experimental folder is being deprecated, so we switch
embedding / tied embedding quantizers to their new home
* v1 tensors based on AffineQuantizedTensor + QDQLayout are being
deprecated. This switches ExecuTorch to use v2 tensors. See
pytorch/ao#2967.1 parent c638851 commit a4b7de0
File tree
5 files changed
+36
-14
lines changed- backends
- apple/coreml/test
- vulkan/test
- xnnpack/test/ops
- examples/models/llama/source_transformation
- third-party
5 files changed
+36
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| 156 | + | |
155 | 157 | | |
156 | | - | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
219 | 221 | | |
220 | 222 | | |
221 | 223 | | |
| 224 | + | |
222 | 225 | | |
223 | | - | |
| 226 | + | |
224 | 227 | | |
225 | 228 | | |
226 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2680 | 2680 | | |
2681 | 2681 | | |
2682 | 2682 | | |
2683 | | - | |
| 2683 | + | |
2684 | 2684 | | |
2685 | 2685 | | |
| 2686 | + | |
2686 | 2687 | | |
2687 | 2688 | | |
2688 | 2689 | | |
2689 | 2690 | | |
2690 | | - | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
2691 | 2694 | | |
2692 | 2695 | | |
2693 | 2696 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
391 | 392 | | |
392 | 393 | | |
393 | 394 | | |
394 | | - | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
395 | 401 | | |
396 | 402 | | |
397 | 403 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
| |||
136 | 135 | | |
137 | 136 | | |
138 | 137 | | |
139 | | - | |
| 138 | + | |
140 | 139 | | |
141 | 140 | | |
142 | 141 | | |
| |||
148 | 147 | | |
149 | 148 | | |
150 | 149 | | |
151 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | 156 | | |
154 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
155 | 165 | | |
156 | 166 | | |
157 | 167 | | |
| |||
744 | 754 | | |
745 | 755 | | |
746 | 756 | | |
747 | | - | |
| 757 | + | |
748 | 758 | | |
749 | | - | |
| 759 | + | |
750 | 760 | | |
751 | 761 | | |
752 | 762 | | |
| |||
780 | 790 | | |
781 | 791 | | |
782 | 792 | | |
783 | | - | |
| 793 | + | |
784 | 794 | | |
785 | 795 | | |
786 | 796 | | |
| |||
0 commit comments