Skip to content

Commit d60e12d

Browse files
authored
Update documentation flow and add placeholders (#8287)
Add placeholder top-level doc pages
1 parent 504b5e0 commit d60e12d

18 files changed

+103
-76
lines changed

backends/vulkan/README.md

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+65-71
Original file line numberDiff line numberDiff line change
@@ -81,83 +81,53 @@ Topics in this section will help you get started with ExecuTorch.
8181
.. toctree::
8282
:glob:
8383
:maxdepth: 1
84-
:caption: Getting Started
84+
:caption: Usage
8585
:hidden:
8686

8787
getting-started
88-
export-overview
89-
runtime-build-and-cross-compilation
90-
getting-started-faqs
88+
using-executorch-export
89+
using-executorch-android
90+
using-executorch-ios
91+
using-executorch-cpp
92+
using-executorch-troubleshooting
9193

9294
.. toctree::
9395
:glob:
9496
:maxdepth: 1
95-
:caption: Tutorials
97+
:caption: Backends
9698
:hidden:
9799

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

142109
.. toctree::
143110
:glob:
144111
:maxdepth: 1
145-
:caption: IR Specification
112+
:caption: Tutorials
146113
:hidden:
147114

148-
ir-exir
149-
ir-ops-set-definition
150-
151115
.. toctree::
152116
:glob:
153117
:maxdepth: 1
154-
:caption: Compiler Entry Points
118+
:caption: Developer Tools
155119
:hidden:
156120

157-
compiler-delegate-and-partitioner
158-
compiler-backend-dialect
159-
compiler-custom-compiler-passes
160-
compiler-memory-planning
121+
devtools-overview
122+
bundled-io
123+
etrecord
124+
etdump
125+
runtime-profiling
126+
model-debugging
127+
model-inspector
128+
memory-planning-inspection
129+
delegate-debugging
130+
devtools-tutorial
161131

162132
.. toctree::
163133
:glob:
@@ -171,6 +141,17 @@ Topics in this section will help you get started with ExecuTorch.
171141
portable-cpp-programming
172142
pte-file-format
173143

144+
.. toctree::
145+
:glob:
146+
:maxdepth: 1
147+
:caption: API Reference
148+
:hidden:
149+
150+
export-to-executorch-api-reference
151+
executorch-runtime-api-reference
152+
runtime-python-api-reference
153+
api-life-cycle
154+
174155
.. toctree::
175156
:glob:
176157
:maxdepth: 1
@@ -189,34 +170,47 @@ Topics in this section will help you get started with ExecuTorch.
189170
kernel-library-custom-aten-kernel
190171
kernel-library-selective-build
191172

173+
.. toctree::
174+
:glob:
175+
:maxdepth: 2
176+
:caption: Working with LLMs
177+
:hidden:
178+
179+
Llama <llm/llama>
180+
Llama on Android <llm/llama-demo-android>
181+
Llama on iOS <llm/llama-demo-ios>
182+
Llama on Android via Qualcomm backend <llm/build-run-llama3-qualcomm-ai-engine-direct-backend>
183+
Intro to LLMs in Executorch <llm/getting-started>
184+
192185
.. toctree::
193186
:glob:
194187
:maxdepth: 1
195-
:caption: Backend Delegates
188+
:caption: Backend Development
196189
:hidden:
197190

198-
native-delegates-executorch-xnnpack-delegate
199-
native-delegates-executorch-vulkan-delegate
200191
backend-delegates-integration
201192
backend-delegates-dependencies
202193
debug-backend-delegate
203194

204195
.. toctree::
205196
:glob:
206197
:maxdepth: 1
207-
:caption: Developer Tools
198+
:caption: IR Specification
208199
:hidden:
209200

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

221215
.. toctree::
222216
:glob:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# ARM Ethos-U Backend
2+
3+
Placeholder
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Cadence Backend
2+
3+
Placeholder
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Core ML Backend
2+
3+
Placeholder for Core ML delegate docs
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# MediaTek Backend
2+
3+
Placeholder
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# MPS Backend
2+
3+
Placeholder
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

+1-1
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.
+3
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

+3
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
+3
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

+3
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
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)