Skip to content
, , ,

Unsloth Desktop Now Runs Local LLMs on AMD Ryzen AI NPUs: Setup Guide

10–15 minutes
Woman in a home lab holding a tablet with an UNSLOTH card, hook 17.2 tokens/s on a Ryzen NPU

Unsloth Desktop can now run local LLMs on the NPU inside AMD Ryzen AI laptops and mini PCs. AMD and Unsloth announced it on 19 November 2026, and it works on both Windows 11 and Linux.

That matters because the NPU has mostly sat idle on AI PCs. Now it can serve a chat model through an OpenAI-compatible API, while your GPU and CPU stay free for other work.

In this guide I explain which chips work, how to turn it on, which models you can load, and what speeds the official docs list.

TLDR

  • What: Unsloth Desktop added AMD NPU support in v0.1.920-beta (19 Nov 2026).
  • Chips: Ryzen AI 300, Ryzen AI Max and Ryzen AI 400 with an XDNA 2 NPU.
  • How: Model picker, filter to NPU, click Enable NPU, download a model.
  • Engine: Unsloth runs its own copies of AMD’s Lemonade and FastFlowLM.
  • Models: Six Q4NX models at launch, from LFM3 1.7B to Qwen3.6 35B A3B.
  • Cost: Unsloth Desktop is free and open source.

What AMD and Unsloth Announced

On 19 November 2026, AMD posted a newsroom release and a blog called “AMD x Unsloth: Unlocking the World’s First NPU for Unsloth Desktop”. AMD says XDNA 2 NPUs are the first NPUs the app supports.

The same day, Unsloth shipped v0.1.920-beta. Its changelog lists “AMD NPU support” and notes that converted Q4NX models now load on the NPU.

Here are the main points from the official posts:

  • Local inference on the NPU: supported models run on the Ryzen AI NPU instead of the GPU or CPU.
  • OpenAI-compatible API: other apps send requests to the Unsloth Desktop API.
  • 100+ apps: AMD says more than 100 agentic apps and workflows are compatible.
  • Named apps: Hermes Agent, OpenClaw, Open WebUI, Cline, LangChain, GitHub Copilot and VS Code are named across the AMD posts.
  • Battery and free compute: AMD says the offload can help preserve battery life and frees the CPU and GPU, “memory permitting”.

Note: Phoronix reported that AMD confirmed the NPU support also works in the Linux builds of Unsloth Desktop. The Unsloth docs list both Windows 11 and Linux x64.

Which Laptops and Chips Are Supported

You need an AMD processor with an XDNA 2 (or newer) NPU. Older Ryzen chips with the first XDNA NPU are not on the list.

Chip family Code names Supported
Ryzen AI 300 series Strix Point, Krackan Point Yes
Ryzen AI Max series Strix Halo Yes
Ryzen AI 400 series Gorgon Point Yes
Future AMD chips with an integrated NPU Not named Expected to work, per Unsloth
Older Ryzen 7040 / 8040 (first-gen XDNA) Phoenix, Hawk Point Not listed

So any laptop or mini PC built on those chips should qualify. That includes Strix Halo machines.

How much RAM you need

The NPU shares system memory, so RAM is the real limit. Unsloth’s recommended RAM ranges from 16 GB for small models up to 64 GB for Qwen3.6 35B A3B.

AMD’s blog gives a clear example. Qwen 3.6 35B A3B at full context needs around 28 GB available to the NPU. With Windows’ default 50% shared memory split, that means a 64 GB system.

How It Works: Lemonade, FastFlowLM and Q4NX

Unsloth does not talk to the NPU directly. It uses two AMD open-source projects under the hood.

  • Lemonade: AMD’s open-source local AI server. It exposes models through an OpenAI-style API and supports llama.cpp, Ryzen AI and FastFlowLM backends.
  • FastFlowLM (FLM): an NPU-first runtime for Ryzen AI NPUs. The FastFlowLM team joined AMD in July 2026, and the project now lives in AMD’s ROCm GitHub organisation.
  • Q4NX: the quantised model format FastFlowLM runs on the NPU. Normal GGUF files must be converted to Q4NX first.

The flow is simple. Your app calls the Unsloth Desktop API, and Lemonade plus FastFlowLM handle serving and inference on the NPU.

Tip: You do not need to install Lemonade or FastFlowLM yourself. Unsloth manages its own copies with pinned versions checked by SHA-256 checksums.

How to Enable the NPU in Unsloth Desktop

