You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Make sure API is up to date
- Make sure paths are up to date
- Rerun docgen
- Typos
Signed-off-by: Erik Lundell <erik.lundell@arm.com>
Change-Id: I3ad78fdfed3d60c76badc3ba794236372f3590da
Copy file name to clipboardExpand all lines: backends/arm/scripts/docgen/ethos-u/backends-arm-ethos-u-overview.md.in
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,6 @@ The target system must include an Ethos-U NPU.
20
20
21
21
```{tip}
22
22
All requirements can be downloaded using `examples/arm/setup.sh --i-agree-to-the-contained-eula` and added to the path using
23
-
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}")
24
23
`source examples/arm/arm-scratch/setup_path.sh`. Note that this means accepting the End-User License Agreements (EULA:s) required for using the downloaded software.
Copy file name to clipboardExpand all lines: backends/arm/scripts/docgen/vgf/backends-arm-vgf-overview.md.in
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ And for building and running your application using the generic executor_runner:
33
33
The [VGF Minimal Example](https://github.com/pytorch/executorch/blob/main/examples/arm/vgf_minimal_example.ipynb) demonstrates how to lower a module using the VGF backend.
34
34
35
35
The main configuration point for the lowering is the `VgfCompileSpec` consumed by the partitioner and quantizer.
36
+
To extract the VGF file for integration into applications without the ExecuTorch runtime, use `VgfCompileSpec.dump_intermediate_artifacts_to()`.
Copy file name to clipboardExpand all lines: backends/arm/scripts/docgen/vgf/vgf-getting-started-tutorial.md.in
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ Make sure the executable is located where you expect, in the `examples/arm` tree
73
73
74
74
The ExecuTorch Ahead-of-Time (AOT) pipeline takes a PyTorch Model (a `torch.nn.Module`) and produces a `.pte` binary file, which is then typically consumed by the ExecuTorch Runtime. This [document](https://github.com/pytorch/executorch/blob/main/docs/source/getting-started-architecture.md) goes in much more depth about the ExecuTorch software stack for both AoT as well as Runtime.
75
75
76
-
The example below shows how to quantize a model consisting of a single addition, and export it it through the AOT flow using the VGF backend. For more details, se `examples/arm/vgf_minimal_example.ipynb`.
76
+
The example below shows how to quantize a model consisting of a single addition, and export it through the AOT flow using the VGF backend. For more details, see `examples/arm/vgf_minimal_example.ipynb`.
Copy file name to clipboardExpand all lines: backends/cortex_m/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,21 +7,21 @@
7
7
8
8
The Cortex-M backend is implemented as an operator dialect/library based on [CMSIS-NN](https://github.com/ARM-software/CMSIS-NN), together with the `CortexMQuantizer` which targets supported ops, and the `CortexMPassManager` which modifies the exported program to use Cortex-M operators where possible. It is intended for use with **channels-last input** since this is what the accelerated kernels are using.
9
9
10
-
For a detailed example of the full lowering flow, see `examples/arm/cortex_m_minimal_example.ipynb`.
10
+
For a detailed example of the full lowering flow, see `examples/arm/cortex_m_mv2_example.ipynb`.
11
11
12
12
## Testing
13
-
Tests are available in `backends/cortex-m/test/` using the `backends/test` harness. The python implementations of the operators are tested in tests named `test_dialect_*`, while actual accelerated implementations are tested on simulated hardware in the tests named `test_implementation_*`.
13
+
Tests are available in `backends/cortex_m/test/` using the `backends/test` harness. The python implementations of the operators are tested in tests named `test_dialect_*`, while actual accelerated implementations are tested on simulated hardware in the tests named `test_implementation_*`.
14
14
15
15
To run tests:
16
16
```
17
17
examples/arm/setup.sh --i-agree-to-the-contained-eula # Download needed toolchains and simulators
18
18
examples/arm/arm-scratch/setup_path.sh # Add dependencies to path
19
-
backends/cortex-m/test/build_test_runner.sh # Build executor-runner with cortex-m oplib + kernels registred
20
-
pytest --config-file=backends/arm/test/pytest.ini backends/cortex-m/test # Run tests with correct configuration file
19
+
backends/cortex_m/test/build_test_runner.sh # Build executor-runner with cortex-m oplib + kernels registred
20
+
pytest --config-file=backends/arm/test/pytest.ini backends/cortex_m/test # Run tests with correct configuration file
21
21
```
22
22
23
23
## Supported operators
24
-
Refer to `backends/cortex-m/test/ops` for currently supported accelerated ops/dtypes. Additionally, the quantizer targets pure "data-movement ops" such as data copies, slicing and concatinations to use quantized dtypes using the portable-kernels operator lbrary.
24
+
Refer to `backends/cortex_m/test/ops` for currently supported accelerated ops/dtypes. Additionally, the quantizer targets pure "data-movement ops" such as data copies, slicing and concatenations to use quantized dtypes using the portable-kernels operator library.
25
25
In general however, operators not supported by Cortex-M are kept in `fp32` using non-accelerated portable-kernels. It is recommended to analyze the graph after lowering to understand how much of the graph has been accelerated.
Copy file name to clipboardExpand all lines: docs/source/backends/arm-ethos-u/arm-ethos-u-overview.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,6 @@ The target system must include an Ethos-U NPU.
20
20
21
21
```{tip}
22
22
All requirements can be downloaded using `examples/arm/setup.sh --i-agree-to-the-contained-eula` and added to the path using
23
-
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}")
24
23
`source examples/arm/arm-scratch/setup_path.sh`. Note that this means accepting the End-User License Agreements (EULA:s) required for using the downloaded software.
0 commit comments