Commit dbf6190
committed
Update on "Reuse types in _named_data_store and support tensor layouts"
Reuse `DataEntry` from data_serializer.py, in _named_data_store.py.
Motivation
- deserialize from flat tensor to named data store output
- support tensor layout in named data store
Differential Revision: [D83490345](https://our.internmc.facebook.com/intern/diff/D83490345/)
[ghstack-poisoned]File tree
874 files changed
+34765
-8182
lines changed- .ci
- docker
- ci_commit_pins
- scripts
- .githooks
- .github
- scripts
- workflows
- backends
- aoti
- apple
- coreml
- mps
- arm
- _passes
- ethosu
- operator_support
- operators
- quantizer
- runtime
- scripts
- test
- misc
- models
- stable_diffusion
- ops
- passes
- tester
- tosa
- dialect
- ops
- util
- cadence
- aot
- quantizer
- tests
- runtime
- utils
- vision
- operators
- third-party
- include_private
- library
- api
- tables
- cortex_m
- passes
- test
- ops
- cuda
- runtime
- shims
- tests
- 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
- _passes
- builders
- partition
- quantizer
- serialization
- utils
- test
- harness
- stages
- suite
- flows
- models
- operators
- vulkan
- _passes
- partitioner
- patterns
- runtime
- graph/ops
- glsl
- impl
- vk_api
- serialization
- test
- custom_ops
- scripts
- xnnpack
- _passes
- operators
- partition/config
- runtime
- serialization
- test
- ops
- passes
- codegen/tools
- configurations
- devtools/etdump/tests
- docs
- source
- _static
- css
- img
- js
- _templates
- llm
- examples
- apple/coreml/llama
- arm
- ethos-u-setup/core_platform
- executor_runner
- cuda/scripts
- devtools
- models
- gemma
- config
- llama
- runner
- source_transformation
- moshi/mimi
- voxtral
- yolo12
- nxp
- portable
- custom_ops
- executor_runner
- qualcomm
- oss_scripts/llama
- runner
- samsung/scripts
- selective_build
- advanced
- basic
- vulkan
- exir
- _serialize
- backend/test/demos
- rpc
- passes
- tests
- export
- extension
- android
- executorch_android
- src
- androidTest/java/org/pytorch/executorch
- main/java/org/pytorch/executorch/extension/llm
- jni
- apple/ExecuTorch
- Exported
- __tests__
- 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
- test
- module
- test
- named_data_map
- test
- pybindings
- test
- runner_util
- tensor
- test
- testing_util
- threadpool
- test
- training
- wasm
- kernels
- optimized
- External
- portable
- prim_ops/test
- quantized
- runtime
- core
- exec_aten/testing_util
- portable_type/c10/c10
- test
- executor
- test
- platform
- 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.
874 files changed
+34765
-8182
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 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 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
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 | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| 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 | | |
| |||
0 commit comments