Skip to content

research: LFM3 on a Snapdragon 8 Elite Gen 5 - #24

Merged
alpharomercoma merged 1 commit into
mainfrom
lfm3-phone
Oct 31, 2026
Merged

alpharomercoma merged 1 commit into
mainfrom
lfm3-phone

Conversation

@alpharomercoma

@alpharomercoma alpharomercoma commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

These are on-device results for the LFM3 files published in #23, taken from the published files on a Qualcomm Device Cloud SM8850 (Android 16) with ExecuTorch's llama_main for arm64. The raw lines are in docs/research/evidence/lfm3-sm8850-llama_main.txt.

  • Chat (2k): reasons, then answers "Paris". 43 tok/s decode, 1.87 GB resident.
  • App-shaped prompts with tools (2k): emits <tool_call> in LFM3's XML format for the search question, and answers the quiet question without a call.
  • Base model (2k): continues "The capital of France is" with " Paris.", decoding at 42.9 tok/s.
  • Long context (32k): a 5,870-token prompt goes through in 2,047-token chunks, so the ring wraps twice. The model recalls the code from the first line, with prefill at 307 tok/s and 2.62 GB resident.
  • Stock runner on the 32k test: it fails with the resize error, because of the upstream prefill-chunk bound bug that affects every export_llm file from 1.1.0 to 1.5.1. That test needed the runner change that prefills in chunks of the forward bound.

🤖 Generated with Claude Code


View with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is enabled.

…ompletion and a 5,870-token recall at 32k

Run through ExecuTorch's llama_main on a Qualcomm Device Cloud SM8850, on the files as
published. The 32k recall crosses three prefill chunks, so the sliding-window ring wraps
on the device; it needs a runner that chunks by the forward bound, which is the upstream
prefill bug every export_llm file has, not an LFM3 fault.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alpharomercoma
alpharomercoma merged commit 5540014 into main Oct 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant