Skip to content

[Feature] AMD NPU: show the NPU models footer in the model picker as a full row - #17507

Merged
danielhanchen merged 4 commits into
unslothai:mainfrom
LeoBorcherding:studio/npu-picker-footer
Nov 14, 2026
Merged

danielhanchen merged 4 commits into
unslothai:mainfrom
LeoBorcherding:studio/npu-picker-footer

Conversation

@LeoBorcherding

@LeoBorcherding LeoBorcherding commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Under the All filter, the model picker ends with an "NPU models · 50 available" row that jumps to the NPU list. It rendered as a thin 12px strip pressed against the panel's rounded bottom edge (pt-2 pb-1.5). It's now a pill row like the model rows above it (text-sm, rounded-full, hover:bg-sidebar-accent, focus ring) inside a padded footer. The 8px top gap is unchanged, so the floating Eject button's offset still holds.

Checked: typecheck clean. Before/after screenshots were taken on a spoofed NPU on a Windows desktop, not real Ryzen AI hardware.

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 9f53700 is part of 945ba98. Light mode, mint theme, glass on, same on both sides.

Before | after: the picker's "NPU models · 50 available" footer is a full-size row with the same hover as the rows above it (hovered on both sides).
17507

Before / after (Linux, Chromium, NPU endpoints stubbed)

Merge base 30f545426 vs head 976964362, two isolated Studio installs, chat model picker opened under the All filter with a 50-model NPU catalog. The footer goes from an 11.25px strip flush to the panel edge to a 13.1px pill row with the model rows' hover fill and 10px of padding below. Its dot and label sit 28px from the panel edge on both sides, level with the model rows' dots and names.

NPU models footer, before and after

Under the All filter, the model picker ended with a thin 12px strip pressed
against the panel's rounded bottom edge. It is now a pill row like the
models above it, with the same hover and focus treatment and room below it.
The 8px gap above it is unchanged, so the floating Eject button keeps its
place.
@LeoBorcherding

Copy link
Copy Markdown
Collaborator Author

Screenshots of this PR's change:

Model picker: "NPU models · 50 available" is a full row at the bottom of the list.

17506-17507-17513-model-picker.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

Copy link
Copy Markdown
Member

@codex review

1 similar comment
@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-13T16:01:59.863920Z 9769643 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. Keep it up!

Reviewed commit: 9769643622

ℹ️ 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 13, 2026
@danielhanchen
danielhanchen merged commit 5ae25f2 into unslothai:main Nov 14, 2026
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