Commit 0fb4cc1
committed
Update base for Update on "[ET-VK] New Implementation of `permute' operator"
## Changes
* Introduce `permute_buffer.glsl` and `permute_texture.glsl` compute shader templates to implement the permute operator
## Motivation
The existing implementation of permute produced incorrect outputs for width packed textures. Furthermore, there was no buffer implementation for the permute operator.
My goal with this diff is to introduce a more flexible implementation of permute that could work for any tensor representation.
## Performance impact
None expected.
Differential Revision: [D76483755](https://our.internmc.facebook.com/intern/diff/D76483755/)
[ghstack-poisoned]File tree
110 files changed
+3674
-942
lines changed- .ci/scripts
- benchmark_tooling
- .github/workflows
- backends
- arm
- _passes
- test
- models
- ops
- xnnpack
- operators
- partition
- config
- quantizer
- runtime
- serialization
- test
- ops
- quantizer
- utils
- devtools/inspector
- numerical_comparator
- tests
- docs/source
- examples
- arm
- ethos-u-setup
- core_software
- ethos-u
- executor_runner
- demo-apps
- android/LlamaDemo
- docs/delegates
- apple_ios/LLaMA/docs/delegates
- models
- deepseek-r1-distill-llama-8B
- llama2
- llama
- config
- phi_4_mini
- qwen2_5
- qwen3
- extension
- android/executorch_android
- apple/ExecuTorch
- Exported
- __tests__
- llm/export
- test
- kernels
- optimized
- cpu
- portable
- cpu
- util
- test
- test
- runtime
- backend
- test
- core/portable_type
- c10/c10
- test/utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
110 files changed
+3674
-942
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | 143 | | |
160 | 144 | | |
161 | 145 | | |
| |||
0 commit comments