Commit 426ee4e
committed
Update on "[Executorch] make slice_copy parallel"
When doing large prefills in LLMs, slice_copy takes about 5-10% time.
Mainly coming from slicing in the rope implementation.
Differential Revision: [D85532081](https://our.internmc.facebook.com/intern/diff/D85532081/)
[ghstack-poisoned]File tree
360 files changed
+13091
-4550
lines changed- .ci
- docker
- common
- ubuntu
- scripts
- .github/workflows
- backends
- aoti
- apple
- coreml
- compiler
- scripts
- test
- metal/runtime/shims
- arm
- _passes
- common
- ethosu
- operator_support
- operators
- quantizer
- scripts
- test
- misc
- models
- stable_diffusion
- ops
- passes
- tester
- tosa
- dialect
- util
- vgf
- cadence
- aot
- tests
- runtime
- cortex_m
- ops
- passes
- quantizer
- test
- misc
- ops
- cuda
- runtime
- shims
- tests
- tests
- triton
- kernels
- nxp
- backend
- ir
- converter
- builder
- node_converters
- ops_converters
- tflite_optimizer
- optimizations
- quantizer
- tests
- ir
- converter/node_converter
- edge_passes
- qualcomm
- quantizer
- scripts
- serialization
- tests
- utils
- test/suite
- flows
- vulkan
- _passes
- runtime/graph/ops
- glsl
- impl
- utils
- test
- op_tests
- codegen/tools
- devtools/bundled_program/test
- docs/source
- backends
- arm-ethos-u
- tutorials
- arm-vgf
- tutorials
- llm
- examples
- arm
- executor_runner
- models
- gemma3
- granite
- config
- llama
- evaluate
- llava
- moshi/mimi
- phi-3-mini
- toy_model
- voxtral
- whisper
- nxp
- qualcomm
- oss_scripts
- llama
- model
- runner
- qaihub_scripts/llama/runner
- scripts
- vulkan
- exir
- _serialize
- test
- backend
- test
- emit/test
- serde
- extension
- android/executorch_android/src
- main/java/org/pytorch/executorch
- test/java/org/pytorch/executorch
- llm
- custom_ops
- runner
- memory_allocator
- test
- kernels
- portable/cpu
- util
- quantized
- cpu
- test
- runtime/platform
- tools/cmake
- preset
- website
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
360 files changed
+13091
-4550
lines changed| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
61 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
62 | 67 | | |
63 | 68 | | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
69 | 79 | | |
70 | 80 | | |
71 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
183 | 182 | | |
184 | 183 | | |
185 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 15 | + | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
| 159 | + | |
164 | 160 | | |
165 | 161 | | |
166 | 162 | | |
167 | 163 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
| 164 | + | |
| 165 | + | |
180 | 166 | | |
181 | 167 | | |
182 | 168 | | |
| |||
195 | 181 | | |
196 | 182 | | |
197 | 183 | | |
198 | | - | |
| 184 | + | |
199 | 185 | | |
200 | 186 | | |
201 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
28 | 36 | | |
29 | 37 | | |
30 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| 343 | + | |
343 | 344 | | |
344 | 345 | | |
345 | 346 | | |
| |||
0 commit comments