Skip to content

Commit 6328d41

Browse files
Olivia-liufacebook-github-bot
authored andcommitted
Rename "SDK" -> "Developer Tools" in documentations (OSS files) (#5238)
Summary: Pull Request resolved: #5238 Part of the bigger "sdk" rename to "devtools" task, context in [post](https://fb.workplace.com/groups/222849770514616/permalink/467450562721201/). This diff replaces "SDK" with "Developer Tools" in the documentations. Reviewed By: dbort Differential Revision: D62462792 fbshipit-source-id: 18a46779a9e6d7fb782f563fe73f7c612afc4838
1 parent 338ef26 commit 6328d41

22 files changed

+62
-54
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ option(EXECUTORCH_BUILD_KERNELS_OPTIMIZED "Build the optimized kernels" OFF)
197197

198198
option(EXECUTORCH_BUILD_KERNELS_QUANTIZED "Build the quantized kernels" OFF)
199199

200-
option(EXECUTORCH_BUILD_SDK "Build the ExecuTorch SDK")
200+
option(EXECUTORCH_BUILD_SDK "Build the ExecuTorch Developer Tools")
201201

202202
option(EXECUTORCH_BUILD_SIZE_TEST "Build the size test" OFF)
203203

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Key value propositions of ExecuTorch are:
1010
- **Portability:** Compatibility with a wide variety of computing platforms,
1111
from high-end mobile phones to highly constrained embedded systems and
1212
microcontrollers.
13-
- **Productivity:** Enabling developers to use the same toolchains and SDK from
14-
PyTorch model authoring and conversion, to debugging and deployment to a wide
15-
variety of platforms.
13+
- **Productivity:** Enabling developers to use the same toolchains and Developer
14+
Tools from PyTorch model authoring and conversion, to debugging and deployment
15+
to a wide variety of platforms.
1616
- **Performance:** Providing end users with a seamless and high-performance
1717
experience due to a lightweight runtime and utilizing full hardware
1818
capabilities such as CPUs, NPUs, and DSPs.

devtools/debug_format/base_schema.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
# This source code is licensed under the BSD-style license found in the
55
# LICENSE file in the root directory of this source tree.
66

7+
# pyre-unsafe
8+
79
"""
8-
Base Intermediate Representation for Productivity SDK consumers
10+
Base Intermediate Representation for Developer Tools consumers
911
(e.g. TensorBoard, Terminal Debugger)
1012
"""
1113

devtools/debug_format/et_schema.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
# This source code is licensed under the BSD-style license found in the
55
# LICENSE file in the root directory of this source tree.
66

7+
# pyre-unsafe
8+
79
"""
8-
Intermediate Representation of ExecuTorch Concepts in Productivity SDK
10+
Intermediate Representation of ExecuTorch Concepts in Developer Tools
911
"""
1012

1113
from __future__ import annotations

devtools/etrecord/_etrecord.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# This source code is licensed under the BSD-style license found in the
55
# LICENSE file in the root directory of this source tree.
66

7+
# pyre-unsafe
8+
79
import json
810
import os
911
import pickle
@@ -182,7 +184,7 @@ def generate_etrecord(
182184
is the closest graph module representation of what is eventually run on the device.
183185
In addition to all the graph modules, we also serialize the program buffer, which the users
184186
can provide to the ExecuTorch runtime to run the model, and the debug handle map
185-
for SDK tooling usage.
187+
for Developer Tools usage.
186188
187189
Args:
188190
et_record: Path to where the `ETRecord` file will be saved to.
@@ -201,7 +203,7 @@ def generate_etrecord(
201203

202204
etrecord_zip = ZipFile(et_record, "w")
203205
# Write the magic file identifier that will be used to verify that this file
204-
# is an etrecord when it's used later in the SDK tooling.
206+
# is an etrecord when it's used later in the Developer Tools.
205207
etrecord_zip.writestr(ETRecordReservedFileNames.ETRECORD_IDENTIFIER, "")
206208

207209
if export_modules is not None:

devtools/etrecord/tests/etrecord_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# This source code is licensed under the BSD-style license found in the
55
# LICENSE file in the root directory of this source tree.
66

7+
# pyre-unsafe
8+
79
import copy
810
import json
911
import tempfile
@@ -75,7 +77,7 @@ def get_test_model_with_manager(self):
7577
return (aten_dialect, edge_program_copy, edge_program.to_executorch())
7678

7779
# Serialized and deserialized graph modules are not completely the same, so we check
78-
# that they are close enough and match especially on the parameters we care about in the SDK.
80+
# that they are close enough and match especially on the parameters we care about in the Developer Tools.
7981
def check_graph_closeness(self, graph_a, graph_b):
8082
self.assertEqual(len(graph_a.graph.nodes), len(graph_b.graph.nodes))
8183
for node_a, node_b in zip(graph_a.graph.nodes, graph_b.graph.nodes):

docs/source/compiler-delegate-and-partitioner.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ static auto success_with_compiler = register_backend(backend);
127127
```
128128

129129

130-
## SDK Integration: Debuggability
130+
## Developer Tools Integration: Debuggability
131131

132-
Providing consistent debugging experience, be it for runtime failures or performance profiling, is important. ExecuTorch employs native SDK (Software Development Kit) for this purpose, which enables correlating program instructions to original PyTorch code, via debug handles. You can read more about it [here](./sdk-etrecord).
132+
Providing consistent debugging experience, be it for runtime failures or performance profiling, is important. ExecuTorch employs native Developer Tools for this purpose, which enables correlating program instructions to original PyTorch code, via debug handles. You can read more about it [here](./sdk-etrecord).
133133

134-
Delegated program or subgraphs are opaque to ExecuTorch runtime and appear as a special `call_delegate` instruction, which asks corresponding backend to handle the execution of the subgraph or program. Due to the opaque nature of backend delgates, native SDK does not have visibility into delegated program. Thus the debugging, functional or performance, experiences of delegated execution suffers significantly as compared to it's non-delegated counterpart.
134+
Delegated program or subgraphs are opaque to ExecuTorch runtime and appear as a special `call_delegate` instruction, which asks corresponding backend to handle the execution of the subgraph or program. Due to the opaque nature of backend delgates, native Developer Tools does not have visibility into delegated program. Thus the debugging, functional or performance, experiences of delegated execution suffers significantly as compared to it's non-delegated counterpart.
135135

136-
In order to provide consistent debugging experience to users, regardless of the use of delegation for a model, SDK provides an interface to correlate delegated (sub)graph to original (sub)graph. The SDK does so via debug handles map which allows delegates to generate internal handles that can be associated with the original (sub)graph consumed by the delegate. Then at runtime, backend developer can report error or profiling information using the internal handle, which will be mapped to original (sub)graph using the debug handle map. For more information, please refer to [SDK delegate integration](./sdk-delegate-integration).
136+
In order to provide consistent debugging experience to users, regardless of the use of delegation for a model, Developer Tools provide an interface to correlate delegated (sub)graph to original (sub)graph. The Developer Tools do so via debug handles map which allows delegates to generate internal handles that can be associated with the original (sub)graph consumed by the delegate. Then at runtime, backend developer can report error or profiling information using the internal handle, which will be mapped to original (sub)graph using the debug handle map. For more information, please refer to [Developer Tools Delegate Integration](./sdk-delegate-integration).
137137

138138
By leveraging the debug identifier, backend developer can embed the debug as part of the delegated blob
139139

docs/source/concepts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,9 @@ Techniques for performing computations and memory accesses on tensors with lower
283283

284284
The ExecuTorch runtime executes models on edge devices. It is responsible for program initialization, program execution and, optionally, destruction (releasing backend owned resources).
285285

286-
## [SDK](./sdk-overview.md)
286+
## [Developer Tools](./sdk-overview.md)
287287

288-
Software Development Kit. The tooling users need to profile, debug and visualize programs that are running with ExecuTorch.
288+
A collection of tools users need to profile, debug and visualize programs that are running with ExecuTorch.
289289

290290
## [Selective build](./kernel-library-selective-build.md)
291291

docs/source/getting-started-architecture.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ The ExecuTorch runtime is written in C++ with minimal dependencies for portabili
8787

8888
_Executor_ is the entry point to load the program and execute it. The execution triggers corresponding operator kernels or backend execution from this very minimal runtime.
8989

90-
## SDK
90+
## Developer Tools
9191

92-
It should be efficient for users to go from research to production using the flow above. Productivity is essentially important, for users to author, optimize and deploy their models. We provide [ExecuTorch SDK](./sdk-overview.md) to improve productivity. The SDK is not in the diagram. Instead it's a tool set that covers the developer workflow in all three phases.
92+
It should be efficient for users to go from research to production using the flow above. Productivity is essentially important, for users to author, optimize and deploy their models. We provide [ExecuTorch Developer Tools](./sdk-overview.md) to improve productivity. The Developer Tools are not in the diagram. Instead it's a tool set that covers the developer workflow in all three phases.
9393

94-
During the program preparation and execution, users can use the ExecuTorch SDK to profile, debug, or visualize the program. Since the end-to-end flow is within the PyTorch ecosystem, users can correlate and display performance data along with graph visualization as well as direct references to the program source code and model hierarchy. We consider this to be a critical component for quickly iterating and lowering PyTorch programs to edge devices and environments.
94+
During the program preparation and execution, users can use the ExecuTorch Developer Tools to profile, debug, or visualize the program. Since the end-to-end flow is within the PyTorch ecosystem, users can correlate and display performance data along with graph visualization as well as direct references to the program source code and model hierarchy. We consider this to be a critical component for quickly iterating and lowering PyTorch programs to edge devices and environments.

docs/source/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Topics in this section will help you get started with ExecuTorch.
193193
.. toctree::
194194
:glob:
195195
:maxdepth: 1
196-
:caption: SDK
196+
:caption: Developer Tools
197197
:hidden:
198198

199199
sdk-overview
@@ -244,11 +244,11 @@ ExecuTorch tutorials.
244244
:tags:
245245

246246
.. customcarditem::
247-
:header: Using the ExecuTorch SDK to Profile a Model
248-
:card_description: A tutorial for using the ExecuTorch SDK to profile and analyze a model with linkage back to source code.
247+
:header: Using the ExecuTorch Developer Tools to Profile a Model
248+
:card_description: A tutorial for using the ExecuTorch Developer Tools to profile and analyze a model with linkage back to source code.
249249
:image: _static/img/generic-pytorch-logo.png
250250
:link: tutorials/sdk-integration-tutorial.html
251-
:tags: SDK
251+
:tags: devtools
252252

253253
.. customcarditem::
254254
:header: Integrating and Running ExecuTorch on Apple Platforms

0 commit comments

Comments
 (0)