Skip to content

[Feature] AMD NPU: list FastFlowLM and Lemonade versions under Settings > Engines - #17505

Merged
danielhanchen merged 2 commits into
unslothai:mainfrom
LeoBorcherding:studio/npu-engine-versions
Nov 14, 2026
Merged

danielhanchen merged 2 commits into
unslothai:mainfrom
LeoBorcherding:studio/npu-engine-versions

Conversation

@LeoBorcherding

@LeoBorcherding LeoBorcherding commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Settings > About > Engines listed llama.cpp, whisper.cpp, audio.cpp and MLX, but not the runtimes behind AMD Ryzen AI NPU chat. The section now adds FastFlowLM and Lemonade rows with the versions /api/npu/status already reports (via the existing useNpuStatus hook). They're read-only like MLX and listed only when an AMD NPU is detected and both FastFlowLM and Lemonade are installed; if either is missing, or no AMD NPU is detected, both rows are left out. Labels are added to all 25 locales, derived from each locale's existing MLX label.

Checked: typecheck clean; tests/about-audio-cpp-version.test.ts 8/8, and the new cases fail on main's source.

Screenshots

NPU spoofed: fake Lemonade/FastFlowLM on a Windows 11 PC with no NPU; no speed numbers. Before | after: fork phase stack, phase 4 49a3094 | phase 5 db8d450. This PR's head 038b1c1 is part of db8d450. Light mode, mint theme, glass on, same on both sides.

Before | after: Settings > Engines lists FastFlowLM v1.0.12 and Lemonade v2026.44.1.
17505

Before / after (merge base vs head, Linux)

Merge base f9c20c0 vs head f46e0ed, two fresh Studio installs, Settings > About > Engines. /api/npu/status is answered in the browser with the same payload on both sides (this host has no NPU).

AMD NPU detected, FastFlowLM 1.0.12 and Lemonade 2026.44.1 installed: only the head adds both rows; llama.cpp, whisper.cpp and audio.cpp are unchanged.

NPU detected, both installed

AMD NPU detected, only Lemonade installed: no NPU rows on either side.

NPU detected, only Lemonade

Both installed, no AMD NPU detected: no NPU rows on either side.

No NPU detected

…machines

Engines named llama.cpp, whisper.cpp, audio.cpp and MLX, but not the runtimes
behind AMD Ryzen AI NPU chat. The section now shows FastFlowLM and Lemonade
with the versions /api/npu/status already reports, only where the NPU runtime
is installed, read-only like MLX. Labels added to every locale.
@LeoBorcherding

Copy link
Copy Markdown
Collaborator Author

Screenshots of this PR's change:

Settings > System > Engines lists FastFlowLM v1.0.12 and Lemonade v2026.44.1 next to llama.cpp, whisper.cpp and audio.cpp.

17505-settings-engines.png
Taken on Windows 11 (Ryzen 9 9950X + 2x R9700, no NPU) with a spoofed NPU: a fake Lemonade 2026.44.1 + FastFlowLM 1.0.12 that answers Unsloth Studio's API, running the stacked branch #17519 at e8d25a4. It shows the UI; it is not a run on a Ryzen AI NPU.

@danielhanchen danielhanchen self-assigned this Nov 13, 2026
danielhanchen pushed a commit to danielhanchen/unsloth-staging-2 that referenced this pull request Nov 13, 2026
@danielhanchen

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T09:03:18.798864Z f46e0ed Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 038b1c1cf6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danielhanchen

Copy link
Copy Markdown
Member

@codex review

1 similar comment
@danielhanchen

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: f46e0ed03e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

danielhanchen pushed a commit to danielhanchen/unsloth-staging-2 that referenced this pull request Nov 14, 2026
danielhanchen pushed a commit to danielhanchen/unsloth-staging-2 that referenced this pull request Nov 14, 2026
danielhanchen pushed a commit to danielhanchen/unsloth-staging-2 that referenced this pull request Nov 14, 2026
@danielhanchen
danielhanchen merged commit d705065 into unslothai:main Nov 14, 2026
danielhanchen added a commit to LeoBorcherding/unsloth that referenced this pull request Nov 14, 2026
…he model picker and Hub (unslothai#17506)

The "FastFlowLM v1.0.12 · Lemonade v2026.44.1" line under the NPU list
in the model picker and in the Hub's NPU catalog is removed. The
versions now live in Settings > Engines (unslothai#17505). `NpuRuntimeVersions`
and `npuRuntimeLabel` had no other users, so they and their test are
deleted.

Tested: frontend typecheck and the NPU node tests (37 pass) on Windows
11, no NPU. Nothing was launched.

## Screenshots

NPU spoofed: fake Lemonade/FastFlowLM on a Windows 11 PC with no NPU; no
speed numbers. Before | after: fork phase stack, phase 1 `ac3e06e` |
phase 2 `945ba98`. This PR's head `9de1543` is part of `945ba98`. Light
mode, mint theme, glass on, same on both sides.

Before | after: the "FastFlowLM v1.0.12 · Lemonade v2026.44.1" line is
gone from the picker's NPU list.

![17506](https://raw.githubusercontent.com/LeoBorcherding/unsloth/213eeb5869056aa16d7170b41f6949f57ee3517a/npu-phases/phase-2/17506-picker-version-line.png)

Before | after: and from the bottom of the Hub's NPU list.

![17506](https://raw.githubusercontent.com/LeoBorcherding/unsloth/213eeb5869056aa16d7170b41f6949f57ee3517a/npu-phases/phase-2/17506-hub-version-line.png)

Also checked by building Unsloth Studio from this PR's merge base (left)
and head (right), on the same spoofed AMD NPU:

Model Hub, format NPU, list bottom: the runtime version line under the
NPU list is gone; the catalog order is otherwise unchanged.

![Before and
after](https://raw.githubusercontent.com/danielhanchen/unsloth-staging-2/pr-media/pr/17506/pr17506_before_after-0fca090b8e0c.png)

---------

Co-authored-by: Daniel Han <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants