react-native-executorch
Installation
SKILL.md
React Native ExecuTorch
Run AI on-device in React Native with a choice of integration levels:
- Ready-made task and model: choose a pre-exported configuration from
modelsand ause<Task>hook. Downloads, preprocessing, inference, postprocessing and React resource lifecycle are handled. - Custom model, existing task: supply your own
.pteand associated assets to a task whose input/output contract matches. A model need not be added to the shipped registry to use it in an app. - Custom model and pipeline: use
Model,Tensor,schema, domain operations and worklets to build the pipeline in TypeScript. Most integrations need no app-specific C++ code.
Treat custom models as a first-class path. Choose based on the user's model, inputs/outputs and desired control; do not restrict a custom architecture to the shipped task catalog or reimplement a supported task unnecessarily.