Commit 7758a60
committed
Update base for Update on "Move tensor layout into exir"
TensorLayout is used by the data_serializer.py abstract class, which is part of //executorch/exir:lib
https://www.internalfb.com/code/fbsource/[721dbb621c0b8c460715e5c49bc9c12757e8ccc8]/fbcode/executorch/exir/_serialize/data_serializer.py?lines=6
Shouldn't add extension/flat_tensor:flat_tensor_schema as a dependency to executorch/exir:lib.
Note the C++ equivalent is in runtime/core, so I think this makes sense.
Differential Revision: [D83504588](https://our.internmc.facebook.com/intern/diff/D83504588/)
[ghstack-poisoned]File tree
650 files changed
+21848
-6127
lines changed- .ci
- docker
- scripts
- .github/workflows
- backends
- aoti
- apple
- coreml
- mps
- arm
- _passes
- ethosu
- operator_support
- operators
- quantizer
- scripts
- test
- misc
- models
- stable_diffusion
- ops
- passes
- tester
- tosa
- dialect
- ops
- util
- cadence
- aot
- quantizer
- tests
- runtime
- vision
- operators
- third-party
- include_private
- library
- api
- tables
- cortex_m
- cuda
- runtime
- shims
- tests
- tests
- mediatek
- scripts
- nxp
- backend
- ir
- converter
- builder
- conversion
- node_converters
- ops_converters
- tflite_generator
- tflite_optimizer
- optimizations
- quantizer
- runtime
- tests
- ir/converter/node_converter
- openvino
- qualcomm
- _passes
- builders
- partition
- quantizer
- scripts
- tests
- samsung
- serialization
- test/suite
- flows
- models
- operators
- vulkan
- _passes
- partitioner
- patterns
- runtime
- graph/ops
- glsl
- impl
- serialization
- test
- custom_ops
- scripts
- codegen/tools
- configurations
- devtools/etdump/tests
- docs
- source
- _static
- css
- js
- _templates
- llm
- examples
- apple/coreml/llama
- arm
- ethos-u-setup/core_platform
- executor_runner
- cuda/scripts
- models
- gemma
- config
- llama
- runner
- source_transformation
- moshi/mimi
- nxp
- portable
- custom_ops
- executor_runner
- qualcomm/oss_scripts/llama
- runner
- selective_build
- advanced
- basic
- vulkan
- exir
- _serialize
- backend/test/demos
- rpc
- passes
- tests
- export
- extension
- android
- executorch_android
- src/main/java/org/pytorch/executorch/extension/llm
- jni
- apple/ExecuTorch/Exported
- benchmark/apple/Benchmark
- Benchmark.xcodeproj
- Tests/LLM
- data_loader
- evalue_util/test
- flat_tensor
- serialize
- kernel_util/test
- llm
- apple/ExecuTorchLLM
- Exported
- __tests__
- custom_ops
- export
- config
- test
- runner
- module
- test
- named_data_map
- test
- pybindings
- test
- runner_util
- tensor
- threadpool
- training
- kernels
- optimized
- External
- portable
- prim_ops/test
- quantized
- runtime
- core
- exec_aten/testing_util
- portable_type/c10/c10
- test
- executor
- test
- scripts
- shim_et/xplat/executorch
- backends/xnnpack/third-party
- build
- codegen
- kernels/prim_ops
- src/executorch/examples
- test
- third-party
- tools/cmake
- preset
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
650 files changed
+21848
-6127
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
20 | 29 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 30 | | |
| 31 | + | |
26 | 32 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
20 | 17 | | |
21 | | - | |
22 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
23 | 21 | | |
24 | | - | |
25 | | - | |
| 22 | + | |
| 23 | + | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
Lines changed: 28 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
23 | 34 | | |
24 | 35 | | |
25 | 36 | | |
| |||
48 | 59 | | |
49 | 60 | | |
50 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
51 | 69 | | |
52 | 70 | | |
53 | | - | |
54 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
55 | 77 | | |
56 | 78 | | |
57 | | - | |
58 | | - | |
| 79 | + | |
59 | 80 | | |
60 | | - | |
| 81 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | | - | |
59 | | - | |
| 61 | + | |
60 | 62 | | |
61 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
62 | 73 | | |
63 | 74 | | |
64 | 75 | | |
65 | 76 | | |
66 | | - | |
| 77 | + | |
67 | 78 | | |
68 | 79 | | |
69 | 80 | | |
| |||
320 | 331 | | |
321 | 332 | | |
322 | 333 | | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
323 | 341 | | |
324 | 342 | | |
325 | 343 | | |
| |||
372 | 390 | | |
373 | 391 | | |
374 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
375 | 399 | | |
376 | 400 | | |
377 | 401 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | | - | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
| |||
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
45 | 57 | | |
46 | 58 | | |
47 | 59 | | |
| |||
58 | 70 | | |
59 | 71 | | |
60 | 72 | | |
61 | | - | |
62 | | - | |
63 | 73 | | |
64 | 74 | | |
| 75 | + | |
| 76 | + | |
65 | 77 | | |
66 | | - | |
| 78 | + | |
67 | 79 | | |
68 | 80 | | |
69 | 81 | | |
| |||
81 | 93 | | |
82 | 94 | | |
83 | 95 | | |
84 | | - | |
85 | | - | |
86 | 96 | | |
87 | 97 | | |
| 98 | + | |
| 99 | + | |
88 | 100 | | |
89 | | - | |
| 101 | + | |
90 | 102 | | |
91 | 103 | | |
92 | 104 | | |
| |||
104 | 116 | | |
105 | 117 | | |
106 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
107 | 123 | | |
108 | 124 | | |
109 | 125 | | |
| |||
113 | 129 | | |
114 | 130 | | |
115 | 131 | | |
| 132 | + | |
116 | 133 | | |
117 | 134 | | |
118 | 135 | | |
119 | 136 | | |
120 | 137 | | |
121 | 138 | | |
122 | 139 | | |
| 140 | + | |
123 | 141 | | |
124 | 142 | | |
125 | 143 | | |
| |||
0 commit comments