KoboldCpp Not Using Your GPU? Vulkan, CUDA and Layers

KoboldCpp GPU settings and layer offload troubleshooting

If KoboldCpp runs slowly while your graphics card stays mostly idle, it may be falling back to CPU inference or offloading too few model layers. The most common cause is launching a build or backend that does not match your GPU, such as using a CUDA build without a working NVIDIA setup or selecting the wrong Vulkan device.

Why this happens

KoboldCpp needs a compatible GPU backend and enough available video memory to move model work onto the card. A GPU can be detected without doing much inference if layer offload is set to zero, the chosen device is wrong, or memory limits force more work back to the CPU.

  • Backend mismatch: CUDA is for supported NVIDIA setups; Vulkan can work across many GPU vendors, but support depends on the build and driver.
  • No layers offloaded: the model loads, but its computation stays mostly on the CPU.
  • Memory pressure or device selection: another app occupies VRAM, or KoboldCpp is using an integrated or unintended GPU.

1. Confirm the backend and build

Close KoboldCpp and check which executable or package you downloaded. For NVIDIA, use a CUDA-enabled build that matches the distribution instructions; for AMD or Intel, or when CUDA is not an option, try a Vulkan-enabled build if available for your platform. Start that build explicitly rather than relying on an old shortcut that may point to a different copy.

In KoboldCpp’s launcher, inspect the backend or GPU-related options before starting. The confirming result is that startup output identifies the expected backend and GPU, rather than reporting CPU-only operation. If the GPU is absent from that output, resolve backend or driver detection before changing layer counts.

2. Update the graphics driver and restart

Install the current stable driver from your GPU vendor, then restart Windows. Check Device Manager under Display adapters to confirm the discrete GPU appears without a warning symbol. A driver update can restore backend detection, but it does not turn a CPU-only KoboldCpp build into a GPU-enabled one.

If the machine has integrated and discrete graphics, open Settings > System > Display > Graphics, add the KoboldCpp executable, choose Options, and select High performance where that choice is available. Relaunch and check whether startup now names the intended card.

3. Select the right GPU in KoboldCpp

In the launcher or command-line options, look for the device or GPU selection control; labels can vary by build. On systems with multiple adapters, select the discrete GPU rather than assuming the first listed device is the right one. Start the model and check the startup log for the selected device.

To check Windows activity, open Task Manager > Performance, select the GPU, and watch its dedicated memory and compute graphs while generating text. A rise during generation supports that the GPU is working; utilization may vary by model, prompt, and backend, so do not use a single percentage as the only test.

4. Increase GPU layer offload gradually

Find the GPU layer offload setting in the launcher or model options. If it is zero, increase it; if the interface offers an automatic value, try that first. Otherwise, raise the layer count in small steps, restarting the model after each change. The right value depends on the model, quantization, context size, and available VRAM.

A successful setting lets the model load and improves generation speed while GPU memory or compute activity rises. If loading fails or the system runs out of video memory, reduce the layer count and close other GPU-heavy applications such as games, Stable Diffusion, ComfyUI, or another local model server.

5. Check the model format and memory demand

Confirm that the model file is supported by the KoboldCpp build you are using, and select the model through its file picker or the documented launch option. Large models and longer context settings need more memory. Try a smaller supported model or lower the context setting in the model’s menu, then test whether more layers can be offloaded.

The useful confirmation is a successful load with the intended model and nonzero offload, followed by GPU activity during generation. If the smaller model works but the larger one does not, memory capacity is likely the constraint rather than basic GPU detection.

6. Read the startup log and compare a clean launch

Keep the console or launcher output visible when starting KoboldCpp. Look for lines describing the backend, detected device, and number of layers placed on the GPU. Exact wording varies by version. If output indicates no compatible device or zero layers, revisit the build, driver, selection, and offload settings in that order.

For a clean comparison, close other KoboldCpp windows and GPU-heavy apps, then start the intended executable with a small model and conservative context. If this works, add your usual model and settings back one at a time. This isolates whether the problem is a stale shortcut, competing VRAM use, or a particular model configuration.

