Skip to content

Commit 9087356

Browse files
committed
Update documentation flow and add placeholders (#8287)
Add placeholder top-level doc pages
1 parent 1d306fb commit 9087356

18 files changed

+103
-76
lines changed

backends/vulkan/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ExecuTorch Vulkan Delegate
1+
# Vulkan Backend
22

33
The ExecuTorch Vulkan delegate is a native GPU delegate for ExecuTorch that is
44
built on top of the cross-platform Vulkan GPU API standard. It is primarily

docs/source/concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ExecuTorch Concepts
1+
# Concepts
22
This page provides an overview of key concepts and terms used throughout the ExecuTorch documentation. It is intended to help readers understand the terminology and concepts used in PyTorch Edge and ExecuTorch.
33

44
## Concepts Map

docs/source/debug-backend-delegate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Debug Backend Delegate
1+
# Debugging Delegation
22

33
We provide a list of util functions to give users insights on what happened to the graph modules during the `to_backend()` stage.
44

docs/source/getting-started-architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# High-level Architecture and Components of ExecuTorch
1+
# Architecture and Components
22

33
This page describes the technical architecture of ExecuTorch and its individual components. This document is targeted towards engineers who are deploying PyTorch model onto edge devices.
44

docs/source/index.rst

Lines changed: 65 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -84,83 +84,53 @@ Topics in this section will help you get started with ExecuTorch.
8484
.. toctree::
8585
:glob:
8686
:maxdepth: 1
87-
:caption: Getting Started
87+
:caption: Usage
8888
:hidden:
8989

9090
getting-started
91-
export-overview
92-
runtime-build-and-cross-compilation
93-
getting-started-faqs
91+
using-executorch-export
92+
using-executorch-android
93+
using-executorch-ios
94+
using-executorch-cpp
95+
using-executorch-troubleshooting
9496

9597
.. toctree::
9698
:glob:
9799
:maxdepth: 1
98-
:caption: Tutorials
100+
:caption: Backends
99101
:hidden:
100102

101-
tutorials/export-to-executorch-tutorial
102-
running-a-model-cpp-tutorial
103-
extension-module
104-
extension-tensor
105-
tutorials/devtools-integration-tutorial
106-
apple-runtime
107-
demo-apps-ios
108-
demo-apps-android
109-
examples-end-to-end-to-lower-model-to-delegate
110-
tutorial-xnnpack-delegate-lowering
111-
build-run-vulkan
112-
..
113-
Alphabetical by backend name. Be sure to keep the same order in the
114-
customcarditem entries below.
115-
executorch-arm-delegate-tutorial
116-
build-run-coreml
117-
build-run-mediatek-backend
118-
build-run-mps
119-
build-run-qualcomm-ai-engine-direct-backend
120-
build-run-xtensa
121-
122-
.. toctree::
123-
:glob:
124-
:maxdepth: 2
125-
:caption: Working with LLMs
126-
:hidden:
127-
128-
Llama <llm/llama>
129-
Llama on Android <llm/llama-demo-android>
130-
Llama on iOS <llm/llama-demo-ios>
131-
Llama on Android via Qualcomm backend <llm/build-run-llama3-qualcomm-ai-engine-direct-backend>
132-
Intro to LLMs in Executorch <llm/getting-started>
133-
134-
.. toctree::
135-
:glob:
136-
:maxdepth: 1
137-
:caption: API Reference
138-
:hidden:
139-
140-
export-to-executorch-api-reference
141-
executorch-runtime-api-reference
142-
runtime-python-api-reference
143-
api-life-cycle
103+
native-delegates-executorch-xnnpack-delegate
104+
native-delegates-executorch-coreml-delegate
105+
native-delegates-executorch-mps-delegate
106+
native-delegates-executorch-vulkan-delegate
107+
native-delegates-executorch-arm-ethos-u-delegate
108+
native-delegates-executorch-qualcomm-delegate
109+
native-delegates-executorch-mediatek-delegate
110+
native-delegates-executorch-cadence-delegate
144111

145112
.. toctree::
146113
:glob:
147114
:maxdepth: 1
148-
:caption: IR Specification
115+
:caption: Tutorials
149116
:hidden:
150117

151-
ir-exir
152-
ir-ops-set-definition
153-
154118
.. toctree::
155119
:glob:
156120
:maxdepth: 1
157-
:caption: Compiler Entry Points
121+
:caption: Developer Tools
158122
:hidden:
159123

160-
compiler-delegate-and-partitioner
161-
compiler-backend-dialect
162-
compiler-custom-compiler-passes
163-
compiler-memory-planning
124+
devtools-overview
125+
bundled-io
126+
etrecord
127+
etdump
128+
runtime-profiling
129+
model-debugging
130+
model-inspector
131+
memory-planning-inspection
132+
delegate-debugging
133+
devtools-tutorial
164134

165135
.. toctree::
166136
:glob:
@@ -174,6 +144,17 @@ Topics in this section will help you get started with ExecuTorch.
174144
portable-cpp-programming
175145
pte-file-format
176146

147+
.. toctree::
148+
:glob:
149+
:maxdepth: 1
150+
:caption: API Reference
151+
:hidden:
152+
153+
export-to-executorch-api-reference
154+
executorch-runtime-api-reference
155+
runtime-python-api-reference
156+
api-life-cycle
157+
177158
.. toctree::
178159
:glob:
179160
:maxdepth: 1
@@ -192,34 +173,47 @@ Topics in this section will help you get started with ExecuTorch.
192173
kernel-library-custom-aten-kernel
193174
kernel-library-selective-build
194175

176+
.. toctree::
177+
:glob:
178+
:maxdepth: 2
179+
:caption: Working with LLMs
180+
:hidden:
181+
182+
Llama <llm/llama>
183+
Llama on Android <llm/llama-demo-android>
184+
Llama on iOS <llm/llama-demo-ios>
185+
Llama on Android via Qualcomm backend <llm/build-run-llama3-qualcomm-ai-engine-direct-backend>
186+
Intro to LLMs in Executorch <llm/getting-started>
187+
195188
.. toctree::
196189
:glob:
197190
:maxdepth: 1
198-
:caption: Backend Delegates
191+
:caption: Backend Development
199192
:hidden:
200193

201-
native-delegates-executorch-xnnpack-delegate
202-
native-delegates-executorch-vulkan-delegate
203194
backend-delegates-integration
204195
backend-delegates-dependencies
205196
debug-backend-delegate
206197

207198
.. toctree::
208199
:glob:
209200
:maxdepth: 1
210-
:caption: Developer Tools
201+
:caption: IR Specification
211202
:hidden:
212203

213-
devtools-overview
214-
bundled-io
215-
etrecord
216-
etdump
217-
runtime-profiling
218-
model-debugging
219-
model-inspector
220-
memory-planning-inspection
221-
delegate-debugging
222-
devtools-tutorial
204+
ir-exir
205+
ir-ops-set-definition
206+
207+
.. toctree::
208+
:glob:
209+
:maxdepth: 1
210+
:caption: Compiler Entry Points
211+
:hidden:
212+
213+
compiler-delegate-and-partitioner
214+
compiler-backend-dialect
215+
compiler-custom-compiler-passes
216+
compiler-memory-planning
223217

224218
.. toctree::
225219
:glob:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# ARM Ethos-U Backend
2+
3+
Placeholder
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Cadence Backend
2+
3+
Placeholder
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Core ML Backend
2+
3+
Placeholder for Core ML delegate docs
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# MediaTek Backend
2+
3+
Placeholder
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# MPS Backend
2+
3+
Placeholder
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Qualcomm Backend
2+
3+
Placeholder

docs/source/native-delegates-executorch-xnnpack-delegate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ExecuTorch XNNPACK delegate
1+
# XNNPACK Backend
22

33
This is a high-level overview of the ExecuTorch XNNPACK backend delegate. This high performance delegate is aimed to reduce CPU inference latency for ExecuTorch models. We will provide a brief introduction to the XNNPACK library and explore the delegate’s overall architecture and intended use cases.
44

Binary file not shown.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Using ExecuTorch on Android
2+
3+
Placeholder for top-level Android documentation

docs/source/using-executorch-cpp.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Using ExecuTorch with C++
2+
3+
Placeholder for top-level C++ documentation
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Model Export
2+
3+
Placeholder for top-level export documentation

docs/source/using-executorch-ios.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Using ExecuTorch on iOS
2+
3+
Placeholder for top-level iOS documentation
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Troubleshooting, Profiling, and Optimization
2+
3+
Placeholder for top-level troubleshooting, profiling, and devtool docs

0 commit comments

Comments
 (0)