@@ -52,7 +52,7 @@ ExecuTorch uses **ahead-of-time (AOT) compilation** to prepare PyTorch models fo
52522 . ** ⚙️ Compile** — Quantize, optimize, and partition to hardware backends → ` .pte `
53533 . ** 🚀 Execute** — Load ` .pte ` on-device via lightweight C++ runtime
5454
55- Models use a standardized [ Core ATen operator set] ( https://docs.pytorch.org/executorch/main/compiler-ir-advanced .html#intermediate-representation ) . [ Partitioners] ( https://docs.pytorch.org/executorch/main/compiler-delegate-and-partitioner.html ) delegate subgraphs to specialized hardware (NPU/GPU) with CPU fallback.
55+ Models use a standardized [ Core ATen operator set] ( https://docs.pytorch.org/executorch/main/concepts .html#core-aten-operators ) . [ Partitioners] ( https://docs.pytorch.org/executorch/main/compiler-delegate-and-partitioner.html ) delegate subgraphs to specialized hardware (NPU/GPU) with CPU fallback.
5656
5757Learn more: [ How ExecuTorch Works] ( https://docs.pytorch.org/executorch/main/intro-how-it-works.html ) • [ Architecture Guide] ( https://docs.pytorch.org/executorch/main/getting-started-architecture.html )
5858
@@ -104,16 +104,14 @@ outputs = method.execute([torch.randn(1, 3, 224, 224)])
104104
105105Module module ("model.pte");
106106auto tensor = make_tensor_ptr({2, 2}, {1.0f, 2.0f, 3.0f, 4.0f});
107- auto outputs = module.forward(tensor);
107+ auto outputs = module.forward({ tensor} );
108108```
109109
110110**[Swift (iOS)](https://docs.pytorch.org/executorch/main/ios-section.html)**
111111```swift
112- import ExecuTorch
113-
114112let module = Module(filePath: "model.pte")
115- let input = Tensor<Float>([1.0, 2.0, 3.0, 4.0], shape: [2, 2] )
116- let outputs = try module.forward(input)
113+ let input = Tensor<Float>([1.0, 2.0, 3.0, 4.0])
114+ let outputs: [Value] = try module.forward([ input] )
117115```
118116
119117** [ Kotlin (Android)] ( https://docs.pytorch.org/executorch/main/android-section.html ) **
@@ -153,8 +151,6 @@ runner->generate("Hello, how are you?", config);
153151
154152**[Swift (iOS)](https://docs.pytorch.org/executorch/main/llm/run-on-ios.html)**
155153```swift
156- import ExecuTorchLLM
157-
158154let runner = TextRunner(modelPath: "llama.pte", tokenizerPath: "tiktoken.bin")
159155try runner.generate("Hello, how are you?", Config {
160156 $0.sequenceLength = 128
@@ -204,9 +200,9 @@ ExecuTorch powers on-device AI at scale across Meta's family of apps, VR/AR devi
204200
205201** Multimodal:** [ Llava] ( examples/models/llava/README.md ) (vision-language), [ Voxtral] ( examples/models/voxtral/README.md ) (audio-language)
206202
207- ** Vision/Speech:** [ MobileNetV2] ( https://github.com/meta-pytorch/executorch-examples/tree/main/mv2 ) , [ DeepLabV3] ( https://github.com/meta-pytorch/executorch-examples/tree/main/dl3 ) , [ Whisper ] ( https://github.com/meta-pytorch/executorch-examples/tree/main/whisper/android/WhisperApp )
203+ ** Vision/Speech:** [ MobileNetV2] ( https://github.com/meta-pytorch/executorch-examples/tree/main/mv2 ) , [ DeepLabV3] ( https://github.com/meta-pytorch/executorch-examples/tree/main/dl3 )
208204
209- ** Resources:** [ ` examples/ ` ] ( examples/ ) directory • [ executorch-examples] ( https://github.com/meta-pytorch/executorch-examples ) out-of-tree demos • [ Optimum-ExecuTorch] ( https://github.com/huggingface/optimum-executorch ) for HuggingFace models
205+ ** Resources:** [ ` examples/ ` ] ( examples/ ) directory • [ executorch-examples] ( https://github.com/meta-pytorch/executorch-examples ) mobile demos • [ Optimum-ExecuTorch] ( https://github.com/huggingface/optimum-executorch ) for HuggingFace models
210206
211207## Key Features
212208
@@ -226,7 +222,7 @@ See [Advanced Topics](https://docs.pytorch.org/executorch/main/advanced-topics-s
226222- [ ** Documentation Home** ] ( https://docs.pytorch.org/executorch/main/index.html ) — Complete guides and tutorials
227223- [ ** API Reference** ] ( https://docs.pytorch.org/executorch/main/api-section.html ) — Python, C++, Java/Kotlin APIs
228224- [ ** Backend Integration** ] ( https://docs.pytorch.org/executorch/main/backend-delegates-integration.html ) — Build custom hardware backends
229- - [ ** Troubleshooting** ] ( https://docs.pytorch.org/executorch/main/support-section .html ) — Common issues and solutions
225+ - [ ** Troubleshooting** ] ( https://docs.pytorch.org/executorch/main/using-executorch-troubleshooting .html ) — Common issues and solutions
230226
231227## Community & Contributing
232228
0 commit comments