Repository navigation
lfm3 metal: warm turns - #4585
Merged
Merged
Conversation
ashhart
force-pushed
the
lead/lfm3-metal-warm-turns
branch
from
November 23, 2026 12:35
db49d72 to
5d68a65
Compare
ashhart
force-pushed
the
lead/lfm3-metal-warm-turns
branch
from
November 23, 2026 22:47
5d68a65 to
52a24fb
Compare
ashhart
added a commit
to grantoverton/TensorFold-pr
that referenced
this pull request
Nov 23, 2026
ashhart
added a commit
that referenced
this pull request
Nov 23, 2026
ashhart
added a commit
to wojo/TensorFold
that referenced
this pull request
Nov 23, 2026
ashhart
added a commit
that referenced
this pull request
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Follows #4578 (Llama). LFM3 text on Metal already stores zero-lookahead snapshots of every convolution state and the full KV prefix; this adds the warm gate, decode-span forwarding and replay so a warm turn's outputs equal a fresh run of the full prompt, and re-prefills only from the first token that changed.
Checks
Still to run
An M3 or M5 with an LFM3 checkpoint: an agent tool-loop load, warm vs fresh tokens equal, time to first token per turn.