software-mansion / software-mansion/react-native-executorch
Refactor LLM runner to bypass the upstream ET runner
Open
@barhanc is already working on this.
Since Sep 10, 2026.
idea
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 96
- Avg merge
- 20h 51m
- Merged PRs (30d)
- 59
Description
Currently the LLMRunner is a thin wrapper over ET's native runner which is experimental and doesn't support many features that it should (e.g. batched prefill - required for models exported with seqlen < ctxlen, custom sampling strategies, constrained decoding, etc.). The scope of this issue is to reimplement it inside TS using the Model primitive and drive the generation directly from TS.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.