DocsHow-to guides
Run a model on a Windows NPU
Use a Qualcomm, Intel or AMD NPU through Foundry Local, or run GGUF files on an Intel NPU, and know the limits first.
Coming in the next release
Everything on this page is merged into ModelDeck but is not in a published release yet.
A neural processing unit (NPU) is the low-power chip in recent Windows PCs built for running models. ModelDeck can use one in two ways. Both are in the unsigned Windows 1.4.1 beta on the home page, and neither is in a Mac release.
| Way | NPUs | Models | Tested on real hardware |
|---|---|---|---|
| Foundry Local | Qualcomm Snapdragon X, Intel, AMD | Microsoft's ONNX catalog | Qualcomm only |
| llama.cpp OpenVINO build | Intel Core Ultra | Your GGUF files | Not yet |
Neither is the default. Without them, a model runs on the GPU or CPU as described in GPU and NPU acceleration.
Use Foundry Local
Foundry Local is Microsoft's local model runtime, in public preview. It is a separate Microsoft download under Microsoft's license terms, and ModelDeck does not include it. ModelDeck adds it as a fourth engine on Windows: its models load, unload and answer on the same local server as every other model.
1. Install Foundry Local
Open Settings > Providers. On Windows there is a Foundry Local card. ModelDeck shows the exact winget command and runs it only after you confirm. The confirmation says that the command accepts Microsoft's license terms.
To install it yourself, in a terminal:
winget install --id Microsoft.FoundryLocal -e
Expected result
The Foundry Local card reads Ready. Check for Foundry updates on the same card compares your version with the latest release.
2. Download a model
Open Discover and open the Foundry Local catalog section. It appears once Foundry Local is installed. It lists Microsoft's models grouped by model, one row per device, with the NPU row first, and shows each row's size and license. Device narrows the list to NPU, GPU or CPU rows. A row you already have reads Cached. Press Download on an NPU row and confirm the model and its license.
The first time, the catalog can take about a minute to appear while Foundry Local downloads what it needs for your chip.
3. Load it and check where it runs
Load the model like any other, from the model loader or Models. Its id starts with foundry/. There are no load settings to tune: the device is chosen by the row you downloaded.
Expected result
In Server, the model's Runs on row names the device the model was built for, for example NPU · Qualcomm QNN. The first load of an NPU model compiles it and takes longer than later loads.
Limits to know
- The device shown is the one the model was built for. Foundry Local does not report where each request ran.
- On the Qualcomm NPU, a request whose prompt plus
max_tokenscomes to fewer than 64 tokens fails with an HTTP 500. Send amax_tokensof 64 or more. - The memory figure leaves out Foundry Local's own process, so real use is higher than ModelDeck shows.
- ModelDeck starts Foundry Local's background service only if none is running, and stops only the one it started. A service you started yourself is left alone.
- On the one PC it was measured on, a Snapdragon X Elite, a 1.5B model ran at about 4 tokens per second on the NPU. Treat an NPU as a way to save power, not as the fastest choice.
If you see a QNN error on load, such as error 5005
Update the NPU driver through Windows Update or the PC maker's driver package, restart, and try again.
If you see the Foundry Local engine marked Not available after an update
The installed Foundry Local no longer has a command ModelDeck needs; the message names it. Update ModelDeck or Foundry Local from Settings > Providers.
Run a GGUF model on an Intel NPU
llama.cpp has an OpenVINO build that runs the GGUF files you already have on an Intel Core Ultra NPU. ModelDeck offers it as an optional download for the Windows x64 and Linux x64 builds.
This path has been tested with a scripted stand-in for the engine only. It has not been run on a real Intel NPU by the ModelDeck team, and llama.cpp calls the backend a work in progress.
1. Download the NPU backend
Open Settings > Providers and find NPU backends (GGUF). The Intel block names your NPU and offers the download; it is offered only when the PC lists an Intel NPU (on Windows, under Neural processors in Device Manager). Tick the consent box and start it. The download is about 105 MB and unpacks to about 290 MB.
ModelDeck checks the download's size and SHA-256, and checks the files again before each use. If one has changed, the backend is not offered until you remove it and download it again.
2. Load a model on the NPU
Open the model loader (Ctrl+L), choose Settings… on a GGUF model, and set Runs on to Intel NPU. ModelDeck sets the context to 4096 for an NPU load and warns above that. Q4_0 models work best; other quantizations are converted on load.
Expected result
The first load compiles the model and can take minutes. In Server, Runs on reads <NPU name> · N/N layers on NPU. Later loads reuse the compiled model and are faster.
If you see Running on CPU: the NPU backend found no NPU
The backend did not find the device. Install or update the Intel NPU driver.
Limits to know
- The NPU keeps no conversation state between requests, so long prompts are processed again each time.
- Some models fail or lose accuracy on the NPU, and embedding models do not work.
- The memory check counts system memory only for an NPU load.
To go back, set Runs on to Standard. To remove the download, use Remove in NPU backends (GGUF).
Qualcomm's NPU without Foundry Local
There is no supported way. llama.cpp has an experimental Hexagon backend, but on Windows it needs driver files signed in a way that requires putting the PC into a test-signing mode, which lowers its security. ModelDeck does not ship, download or build it. A developer who built it can point ModelDeck at their own engine under NPU backends (GGUF), and that is all.