Skip to content

Release 0.64.0: NPU decode-step export with block-quantized weights, LFM2 - #530

Merged
michalharakal merged 1 commit into
developfrom
release/0.64.0
Nov 6, 2026
Merged

michalharakal merged 1 commit into
developfrom
release/0.64.0

Conversation

@michalharakal

Copy link
Copy Markdown
Contributor

Against engine 0.63.0, which adds block-quantized weights to StableHLO export (SKaiNET-developers/SKaiNET#1478, SKaiNET-developers/SKaiNET#1479) and fixes Unicode Split in the JVM tokenizer (SKaiNET-developers/SKaiNET#1477).

Headline: one decode step of a KV-cache decoder as an NPU graph with block-quantized weights. FunctionGemma 270M's decode step runs on the Torq NPU of an SL2610 in one dispatch: 162 ms per step, against about 610 ms per token on the CPU path, with the same top-1 (#529). Plus the LFM2 model family and its chat frontend (#527).

Added

  • DecodeStepExport (llm-core, jvm):
    • traces a single-token step with a static past;
    • keeps Q8_0 / Q4_0 weights packed for BlockQuantMatmulFusionPass;
    • names every port.
  • forwardEmbeddedWithPast on GemmaModel and DecoderKvModel.
  • llm-inference:lfm2: the dense LFM2 hybrid (short conv + GQA), verified checkpoint loading, and a fixed-shape StableHLO export. Validated against LFM2.5-350M.
  • llm-runtime:klfm2: the LFM2 chat frontend. Pinned metadata, verified chat templates, greedy streaming generation, and an IREE path.

Changed

Release steps

  • Commit: version bump to 0.64.0 (gradle.properties, README, docs BOM snippets, LFM2 README engine line) and the CHANGELOG entry.
  • After merge: tag 0.64.0 on develop.

🤖 Generated with Claude Code

…ngine 0.63.0

Version 0.64.0 in gradle.properties, the README release paragraph and the
BOM snippets in README and docs; the LFM2 README names engine 0.63.0. The
CHANGELOG Unreleased section becomes 0.64.0 with the LFM2 modules (#527),
the engine pin, the llama test tolerance and the dependency updates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@michalharakal
michalharakal merged commit 57a37fb into develop Nov 6, 2026
4 checks passed
@michalharakal
michalharakal deleted the release/0.64.0 branch November 7, 2026 09:48
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