Revamp iOS documentations #7903
Labels
module: doc
Issues related to documentation, both in docs/ and inlined in code
module: ios
Issues related to iOS code, build, and execution
module: user experience
Issues related to reducing friction for users
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Milestone
📚 The doc issue
Currently there are a few different places for iOS that we wrote over the lifecycle of ExecuTorch development phase (MVP, alpha, beta etc) with different purposes. Some were to showcase functionality (e.g., MV3 and Llama can actually run iOS device), some were to showcase delegate capabilities (XNNPACK, CoreML, MPS integration)... It's time to step back and see from a developer's perspective, and make sure the sum of all the parts make sense and coherent.
demo app tutorial (https://pytorch.org/executorch/stable/demo-apps-ios.html)
cross compilation iOS section (https://pytorch.org/executorch/stable/runtime-build-and-cross-compilation.html#ios)
Llama iOS demo (https://pytorch.org/executorch/stable/llm/llama-demo-ios.html)
Integrating and Running ExecuTorch on Apple Platforms (https://pytorch.org/executorch/stable/apple-runtime.html)
Running with CoreML (https://pytorch.org/executorch/stable/build-run-coreml.html)
User journey:
Here's a typical developer user journey from an engineer who's just looking at ExecuTorch for the first time. Their ultimate goal is to build an AI powered iOS app which is performant enough.
Part 1:
-- Clone executorch repo and do minimal setup/installation (./install_executorch.sh --pybind coreml xnnpack)
-- Ideally should just be able to do
pip install executorch
in the near future.-- Download from HuggingFace
-- Or existing example models e.g., MV3 and Llama3
-- Either export file
-- Download existing pte file from somewhere like HuggingFace
Part 2:
-- Build and run custom app out-of-source tree.
-- Use existing demo apps (MV3 and Llama3/Llava) as an example usage
Suggest a potential alternative/fix
No response
cc @byjlw @shoumikhin
The text was updated successfully, but these errors were encountered: