Local AI Model Loads but Runs on the CPU While the GPU Sits Idle? num_gpu Layers, ollama ps PROCESSOR & Speed Comparison Diagnosis Guide

Key takeaway
A model that answers slowly from the very first question, with ollama ps showing 100% CPU, is not failing to find the GPU — its layers were assigned to the CPU. This guide explains per-layer offload, the num_gpu setting in its three places, and three tests that separate a locked setting from a model that simply does not fit.
What this pattern actually looks like
This guide only applies when three shapes are present together. If any one of them is missing, the fault belongs to a different diagnosis path, and following the steps below will lead in the wrong direction.
The first shape is that the model answers, but slowly. There is no error message, no `CUDA out of memory`, and no `No CUDA device found`. The model loads normally and answers normally, only slowly. Games run normally, `nvidia-smi` sees the card, and nothing at the driver level looks wrong. The slowness is the only symptom, and it is there from the start.
The second shape is that `ollama ps` says the model is running on the CPU. The model appears in the loaded list — so this is not the unloading problem, where the model disappears from the list altogether — but the PROCESSOR column shows `100% CPU`, or a split such as `48%/52% CPU/GPU`, instead of `100% GPU`. The column is the direct statement of where the model is running, and it disagrees with what the user expected.
The third shape is that the slowness follows the layer count, not the clock. Asking again after a few minutes does not make it slower, and switching to a different model does not fix it. The slowness was there from the very first question. That timing matters, because it separates this pattern from the lifecycle pattern, where a model is fast just after a question and only becomes slow after several minutes of silence.
These three shapes have to be separated because the tests for each are different. A model that is only slow after a few idle minutes belongs to the lifecycle path, where the server unloads it on its five-minute timer. A run that reports `CUDA out of memory` belongs to the PyTorch caching allocator path, or to the vLLM engine budget and preemption path, or to the Ollama and llama.cpp out-of-memory path itself. A model that cannot fit on a card at all, or a question asked before buying a card, belongs to capacity planning. A framework reporting that no CUDA device was found belongs to device detection. A GPU that cannot be found inside Docker at all belongs to the container runtime path, where the server has no device yet because the container was started without GPU access. A game reporting that it is out of video memory while memory is not full belongs to a game or engine allocator, not to an Ollama server.
The boundary that matters most for this guide is the one between "the software cannot find the card" and "the software found the card and decided to run on the CPU anyway". This guide is about the second case. The card is detected, the model loads, the server is running, and yet the work is done on the CPU. Nothing has failed in the ordinary sense. A setting, or a capacity decision, has assigned the model's layers to the CPU, and the model is following that assignment. The work of this guide is not to make the software find the card — that work is already done — but to find out which layer of the assignment made that decision, and whether it was a setting that can be removed or a model that genuinely does not fit.
Why a model runs on the CPU: offload is decided layer by layer
A local AI model in GGUF format, run through Ollama or llama.cpp, is a stack of transformer layers. Each layer's weights, together with that layer's share of the KV cache, run together. A single layer cannot be split in half, with one half on the GPU and the other half on the CPU. Offload is decided one layer at a time, and five published sources agree on this point. That single fact explains almost everything in this guide, including why the symptoms look the way they do and why the obvious fixes do not work.
The first rule is that the default is automatic fill. When Ollama starts llama.cpp, the context size (`num_ctx`) is fixed and the layer count is not capped, and llama.cpp places as many layers as fit into graphics memory onto the GPU, leaving the rest on the CPU to run in system memory. It reserves 1,024 MiB of free space, and for a model with a visual projector it reserves the projector size plus 1 GiB. It does not shrink the context window in order to fit a few more layers. The scheduler fills what fits, and the rest stays on the CPU. There is no error, no warning, and no visible change in behaviour apart from speed: the model simply runs partly on the CPU.
The second rule is that the PROCESSOR column is the answer. `ollama ps` lists the models that are currently loaded, and its PROCESSOR column states the result directly: `100% GPU` means the whole model is in graphics memory; `100% CPU` means not a single layer is on the GPU; a split such as `48%/52% CPU/GPU` means part of the model is running in system memory on the CPU. In a split, the first number is the CPU share and the second is the GPU share. The Ollama official FAQ states that `100% GPU` means the model is fully loaded onto the GPU, as quoted by two independent guides. The column is not an estimate, a guess, or a load average. It is the server reporting where the model's layers actually are.
The third rule is that `num_gpu` is a layer-count cap, not an on-off switch. `num_gpu` is the number of layers Ollama sends to the GPU. By default it is automatic. A value of `0` means CPU only: Ollama does not give that model the GPU at all. Any other number is an upper limit that caps how many layers may go to the GPU. The setting can be made in three places, and any one of them can lock the model onto the CPU: the Modelfile, as `PARAMETER num_gpu`, which can be inspected with `ollama show --modelfile`; an API request, as `options.num_gpu`; and a client control, where a client application exposes the setting and sends it with its requests. The most treacherous of the three is the client default: opening the `num_gpu` control in Open WebUI version 0.13.3 pre-fills it with 0, so a user who believes they have only switched a control on has in fact locked the model to the CPU. The server log gives corroborating evidence: the `starting llama-server` line states how many layers follow `-ngl`, and the `offloaded N/M layers to GPU` line states how many layers actually went to the GPU. When the two numbers are equal, all layers are on the GPU. When `-ngl` is 0, somebody set the value to 0.
The fourth rule is that partial offload is not proportionally fast. GPU layers run fast and CPU layers run slowly, and the two sides take turns doing the work, so the slowest part sets the speed. A measured example makes the point concrete. In a test published on 9 November 2026, using Ollama 0.40.15 on Windows 11 Pro with an RTX 2060 SUPER with 8GB of memory and a 4,096-token context, the phi4-mini model ran at 101.7 tokens per second with the whole model on the GPU, 34.4 tokens per second with 12 of its 33 layers on the GPU, and 22.5 tokens per second with the whole model on the CPU. Half the layers on the GPU did not give half the full-GPU speed; it gave a speed close to the all-CPU speed. The same test found gemma4:e4b at 93.9 tokens per second fully on the GPU and 32.9 tokens per second fully on the CPU. A second, independent source reaches the same conclusion from the bandwidth between the GPU and the CPU: even a small CPU share can dominate decoding time, because the two sides must hand work back and forth, and silent partial offload can slow decoding several-fold with no error at all. That is why a split PROCESSOR value is a serious finding even when the GPU share looks large: the CPU share, not the GPU share, is usually what the user feels.
The fifth rule is that setting `num_gpu` higher does not force a model to fit. Setting it equal to or higher than the model's total layer count does not make a model that does not fit suddenly fit. llama.cpp no longer adjusts automatically in that case; loading fails directly, or Ollama retries once with a smaller context window. The correct direction is the opposite: remove the setting, let the scheduler decide automatically, and then make the model fit by shrinking the context, using a smaller quantisation, or using a smaller model. Raising the cap is not a way to squeeze a large model onto a small card, and treating it as one wastes time and produces a failure that looks like a new problem.
Taken together, these rules define the central distinction of this guide: running on the CPU is not a detection failure, it is an offload decision. The model loads, the device is recognised, and only the layer assignment says the model runs on the CPU. The diagnosis that follows is therefore not "make the software find the card" but "find which setting, or which capacity limit, locked the layer count" — the Modelfile, the request, the client, or a model plus context that genuinely does not fit.
The five suspect layers
A model that loads but runs on the CPU has five possible layers. Only the first three are the main subject of this guide; the other two must be separated out before any conclusion is drawn, because their fixes are different and their tests belong to other guides.
Layer 1: The observation layer — the PROCESSOR column states which shape this is
After a model loads, `ollama ps` shows its PROCESSOR column: `100% CPU`, a split, or `100% GPU`. The three values point to three different paths. `100% CPU` points to Layer 2, the setting lock. A split points to Layer 4, the capacity question of whether the model fits. `100% GPU` with the model still slow leaves this guide altogether, and points to the lifecycle timer or parallel queue, or to a rendering load problem. The evidence is T1. No other guide in this series has used the PROCESSOR column as a test: the lifecycle guide (#555) mentions the column name once in its mechanism section and uses `ollama ps` only to read the UNTIL column and to see whether the model is still listed. Mentioning a column is not the same as using it as a test.
Layer 2: The setting layer — num_gpu is locked at one of three places
`num_gpu` can be set in the Modelfile, in an API request, or by a client, and a value of `0` in any one of those places puts the whole model on the CPU for its entire run, while a small number caps the layer count. The client default is the most easily missed, because opening the control in Open WebUI 0.13.3 pre-fills 0, and the user may never have typed a number at all. The separation is made by T2, which checks the three places one at a time and reloads the model after each change.
Layer 3: The speed layer — the gradient between layer count and speed
With the same model, the same question, and the same context, the speed does not rise in a straight line as layers move from 0 to partial to all. At partial offload it sits close to the CPU speed. That gradient is itself evidence: if speed follows the layer count, the slowness is caused by offload, not by the model being inherently slow, not by a large context, and not by a busy server. The separation is made by T3.
Layer 4: The capacity layer — the model plus its context does not fit in graphics memory (boundary layer, not the main subject)
The model itself is large, the context window is large, the KV cache takes up a large amount of memory, or several models together do not fit, so the scheduler can only place part of the layers on the GPU and leaves the rest on the CPU. The diagnosis for this layer — a smaller model stays loaded while a larger one is evicted, and shrinking `num_ctx` changes the result — belongs to the lifecycle guide (#555)'s capacity test and to the capacity planning guide (#179), and this guide does not rewrite it. When T1 shows a split, this layer is the next step, and this guide hands the reader over to it rather than repeating it.
Layer 5: The detection layer — the server cannot find the GPU at all (boundary layer, not this guide)
The server log's `inference compute` line reports the CPU library, the driver is too old, `CUDA_VISIBLE_DEVICES` hides the GPU, or a Docker container was started without GPU access. All of these are "the device cannot be found", and they belong to the device detection guide (#407) and the container guide (#554). The premise of this guide is the opposite: the log shows the GPU, the PROCESSOR column has a value to read, and the detection layer is entirely normal. The auxiliary observation below uses the log line only to confirm that premise; it is not one of the three decisive tests.
Three decisive tests
Each of these tests answers a different question, and none of them overlaps with the tests for other shapes. Run them in order, change one thing at a time, and write down the result of each step before moving on. Changing several settings at once destroys the diagnosis, because it becomes impossible to tell which change mattered.
T1: The ollama ps PROCESSOR column comparison — while the model is loaded, read whether it runs on the CPU or the GPU
Open one terminal and ask the model a question, so that it loads. Open a second terminal and run `ollama ps`, and write down the PROCESSOR column. Do this while the model is loaded, not after it has been unloaded, or the list will be empty and the reading will mean nothing.
If the column shows `100% CPU`, the CPU-running layer is confirmed: go to T2 to find which setting locked it there. If it shows a split, for example `48%/52% CPU/GPU`, the model is partly offloaded: go to the capacity layer, following the lifecycle guide (#555)'s capacity test or the planning guide (#179), to see whether the model plus its context fits. If it shows `100% GPU`, this guide does not apply: the slowness is not in offload, and the diagnosis should move to the lifecycle timer and parallel layers, or to a rendering load problem.
This test is new because no other guide in this series reads the PROCESSOR column as a diagnosis. The lifecycle guide (#555)'s use of `ollama ps` reads the UNTIL column — how long until the model is unloaded — and whether the model is still listed at all. Its result variable is "does the model stay loaded". This test's result variable is "where does the model run", a different column and a different fork. The device detection guide (#407)'s device list comparison reads the compute device lists of desktop applications such as Blender and Premiere, not the state of an Ollama server. The lifecycle guide (#555) mentions the PROCESSOR column once, by name, in its mechanism section; it never uses it as a test, and a mention is not coverage.
T2: The num_gpu setting-location comparison — check the three places one at a time to see which one locked the layer count
Take the same model and check the three places in order. First, run `ollama show --modelfile <model>` and look for a `PARAMETER num_gpu` line in the Modelfile. Second, look at the API request that is actually being sent and see whether it carries `options.num_gpu`. Third, look at the client — for example the advanced parameters in Open WebUI — and see whether the `num_gpu` control has been opened; in version 0.13.3 it pre-fills 0 when opened, so an untouched-looking control can already be the cause.
Remove the setting at one place, reload the model, and run T1 again to see whether the PROCESSOR column changes. Repeat for each place, one at a time. If removing the setting at one place changes the column from `100% CPU` back to `100% GPU`, or to a split, that place is the cause. If all three places are clean and the column still shows `100% CPU`, the problem is not in the setting layer: move to Layer 4, capacity, or Layer 5, detection.
As supporting evidence, read the server log's `starting llama-server` line and look at the number after `-ngl`: `-ngl 0` means somebody set the value to 0, and the number there should agree with what the three places say. The log line is corroboration, not a replacement for checking the three places, because the log shows the result while the three places show where the result came from.
This test is new because no other guide in this series mentions `num_gpu` or `n_gpu_layers` at all, in either language, and none of them teaches checking three setting locations one at a time. The lifecycle guide's setting-location comparison concerns `keep_alive` — a timer, not a layer count — and its result variable is the UNTIL column, not the PROCESSOR column or the `-ngl` line, so it is a different test about a different mechanism. The PyTorch guide (#552)'s expandable segments switch belongs to the PyTorch allocator, and the vLLM guide (#553)'s utilisation setting is an engine budget fraction; neither is a layer-count cap.
T3: The layer-count to speed gradient comparison — the same model, the same question, with the layer count set to 0, to part, and to all, measuring tokens per second
Take the same model, the same question, and the same context, and use `num_gpu` to set the layer count to 0 for all-CPU, to a partial value such as one third of the total layer count, and to all layers, using 999 or the total layer count. Each time, record the tokens per second: either the eval rate that Ollama reports in its output, or the output token count divided by the timed duration. Keep everything else fixed, so that the layer count is the only thing changing.
If the three numbers form a gradient, and the partial-offload number sits close to the CPU speed rather than halfway to the full-GPU speed — for example the published measurement of 101.7 tokens per second fully on the GPU, 34.4 with 12 of 33 layers on the GPU, and 22.5 fully on the CPU — then speed follows the layer count, and the slowness is caused by offload, not by the model being inherently slow. If the three numbers are nearly the same, the problem is not in the layer count: leave this guide and follow the lifecycle guide (#555)'s parallel layer or a rendering load problem instead.
This test is a diagnosis, not a long-term setting. Setting `num_gpu` to 0 deliberately is a way to measure the all-CPU end of the gradient; it is not a configuration to keep. Once the gradient is established, the setting should be removed so the scheduler can decide automatically, and the real fix — removing a lock, or making the model fit — should be applied on top of that.
This test is new because no other guide in this series teaches measuring speed against a layer-count gradient. The lifecycle guide's capacity test varies model size and `num_ctx`, and its result variable is whether the model stays loaded after six minutes; its variables never change the PROCESSOR column. This test varies the layer count, and its variables never change the UNTIL column. The two tests measure two different physical quantities. The planning guide (#179) discusses offload as arithmetic done before buying a card, not as a running speed diagnosis, and the game frame-time graph in another guide measures game frame rate, not token speed.
Auxiliary observation, not counted among the three tests: the server log's inference compute line
Read the server log's `inference compute` line. With a GPU present it records the CUDA library together with the card name and compute capability; without a GPU it records the CPU identifier and the CPU library. This line is used only to confirm the premise that the detection layer is normal. It is deliberately not counted as a decisive test, because it cannot separate the layers inside this guide: it tells the reader the server can see a GPU, and nothing about how many layers were assigned to it.
Two measurements are deliberately not used here, and the omission is intentional. A Task Manager CPU and GPU utilisation comparison is not used, because it is the device detection guide (#407)'s test for its third shape — "the CPU is fully loaded and the GPU is completely idle" — and this guide keeps its boundary with that guide clean. There is also a substantive reason: Task Manager's default graph shows 3D drawing load, not AI compute, and a GPU running Ollama can still show only 1% on that graph, so the reading misleads. Model size versus graphics memory, and quantisation, are also deliberately not counted, because those are the lifecycle guide (#555)'s capacity test variables, not this guide's.
Seven-step diagnosis flow
- Define the shape. Decide which of the three shapes is present: running on the CPU, with the PROCESSOR column showing `100% CPU`; partial offload, with a split; or `100% GPU` but still slow, which leaves this guide. Record the baseline: the model name and size, the total layer count, the `num_ctx` setting, the Ollama version, and the PROCESSOR column from `ollama ps`.
- State comparison. While the model is loaded, run `ollama ps` and read the PROCESSOR column, as in T1. At the same time, read the log's `inference compute` line to confirm that the server can see the GPU, as in the auxiliary observation.
- Setting-location comparison. Check the Modelfile, then the API request, then the client, for `num_gpu`, as in T2. Remove the setting at one place at a time, reload the model, and run T1 again after each change to see whether the PROCESSOR column moves. Use the log's `-ngl` line as supporting evidence.
- Speed gradient comparison. Set `num_gpu` to 0, to a partial count, and to all layers, and measure tokens per second each time, as in T3. A gradient that sits close to the CPU speed at partial offload confirms that offload is the cause of the slowness.
- Capacity diversion. When T1 shows a split, follow the lifecycle guide (#555)'s capacity test — a smaller model against a larger model, and shrinking `num_ctx` — or the planning guide, to see whether the model plus its context fits.
- Detection diversion. When the log reports the CPU library, leave this guide and follow the device detection guide (#407) for driver, CUDA version, and visible-device problems, or the container guide (#554) if the server runs in Docker without GPU access.
- Stop. When all three tests have been run and the cause still cannot be separated, write down the three numbers — the PROCESSOR column, the `-ngl` line, and the tokens per second at each layer count — and take them to an inspection. Do not reinstall the driver or reinstall Ollama one item at a time: reinstalling does not change a `num_gpu` setting, and it will not move a single layer.
What this is not: boundary cases
| Situation | Which path applies instead | Why it is not this guide |
|---|---|---|
| The model is only slow when asked again after a few minutes, on a five-minute timer | The Ollama lifecycle guide (#555) | An idle unload, not offload; the PROCESSOR column is normal while the model is loaded |
| Running AI reports `CUDA out of memory` | The PyTorch allocator guide (#552), the vLLM budget guide (#553), or the Ollama and llama.cpp out-of-memory path (#552/#553) | An allocator or budget problem, not a layer-count setting |
| The model cannot fit at all, or the question is asked before buying a card | The local AI memory planning guide (#179) | Planning arithmetic, not running offload diagnosis |
| The framework reports that no CUDA device was found | The CUDA device detection guide (#407) | The detection layer, not the offload layer |
| The GPU cannot be found inside Docker at all | The Docker container GPU guide (#554) | The container runtime layer; the server has no device yet |
| The model is loaded and shows `100% GPU` but is still slow | The lifecycle guide's parallel test (#555), or a rendering load guide (#147) | A parallel queue or a rendering load, not offload |
| A game reports "Out of Video Memory" while memory is not full | The game allocator guide (#381) | A game or engine allocator, not the Ollama server |
| Training is slow with low GPU utilisation | The training optimisation guides (#136) | Data loading or a CPU bottleneck, not inference offload |
The first row deserves emphasis, because it is the easiest confusion in this whole area. In the lifecycle pattern, the model answers quickly just after a question, and only the next question after several minutes of silence is slow, because the model has to load again. While it is loaded, its PROCESSOR column is normal. In this guide's pattern, the model is slow from the very first question, and the PROCESSOR column says `100% CPU` from the start. One test — T1, run while the model is loaded, together with the timing of the slowness — separates the two patterns completely. If the timing and the column disagree with each other, trust the column and the timing together, and do not force the symptoms into the wrong guide.
Six common misconceptions
- "Task Manager shows the GPU at 1%, so the GPU is not being used." Wrong. Task Manager's default graph shows 3D drawing load, not AI compute, and a GPU running Ollama can still show only 1% on that graph. Read the PROCESSOR column in `ollama ps` instead, and do not use the default Task Manager graph as evidence about AI work at all.
- "The model loaded, so it must be using the GPU." Wrong. Loading and offload are two different things. A model can load completely and still have every layer running on the CPU, with the PROCESSOR column showing `100% CPU`. A successful load only proves the file is intact; it proves nothing about where the model runs.
- "Setting num_gpu higher is always better." Wrong. `num_gpu` is a cap, not a target. Setting it equal to or higher than the total layer count does not make a model that does not fit suddenly fit; it only makes loading fail directly, or triggers a single automatic retry with a smaller context window. The correct step is to remove the setting and let the scheduler decide automatically.
- "A card with more graphics memory will stop the model running on the CPU." Wrong. With `num_gpu` set to 0, a model on a larger card still runs entirely on the CPU, because a setting lock has nothing to do with how much memory the card has. Run T2 first, and do not start by replacing hardware.
- "Slow means the model was unloaded." Wrong. Unloading is the lifecycle pattern: slow only after a few idle minutes, with a normal PROCESSOR column while the model is loaded. Running on the CPU is slow from the first question, with the PROCESSOR column showing `100% CPU` from the start. T1 separates the two in a single reading.
- "An old guide says to set an environment variable or a run flag to force CPU or GPU." Wrong, for the specific writings that were tested. In a test published on 9 November 2026 against Ollama 0.40.15, the writings `OLLAMA_GPU_LAYERS=0` and `ollama run --gpu-layers 0` were both ineffective — the environment variable does not exist and the flag does not exist — and using `CUDA_VISIBLE_DEVICES=-1` on its own also did not achieve the intended result. Following an old guide's wording without checking it against the installed version wastes time. Use the three places in T2, and the `num_gpu` parameter itself, instead.
What to do next, and what not to do
If the three tests point to the setting layer, the practical step is to record the exact baseline — the model name and size, the total layer count, the `num_ctx` setting, the Ollama version, the PROCESSOR column, and the `-ngl` line — and then remove the setting at the one place T2 identified, reload the model, and run T1 again to confirm the column has moved. Change one place at a time. If the Modelfile, the API request, and the client are all clean and the column still shows `100% CPU`, the problem is not a setting: follow the capacity diversion or the detection diversion instead, rather than removing settings at random.
If the tests point to the capacity layer, the direction is to make the model fit: shrink the context window, use a smaller quantisation, or use a smaller model, and let the scheduler decide the layer count automatically. Do not try to force the fit by raising `num_gpu`; raising the cap does not create memory, and it turns a silent partial offload into a loading failure. If several models are used in turn, remember that they compete for the same memory, and that a model that fits on its own may still be partly offloaded when another model is loaded beside it.
Do not use Task Manager's default graph as the test for whether the GPU is working, and do not treat a low percentage there as proof of anything about Ollama. Do not reinstall the driver, reinstall Ollama, or replace the card before T1 and T2 have been run: none of those steps changes a `num_gpu` value, and a model locked by a client default will still be locked after a fresh installation of everything else. Do not copy a `num_gpu` number from another person's setup either. The right number depends on the model, its total layer count, its context window, and the memory available on the card in this machine, and a number that is right for one model can lock or break another.
The honest limits of this guide should be stated plainly. The Ollama server was not run locally for this article, so the default behaviour of `num_gpu`, the wording of the `-ngl` line, and the wording of the PROCESSOR column all come from the published sources listed below, verified in November 2026 against Ollama versions 0.40.15 to 0.40.16. Wording and column layout change between versions, so a reader should always trust the output of `ollama ps` and the server log on the version actually installed. The speed figures quoted in this guide — 101.7, 34.4, and 22.5 tokens per second for phi4-mini, and 93.9 and 32.9 for gemma4:e4b — are a single measured run on one RTX 2060 SUPER with 8GB of memory and a 4,096-token context; they are not a general standard, and this guide uses only the direction of the gradient, not any fixed number, as its diagnosis. The Open WebUI behaviour of pre-filling 0 is specific to version 0.13.3 and may change in a later version, so a reader should check the client interface on the version actually installed. The llama.cpp server's `-ngl` and `--n-gpu-layers` options are the same parameter seen from the other side, but this guide covers only the Ollama side; a standalone llama.cpp server is mentioned only as a boundary. Multi-GPU scheduling — which card loads which model — is mentioned only as a boundary: splitting a model across cards is scaling, not offload diagnosis, and it is not expanded here.
The sources used for the mechanism in this guide are the quantacloud.net guide on Ollama not using the GPU, published 9 November 2026 against Ollama 0.40.16; the markaicode.com tested guide on forcing CPU or GPU inference in Ollama, measured 9 November 2026 against Ollama 0.40.15; the logeshwaran.org guide on Ollama not using the GPU, published October 2026; the linuxprofessional.ie Linux guide on Ollama GPU memory; the aicassindra.com in-depth guide on Ollama on the GPU, checked against the Ollama FAQ and API reference on 4 October 2026; and the Ollama official FAQ, whose statement that `100% GPU` means the model is fully loaded onto the GPU is quoted here through the quantacloud and markaicode guides, because a direct reading of the FAQ page in this batch returned only the raw page markup and the body text could not be extracted. Where the guides differ in wording, the official FAQ is the authority; where they agree — on the three PROCESSOR values, on the non-linear speed gradient, and on setting `num_gpu` high not forcing a fit — this guide follows that agreement.
Repair pricing on this site follows the published three-tier fee structure of HK$400–2,800, with the final quote after inspection.
HK GPU Fix is located at Dali Plaza, Room 1209, Shek Mun. The phone number is 2186 8010 and WhatsApp is 6558 6806. There is no Mong Kok shop and no on-site service; inspection and repair are carried out at the workshop.
FAQ
Q1: How do I tell whether my model is running on the CPU or the GPU?
Ask the model a question so that it loads, then run `ollama ps` in a second terminal and read the PROCESSOR column. `100% GPU` means the whole model is in graphics memory, `100% CPU` means not a single layer is on the GPU, and a split such as `48%/52% CPU/GPU` means part of the model is running on the CPU, with the first number the CPU share and the second the GPU share. Do not use Task Manager's default graph for this: it shows 3D drawing load, not AI compute, and a GPU running Ollama can still show only 1% there.
Q2: What is num_gpu, and where can it be set?
`num_gpu` is the number of layers Ollama sends to the GPU. By default it is automatic. A value of `0` means CPU only, and any other number is an upper limit that caps how many layers may go to the GPU. It can be set in three places: the Modelfile as `PARAMETER num_gpu`, which can be inspected with `ollama show --modelfile`; an API request as `options.num_gpu`; and a client control, where the client sends it with its requests. Any one of the three can lock the model onto the CPU, so all three must be checked one at a time.
Q3: Why is my model slow even though half its layers are on the GPU?
Because partial offload is not proportionally fast. GPU layers run fast and CPU layers run slowly, and the two sides take turns, so the slowest part sets the speed. In a published measurement on an RTX 2060 SUPER, phi4-mini ran at 101.7 tokens per second fully on the GPU, 34.4 with 12 of 33 layers on the GPU, and 22.5 fully on the CPU: half the layers on the GPU gave a speed close to the CPU speed, not halfway to the full-GPU speed. That gradient is itself diagnostic evidence that offload, not the model, is the cause of the slowness.
Q4: Will setting num_gpu higher force a model that does not fit onto the GPU?
No. Setting `num_gpu` equal to or higher than the model's total layer count does not make a model that does not fit suddenly fit. The loading fails directly, or Ollama retries once with a smaller context window. The correct direction is to remove the setting so the scheduler decides automatically, and then make the model fit by shrinking the context window, using a smaller quantisation, or using a smaller model.
Q5: My client has a num_gpu control. I only opened it — could that be the cause?
Yes. In Open WebUI version 0.13.3, opening the `num_gpu` control pre-fills it with 0, which means CPU only. A user who believes they only switched a control on has in fact locked the model to the CPU. Check the client control, remove the value, reload the model, and run `ollama ps` again to see whether the PROCESSOR column changes. This behaviour is specific to that version and may change later, so check the client interface on the version actually installed.
Q6: How is running on the CPU different from the model being unloaded after five minutes?
Unloading is a timing pattern: the model answers quickly just after a question, and only the next question after several minutes of silence is slow, because the model has to load again, and while it is loaded its PROCESSOR column is normal. Running on the CPU is slow from the very first question, with the PROCESSOR column showing `100% CPU` from the start. Run T1 while the model is loaded and compare the timing: the two patterns separate cleanly.
Q7: When should I take the machine in for professional diagnosis?
When all three tests have been run and the cause still cannot be separated, or when the PROCESSOR column shows a split and the capacity steps do not move it, or when the server log reports the CPU library and the detection checks do not resolve it. Bring the three numbers — the PROCESSOR column, the `-ngl` line from the server log, and the tokens per second at each layer count — together with the model name, the Ollama version, and where the `num_gpu` setting was found. Do not reinstall the driver or Ollama first: reinstalling does not change a `num_gpu` setting, and the recorded numbers are worth more than a fresh installation.