Commit 056a2a3
committed
Update base for Update on "Use caching allocator for runner (#15730)"
Summary:
We observed that on iOS it improves perf by 6% because SDPA op does temp allocations.
No significant difference on android though.
ghstack-source-id: 328001114
exported-using-ghexport
Reviewed By: navsud, derekdixu
Differential Revision: D86120038
[ghstack-poisoned]284 files changed
Lines changed: 17553 additions & 3140 deletions
File tree
- .ci/scripts
- cuda_perf_prompts
- .claude
- skills/executorch-kb
- .github
- workflows
- .wiki
- backends
- arm
- cadence
- coreml
- qnn
- vulkan
- xnnpack
- export
- quantization
- rules
- troubleshooting
- backends
- aoti/slim/c10/core
- test
- apple/metal
- ops
- runtime
- ops
- shims
- tests
- arm
- _passes
- operators
- quantizer
- test
- misc
- ops
- passes
- tosa/dialect
- ops
- vgf
- cadence
- aot
- quantizer
- tests
- generic/operators
- hifi/operators
- vision/operators
- cortex_m
- passes
- quantizer
- test
- misc
- models
- ops
- cuda/runtime/shims
- nxp
- aten_passes
- backend
- tests_models
- tests
- ir/converter/node_converter
- openvino/quantizer
- qualcomm
- _passes
- aot
- python
- wrappers
- builders
- partition
- quantizer
- annotators
- recipes
- runtime
- serialization
- tests
- third-party
- utils
- transforms
- test
- xnnpack/runtime
- devtools/inspector
- docs/source
- backends/nxp
- llm
- examples
- apple/coreml/llama
- demo-apps/react-native/rnllama
- models
- granite_speech
- config
- llama
- source_transformation
- tests
- mobilenet_v2
- qwen3_5_moe
- smollm2
- yolo12
- yolo26
- nxp
- qualcomm
- oss_scripts
- llama
- encoder
- model
- runner
- multimodal_runner
- wrappers
- whisper
- util_scripts
- samsung/scripts
- export/tests
- extension
- android
- executorch_android/src
- androidTest/java/org/pytorch/executorch
- main/java/org/pytorch/executorch
- extension/llm
- jni
- asr/runner
- benchmark/android/benchmark/app/src/main/java/org/pytorch/minibench
- llm
- custom_ops
- export
- runner
- test
- tensor
- runtime
- core
- test
- executor
- shim_et/xplat/executorch
- backends/qualcomm/third-party
- build
- src/executorch/examples
- third-party
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | | - | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
75 | 85 | | |
76 | 86 | | |
77 | 87 | | |
78 | 88 | | |
79 | 89 | | |
| 90 | + | |
80 | 91 | | |
| 92 | + | |
81 | 93 | | |
82 | 94 | | |
83 | 95 | | |
| |||
505 | 517 | | |
506 | 518 | | |
507 | 519 | | |
| 520 | + | |
508 | 521 | | |
509 | 522 | | |
510 | 523 | | |
| |||
529 | 542 | | |
530 | 543 | | |
531 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
532 | 549 | | |
533 | 550 | | |
534 | 551 | | |
| |||
601 | 618 | | |
602 | 619 | | |
603 | 620 | | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
604 | 628 | | |
605 | 629 | | |
606 | 630 | | |
| |||
696 | 720 | | |
697 | 721 | | |
698 | 722 | | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
699 | 728 | | |
700 | 729 | | |
701 | 730 | | |
| |||
740 | 769 | | |
741 | 770 | | |
742 | 771 | | |
| 772 | + | |
743 | 773 | | |
744 | 774 | | |
745 | 775 | | |
| |||
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
Lines changed: 29 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
61 | 58 | | |
62 | | - | |
63 | 59 | | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
67 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
93 | 86 | | |
94 | 87 | | |
95 | 88 | | |
| |||
103 | 96 | | |
104 | 97 | | |
105 | 98 | | |
| 99 | + | |
106 | 100 | | |
107 | | - | |
108 | | - | |
| 101 | + | |
| 102 | + | |
109 | 103 | | |
110 | 104 | | |
111 | 105 | | |
| |||
142 | 136 | | |
143 | 137 | | |
144 | 138 | | |
145 | | - | |
| 139 | + | |
146 | 140 | | |
147 | 141 | | |
148 | 142 | | |
149 | | - | |
| 143 | + | |
150 | 144 | | |
151 | 145 | | |
152 | 146 | | |
| |||
174 | 168 | | |
175 | 169 | | |
176 | 170 | | |
177 | | - | |
178 | | - | |
179 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
180 | 179 | | |
181 | 180 | | |
182 | 181 | | |
183 | 182 | | |
184 | | - | |
| 183 | + | |
185 | 184 | | |
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
189 | 188 | | |
190 | | - | |
| 189 | + | |
191 | 190 | | |
192 | | - | |
| 191 | + | |
193 | 192 | | |
194 | | - | |
| 193 | + | |
195 | 194 | | |
196 | 195 | | |
197 | 196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments