[KongchangAI]
Product

ExecuTorch

A runtime framework within the PyTorch ecosystem focused on on-device inference. It supports efficient deployment of PyTorch models to mobile devices, embedded systems, and edge hardware, providing capabilities for model conversion, optimization, and hardware instruction mapping.

Core Facts

Timeline (last 90 days)

Nov 26

PyTorch model deployment efficiency involves torch.export, ExecuTorch (on-device inference), as well as quantization and operator fusion.

Unverified50%
Nov 24

"No loading required" means that deployment no longer needs to load PyTorch's nn.Module or TorchScript model files; however, the TensorRT engine still needs to be deserialized on the target device and an execution context created, and this overhead depends on the engine size and the hardware.

Unverified50%
Nov 24

The ExecuTorch-TensorRT integration solution depends on two versions: Torch-TensorRT 2.15 and ExecuTorch 1.6.

Unverified50%
Nov 24

The ExecuTorch-TensorRT workflow consists of three steps: compile with Torch-TensorRT 2.15 to generate a TensorRT engine; save the compilation result in the ExecuTorch program format; and load and run the program in C++ or Python.

Unverified50%
Nov 24

The ExecuTorch runtime is implemented in C++, provides a lightweight interpreter and hardware backend interfaces (such as XNNPACK, Core ML, Vulkan, etc.), and exposes Python bindings.

Unverified50%
Nov 24

Developers can use Torch-TensorRT to compile a PyTorch model, save it as an ExecuTorch program (.pte file), and run it directly in C++ or Python without additionally loading the original PyTorch model.

Unverified50%
Nov 24

At runtime, the generated ExecuTorch program does not need the original PyTorch model or the Torch-TensorRT library, only the ExecuTorch runtime and the TensorRT runtime (plus the corresponding GPU driver).

Unverified50%
Nov 10

torch.export is responsible for exporting PyTorch models to ExecuTorch-specific .pte files, a file format that is the standard carrier for the ExecuTorch runtime and contains the model's computation graph and weight information.

Unverified50%
Nov 10

ExecuTorch WebGPU is still at an early stage, and the specific operator coverage, performance, and browser compatibility matrix still need to be verified by developers in real projects.

Expired50%
Nov 10

ExecuTorch adopts a layered architecture: the frontend receives the graph exported by torch.export, goes through graph optimization and operator decomposition, and ultimately the backend (such as XNNPACK, Core ML, Vulkan, WebGPU) is responsible for kernel execution.

Unverified50%

34 more timeline events

All Facts (20)

Verified

ExecuTorch is an on-device inference runtime framework launched by Meta, built on the Export mechanism of PyTorch 2.0.

75%
Verified

ExecuTorch is a runtime framework within the PyTorch ecosystem focused on on-device inference, designed to deploy PyTorch models to mobile devices, embedded systems, and edge hardware.

75%
Unverified

The ExecuTorch workflow consists of three phases: exporting the model computation graph with torch.export, performing quantization and optimization through compiler passes, and finally packaging into the .pte format to run on the target device.

70%
Unverified

PyTorch model deployment efficiency involves torch.export, ExecuTorch (on-device inference), as well as quantization and operator fusion.

50%
Unverified

The ExecuTorch runtime is implemented in C++, provides a lightweight interpreter and hardware backend interfaces (such as XNNPACK, Core ML, Vulkan, etc.), and exposes Python bindings.

50%
Unverified

The ExecuTorch-TensorRT integration solution depends on two versions: Torch-TensorRT 2.15 and ExecuTorch 1.6.

50%
Unverified

Developers can use Torch-TensorRT to compile a PyTorch model, save it as an ExecuTorch program (.pte file), and run it directly in C++ or Python without additionally loading the original PyTorch model.

50%
Unverified

"No loading required" means that deployment no longer needs to load PyTorch's nn.Module or TorchScript model files; however, the TensorRT engine still needs to be deserialized on the target device and an execution context created, and this overhead depends on the engine size and the hardware.

50%
Unverified

At runtime, the generated ExecuTorch program does not need the original PyTorch model or the Torch-TensorRT library, only the ExecuTorch runtime and the TensorRT runtime (plus the corresponding GPU driver).

50%
Unverified

The ExecuTorch-TensorRT workflow consists of three steps: compile with Torch-TensorRT 2.15 to generate a TensorRT engine; save the compilation result in the ExecuTorch program format; and load and run the program in C++ or Python.

50%
Unverified

ExecuTorch is an on-device inference runtime led by the PyTorch Foundation, aiming to execute PyTorch models on edge devices such as mobile (Android/iOS), embedded systems, and browsers.

50%
Unverified

ExecuTorch adopts a layered architecture: the frontend receives the graph exported by torch.export, goes through graph optimization and operator decomposition, and ultimately the backend (such as XNNPACK, Core ML, Vulkan, WebGPU) is responsible for kernel execution.

50%
Unverified

torch.export is responsible for exporting PyTorch models to ExecuTorch-specific .pte files, a file format that is the standard carrier for the ExecuTorch runtime and contains the model's computation graph and weight information.

50%
Unverified

For streaming ASR, some stateful or dynamic-shape operators may not have ready-made efficient implementations and require additional adaptation or custom lowering.

50%
Unverified

On-device optimization of streaming ASR has been included as a key direction for ExecuTorch, and Arm devices are one of its explicit target platforms.

50%
Unverified

In ExecuTorch, operator lowering typically goes through multiple intermediate representations (such as Edge Dialect), ultimately mapping to Arm CPU-specific kernels or delegate backends.

50%
Unverified

ExecuTorch introduces a unified intermediate representation, EXIR; models are exported to EXIR via torch.export, then packaged in the .pte format and handed to the runtime for execution.

50%
Unverified

ExecuTorch is the on-device inference runtime officially launched by PyTorch in 2023, covering phones, embedded devices and even MCUs.

50%
Unverified

ExecuTorch adopts a layered runtime design, including the representation layer, the operator layer and the backend layer (Backend Delegate).

50%
Unverified

ExecuTorch supports Arm Cortex-M microcontrollers, allowing PyTorch models to run on MCUs without conversion through intermediate formats such as ONNX.

50%

Source Articles