Skip to content

Commit cf8a519

Browse files
neuropilot-captainMediaTek-ai
authored andcommitted
enable mediatek documents
1 parent fbea618 commit cf8a519

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

docs/source/build-run-mediatek-backend.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Follow the steps below to setup your build environment:
3737
1. **Setup ExecuTorch Environment**: Refer to the [Setting up ExecuTorch](https://pytorch.org/executorch/stable/getting-started-setup) guide for detailed instructions on setting up the ExecuTorch environment.
3838

3939
2. **Setup MediaTek Backend Environment**
40-
- Install the dependent libs. Ensure that you are inside backends/mediatek/ directory
40+
- Install the dependent libs. Ensure that you are inside `backends/mediatek/` directory
4141
```bash
4242
pip3 install -r requirements.txt
4343
```
@@ -53,7 +53,7 @@ Follow the steps below to setup your build environment:
5353

5454
## Build
5555

56-
### AOT (Ahead-of-time) components:
56+
### Ahead of time:
5757

5858
**Exporting a PyTorch Model for MediaTek Backend**:
5959
1. Lower and export the `.pte` file for on-device execution. The export script samples are povided under `example/mediatek/`. For example, the following commnad exports the `.pte` using the scripts provided.

docs/source/index.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ Topics in this section will help you get started with ExecuTorch.
111111
customcarditem entries below.
112112
executorch-arm-delegate-tutorial
113113
build-run-coreml
114+
build-run-mediatek-backend
114115
build-run-mps
115116
build-run-qualcomm-ai-engine-direct-backend
116117
build-run-xtensa
@@ -331,6 +332,13 @@ ExecuTorch tutorials.
331332
:link: build-run-coreml.html
332333
:tags: Export,Backend,Delegation,CoreML
333334

335+
.. customcarditem::
336+
:header: Building and Running ExecuTorch with MediaTek Backend
337+
:card_description: A tutorial that walks you through the process of building ExecuTorch with MediaTek Backend
338+
:image: _static/img/generic-pytorch-logo.png
339+
:link: build-run-mediatek-backend.html
340+
:tags: Export,Backend,Delegation,MediaTek
341+
334342
.. customcarditem::
335343
:header: Building and Running ExecuTorch with MPS Backend
336344
:card_description: A tutorial that walks you through the process of building ExecuTorch with MPSGraph Backend

examples/mediatek/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@ bash shell_scripts/export_oss.sh <model_name>
7272
- `model_name`: deeplabv3/edsr/inceptionv3/inceptionv4/mobilenetv2/mobilenetv3/resnet18/resnet50
7373

7474
# Runtime
75-
## Supported Chips
76-
77-
The examples provided in this repository are tested and supported on the following MediaTek chip:
78-
79-
- MediaTek Dimensity 9300 (D9300)
80-
8175
## Environment Setup
8276

8377
To set up the build environment for the `mtk_executor_runner`:

0 commit comments

Comments
 (0)