Likely causeTypical symptomQuick test
CPU-only or mismatched buildStartup does not identify a GPU backendLaunch the matching CUDA or Vulkan build
Zero or low layer offloadModel loads, but GPU activity stays lowRaise offload gradually and relaunch
VRAM pressureLoad fails or only a few layers fitClose GPU apps or test a smaller model
Wrong adapter selectedIntegrated GPU is active insteadChoose the discrete GPU in launcher or Windows Graphics settings

FAQ

Why is KoboldCpp not using GPU even though it detects my graphics card?

Detection only confirms the backend can see a device; it does not confirm that model layers are offloaded. Check the layer setting and startup log, then watch GPU memory or compute activity during generation.

Should I use CUDA or Vulkan with KoboldCpp?

Use a compatible CUDA build for a supported NVIDIA setup, or try a Vulkan-enabled build when CUDA does not fit your hardware or setup. Availability and performance depend on the build, drivers, and GPU, so confirm the backend in startup output.

How many GPU layers should I set in KoboldCpp?

There is no single value that fits every model and graphics card. Start with automatic offload if available, or increase the setting gradually until the model loads reliably; back off if you run out of VRAM.

When KoboldCpp is not using your GPU, verify the backend first, then check device selection, offload layers, and available VRAM in that order. If it still runs on the CPU, capture the startup log and share it with your GPU model, driver, KoboldCpp build, and model details when seeking support.

Photo: Jacek Halicki / CC BY-SA 4.0 (Wikimedia Commons)

Leave a Comment

Gemini API Quota Exceeded in Apps Script: Backoff Plan

Gemini API Quota Exceeded in Apps Script: Backoff Plan

Fix gemini app script quota exceeded errors in Apps Script with practical checks for API limits, retries, batching, and the right Gemini project.

ChatGPT Export Missing Messages: What Actually Exports

ChatGPT Export Missing Messages: What Actually Exports

ChatGPT export conversation missing? Learn what the archive includes, why messages may be absent, and how to check account, chat history, and export settings.

Copilot Cant Build Your Pivot Table: Do This Instead

Copilot Cant Build Your Pivot Table: Do This Instead

Copilot Excel pivot table help: fix source data, check Copilot access, and build a reliable PivotTable manually when AI can’t create it.

Teams Transcript Not Showing: Policy, Licence and Fix

Teams Transcript Not Showing: Policy, Licence and Fix

Fix teams transcript not showing issues by checking meeting policy, organizer controls, licensing, transcript access, and where Teams stores completed transcripts.

Whisper SRT Timing Drifts: Fix Subtitle Sync by Hand

Whisper SRT Timing Drifts: Fix Subtitle Sync by Hand

Fix whisper srt timing off by checking audio alignment, transcript edits, export settings, and manual SRT timestamps so subtitles stay in sync.

ChatGPT Mangles PDF Tables: 6 Prompts That Fix It

ChatGPT Mangles PDF Tables: 6 Prompts That Fix It

Fix chatgpt pdf table extraction wrong results with six practical prompts, source checks, and export steps for cleaner tables in ChatGPT and other AI assistants.

ChatGPT Canvas Not Saving: Version and Cache Fixes

ChatGPT Canvas Not Saving: Version and Cache Fixes

Fix chatgpt canvas not saving by checking save status, connection, browser cache, extensions, and workspace access, then recover or copy your latest edits safely.

Gemini Deep Research Not Available: Region and Plan Checks

Gemini Deep Research Not Available: Region and Plan Checks

Fix gemini deep research not available by checking your account type, plan, region, age eligibility, administrator controls, and temporary usage limits.

Gemini in Google Sheets Not Showing: Workspace Settings

Gemini in Google Sheets Not Showing: Workspace Settings

Fix gemini in google sheets not showing by checking Workspace eligibility, admin controls, smart features, file format, account selection, and browser issues.

NotebookLM Source Limit: How to Feed 300+ Documents

NotebookLM Source Limit: How to Feed 300+ Documents

Hit the notebooklm source limit? Learn how to combine files, split notebooks by project, and check current limits so you can use 300+ work documents effectively.