The steps below follow the official Unsloth NPU guide and AMD’s blog. They are the same on Windows and Linux, apart from the Linux driver needs covered later.

  1. Install Unsloth Desktop. Download it from unsloth.ai/download for Windows or Linux. You can also use the Unsloth Web UI in a browser.
  2. Open the model picker. On a supported PC, an NPU section appears in the model picker and the Model hub.
  3. Filter to NPU. Open the filter and choose NPU from the dropdown.
  4. Click Enable NPU. This one-time step downloads FastFlowLM and checks your driver version. If a driver, firmware, kernel or memlock setting is missing, Unsloth tells you and links to the driver page.
  5. Download an NPU model. Pick one that fits your RAM. AMD notes the progress bar may look stuck on big models, but the download is still running.
  6. Load the model. Go back to New Chat, choose the NPU section in the model dropdown, and load the model with your chosen context.
  7. Chat. Type a prompt. Unsloth shows the speed in tokens per second so you can see the NPU working.

Warning: Close other heavy apps before loading a large model. The NPU uses shared system RAM, and Auto context is sized to the free RAM at load time.

Supported NPU Models and Speeds

At launch, Unsloth lists six FastFlowLM models in Q4NX format. The speed and time-to-first-token (TTFT) figures come from Unsloth’s own docs, not my tests.

Model Size Capabilities Recommended RAM Tokens/s TTFT
Qwen3.6-35B-A3B-NPU2 20.6 GB Vision, reasoning, tools 64 GB 17.2 3.13 s
Qwen3.8-27B-NPU2 (MTP) 18.1 GB Vision, reasoning, tools 48 GB 2.0 3.80 s
Gemma4-12B-IT-NPU2 8.7 GB Vision, audio, reasoning, tools 32 GB 6.8 1.70 s
Qwen3.5-9B-NPU2 7.6 GB Vision, reasoning, tools 32 GB 9.5 1.11 s
Qwen3-VL-4B-Instruct-NPU2 3.9 GB Vision, tools 16 GB 20.5 1.05 s
LFM3-1.7B-NPU2 1.5 GB Reasoning, tools 16 GB 40.7 0.12 s

Which model to pick

  • 16 GB laptop: start with LFM3 1.7B for speed, or Qwen3-VL 4B if you need image input.
  • 32 GB laptop: Qwen3.5 9B is the best balance. Gemma4 12B adds audio input.
  • 64 GB or Strix Halo: Qwen3.6 35B A3B. It is a mixture-of-experts model, so it is much faster than the dense 27B.

Unsloth says the list grows as FastFlowLM and the Q4NX converter add models. If you run models on a GPU too, my Qwen3.8 27B on a 16 GB GPU guide covers the GGUF side.

NPU Model Settings Explained

Each NPU model has a gear icon with four settings. Changes apply on the next load, or right away if you click Reload model.

  • Context length: defaults to Auto, which sizes the context to your free RAM at load time.
  • Power mode: Power saver, Balanced, Performance (the FastFlowLM default) or Turbo.
  • Prefill chunk length: how many prompt tokens are read per pass. The default is 4096 for most models. It changes speed on long prompts, not the maximum prompt length.
  • Image pre-resize: vision models only. Choose original size or a 480p to 1440p resize.

Tip: On battery, try Balanced or Power saver. Use Turbo when plugged in and you want the fastest replies.

Use the NPU From the Terminal and the API

You can skip the app window and serve an NPU model from the terminal. The official docs show this command:

unsloth run --model Qwen3.6-35B-A3B-NPU2 --context-length 16384

The output prints the base URL and an API key. To chat in the terminal with a loaded model, run:

unsloth chat Qwen3.6-35B-A3B-NPU2

Useful flags

Flag Command What it does
--model unsloth run NPU model to load
--context-length unsloth run Total tokens for prompt, history and reply
--max-new-tokens unsloth chat Maximum tokens per reply
--system-prompt unsloth chat Instructions used for the whole chat

Connect other apps

NPU chat models use the OpenAI-compatible /v1/chat/completions endpoint. The docs also list an Anthropic-compatible /v1/messages endpoint.

That means tools like Open WebUI, Cline or a LangChain script can point at the base URL that unsloth run prints. Here is a minimal Python example with the OpenAI SDK:

from openai import OpenAI

client = OpenAI(
    base_url="PASTE_BASE_URL_FROM_UNSLOTH_RUN/v1",
    api_key="PASTE_KEY_FROM_UNSLOTH_RUN",
)

reply = client.chat.completions.create(
    model="Qwen3.6-35B-A3B-NPU2",
    messages=[{"role": "user", "content": "Explain what an NPU is in two lines."}],
)
print(reply.choices[0].message.content)

The Unsloth Desktop docs also show unsloth start claude to connect Claude Code. For more on the coding side, see my Claude Code VS Code extension guide.

Note: The managed server only accepts local connections and makes a new auth key every time it starts. Copy the fresh key after each restart.

NPU vs iGPU vs GPU: When to Use Each

Unsloth’s FAQ is clear that the NPU does not replace your GPU. It is a separate engine you can add to the mix.

