[PyTorch Mobile] excels at providing a stable, mature runtime for deploying models on Android and iOS because it leverages a well-established operator set and a straightforward model conversion path from standard PyTorch. For example, teams with existing torch.jit.trace workflows can deploy to mobile with minimal refactoring, achieving reliable inference on millions of devices. However, its architecture was not designed for the extreme size and performance constraints of modern microcontrollers or the full delegate composability required for heterogeneous federated learning fleets.
Difference
ExecuTorch vs PyTorch Mobile: The Next-Gen On-Device Training Runtime

Introduction
A data-driven comparison of PyTorch's legacy mobile runtime against its next-generation ExecuTorch for on-device training and federated learning.
[ExecuTorch] takes a fundamentally different approach by being a ground-up redesign focused on portability, minimal binary size, and first-class support for custom hardware accelerators via a unified delegate API. This results in a runtime that can target everything from high-end smartphones to low-power Cortex-M microcontrollers, enabling a single toolchain for diverse on-device training tasks. The trade-off is that it is a newer, evolving platform, requiring teams to migrate from the legacy torch.jit ecosystem to a new export-based workflow.
The key trade-off: If your priority is maintaining a stable, battle-tested mobile inference pipeline with minimal migration cost, choose [PyTorch Mobile]. If you prioritize a future-proof, ultra-portable runtime that can unify on-device training across smartphones, wearables, and microcontrollers for a truly heterogeneous federated learning system, choose [ExecuTorch].
Feature Matrix: ExecuTorch vs PyTorch Mobile
Direct comparison of key metrics and features for on-device training and inference runtimes.
| Metric | ExecuTorch | PyTorch Mobile |
|---|---|---|
Binary Size (Minimal Config) | < 2 MB | ~8-12 MB |
On-Device Training Support | ||
Custom Delegate API | First-Class (AOT & JIT) | Limited (Module-based) |
Model File Format | .pte (Portable, FlatBuffers) | .ptl (TorchScript, ZIP-based) |
Primary Backend Target | ARM CPUs, NPUs, DSPs | ARM CPUs, GPUs |
Operator Coverage | Curated (Core ATen subset) | Broader (Legacy TorchScript) |
Federated Learning Integration | Architected for FL | Requires external framework |
Active Development Status | Active (Next-Gen) | Maintenance Mode |
TL;DR Summary
Key strengths and trade-offs at a glance.
Radically Smaller Binary Size
Specific advantage: ExecuTorch achieves a minimal runtime footprint by compiling only the used operators, resulting in binaries often under 2MB. This matters for resource-constrained IoT and microcontroller deployments where storage is at a premium, a critical limitation of the legacy PyTorch Mobile runtime.
Portable, Delegate-First Architecture
Specific advantage: Designed with a unified delegate interface for backends like Apple Core ML, Qualcomm QNN, and ARM Ethos-U. This matters for heterogeneous federated learning fleets requiring a single model export to target diverse hardware accelerators without vendor lock-in.
Next-Gen On-Device Training Foundation
Specific advantage: Built with a forward-looking, modular runtime that supports fine-grained memory planning and custom memory allocators. This matters for federated learning pipelines that need efficient, long-running training loops on edge devices, a use case PyTorch Mobile was never optimized for.
When to Choose ExecuTorch vs PyTorch Mobile
ExecuTorch for Federated Learning
Verdict: The strategic, forward-looking choice. ExecuTorch is purpose-built for the heterogeneous, resource-constrained reality of cross-device FL. Its delegate system allows you to target DSPs, NPUs, and microcontrollers with a single model export, drastically reducing the binary size and attack surface for on-device training loops. The export-based workflow ensures a smaller runtime footprint, which is critical for OTA updates of the FL client.
PyTorch Mobile for Federated Learning
Verdict: The stable, legacy workhorse. If you have an existing FL pipeline built on PyTorch Mobile, it works. However, its larger binary size and less granular delegate management lead to higher resource consumption. It lacks the first-class support for the latest quantization and delegation backends needed to run training on wearables or low-power IoT sensors. Migration is recommended for new FL initiatives targeting heterogeneous fleets.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Migration Path: PyTorch Mobile to ExecuTorch
Practical answers for engineering teams planning the transition from the legacy PyTorch Mobile runtime to the next-generation ExecuTorch stack for on-device training and federated learning.
No, it is not a drop-in replacement. ExecuTorch introduces a new export-based workflow that differs significantly from the torch.jit.trace and torch.jit.script methods used in PyTorch Mobile. You will need to rewrite your model export pipeline to use torch.export and the ExecuTorch SDK. However, the core PyTorch model authoring experience remains identical, so your training code and model architecture definitions require minimal changes. The primary migration effort lies in the conversion and runtime integration layers.
Verdict
A data-driven breakdown of the architectural trade-offs between PyTorch's legacy mobile runtime and its next-generation successor for on-device training.
ExecuTorch excels at deploying highly optimized, specialized models on heterogeneous edge hardware because of its delegate-centric architecture. By separating the runtime core from hardware-specific backends, it enables aggressive binary size reduction (often under 2MB for a minimal build) and unlocks custom accelerators like DSPs and NPUs that PyTorch Mobile cannot easily target. For example, early adopters report a 30-50% reduction in binary footprint compared to equivalent PyTorch Mobile builds, a critical factor for IoT and micro-controller deployments.
PyTorch Mobile takes a different approach by providing a mature, monolithic runtime that closely mirrors the server-side PyTorch experience. This results in a much lower migration friction for existing pipelines and broader out-of-the-box operator coverage without requiring custom delegate authoring. The trade-off is a larger minimum binary size and a less modular architecture, making it harder to strip unused operators for ultra-constrained environments.
The key trade-off: If your priority is maximum portability across novel silicon and minimal binary size for a new federated learning fleet, choose ExecuTorch. If you prioritize immediate compatibility with an existing PyTorch Mobile codebase and a stable, battle-tested operator set, choose PyTorch Mobile for now, but plan a phased migration as ExecuTorch's ecosystem matures.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us