software-mansion / software-mansion/react-native-executorch

Refactor LLM runner to bypass the upstream ET runner

Open
#1,458 0 comments 1 reaction 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.