Engine Best for Model format in Unsloth Trade-off
NPU (XDNA 2) Always-on assistants, agents in the background, battery use Q4NX only Smaller model list; speed depends on model
Integrated GPU (Radeon) General local chat with any GGUF GGUF Shares the same RAM and uses more power
Discrete GPU Largest models, fine-tuning, fastest output GGUF and training formats Highest power draw; not on most thin laptops
CPU Fallback and Q4NX conversion GGUF Slowest for chat

A smart setup is to run a chat or agent model on the NPU, and keep the GPU free for image generation or games. For other local runners, see my best Ollama models list and the LocalAI guide.

Linux Requirements

Linux x64 works, but it needs a few extra pieces. Unsloth’s NPU docs list these:

  • Kernel driver: Linux kernel 7.0 or newer with the amdxdna driver, or an older kernel with the amdxdna-dkms package.
  • Firmware: updated NPU firmware.
  • Memory lock: an unlimited memlock setting for your user.

On Windows, FastFlowLM’s README asks for AMD NPU driver 32.0.203.311 or later. The Enable NPU check in Unsloth tells you if your driver is too old.

Limits to Know Before You Start

  • Beta software: Unsloth Desktop is still labelled Beta.
  • No raw GGUF on the NPU: you must convert GGUF to Q4NX first. Conversion runs on the CPU from the Export page, and converted models appear under “Trained”.
  • RAM bound: big models need 48 GB to 64 GB of system RAM.
  • Speeds vary a lot: the dense Qwen3.8 27B is listed at only 2.0 tokens/s, while the 35B MoE model hits 17.2.
  • AMD only for now: AMD XDNA 2 NPUs are the first and only NPUs listed for this release.

To turn NPU features off completely, set UNSLOTH_STUDIO_ENABLE_NPU=0 before launching Unsloth. That hides the NPU section and stops the runtime from starting.

My Take

This is one of the first times a popular local LLM app has made the Ryzen AI NPU genuinely useful. A one-click Enable NPU button removes the driver and runtime pain that kept most people away.

The headline model for me is Qwen3.6 35B A3B at a listed 17.2 tokens/s. That is a real assistant, but it needs a 64 GB machine. Most 16 GB and 32 GB laptops will live with the 1.7B to 12B models.

If you already own a Ryzen AI 300, 400 or Max laptop, it costs nothing to try. If you are buying one for local AI, RAM matters more than the chip tier.

Troubleshooting: Common Problems and Fixes

  • No NPU section in the model picker: confirm your chip has an XDNA 2 NPU and you are on Windows 11 or Linux x64. Check that UNSLOTH_STUDIO_ENABLE_NPU is not set to 0.
  • Enable NPU fails: read the message Unsloth shows. It flags a missing driver, firmware, kernel or memlock setting and links to the driver page.
  • Old Windows driver: update the AMD NPU driver to 32.0.203.311 or later, then click Enable NPU again.
  • Linux driver missing: use kernel 7.0+ with amdxdna, or install amdxdna-dkms. Update the NPU firmware and set memlock to unlimited, then log out and back in.
  • Download looks stuck: AMD says the progress can look frozen on large models while it is still downloading. Give it time.
  • Model fails to load or context is tiny: close other apps to free RAM, pick a smaller model, or lower the context length in the gear menu.
  • Settings did not change anything: settings apply on the next load. Click Reload model.
  • App can’t connect to the API: copy the new base URL and key from unsloth run. The key changes on each start, and only local connections are accepted.

Frequently Asked Questions

When did Unsloth Desktop add AMD NPU support?

AMD and Unsloth announced it on 19 November 2026. It shipped in Unsloth v0.1.920-beta the same day.

Which AMD chips work with Unsloth NPU inference?

Ryzen AI 300 (Strix Point, Krackan Point), Ryzen AI Max (Strix Halo) and Ryzen AI 400 (Gorgon Point). You need an XDNA 2 or newer NPU.

Does it work on Linux?

Yes. Linux x64 is supported with kernel 7.0+ and the amdxdna driver (or amdxdna-dkms on older kernels), updated firmware and unlimited memlock.

Can I load any GGUF model on the NPU?

No. The NPU runs FastFlowLM Q4NX models. You can convert supported GGUF models to Q4NX on the Export page.

Does the NPU replace my GPU?

No. It is a separate AI engine, so running a model there leaves your GPU free for other work.

Is Unsloth Desktop free?

Yes. Unsloth Desktop is free and open source, and it is currently in Beta.

Can other apps use the NPU model?

Yes. Run unsloth run and point apps at the OpenAI-compatible /v1/chat/completions endpoint with the printed base URL and key.

Sources

Free weekly email

Get new AI guides every week

One short weekly email with our newest local AI, ComfyUI and AI tool guides. No spam, no pop-ups, just the good stuff.

Free. Unsubscribe anytime in one click. We only use your email to send this newsletter. See our privacy policy.

Woman in a home lab holding a tablet with an UNSLOTH card, hook 17.2 tokens/s on a Ryzen NPU