Skip to content
Discussion options

You must be logged in to vote

48 KiB is a very small allocation. Your 32 GB of system RAM is not the limit. The Vulkan backend allocates on the GPU, and the memory of the GPU is already full.

Try this first

Run on the CPU only:

-dev none

Or give the GPU fewer layers:

-ngl 10

-ngl has the default value auto. Thus llama.cpp tries to put as many layers as possible on the GPU. On a laptop GPU this attempt is often too large.

Look at your device

Add --list-devices to your command. It prints each device and the free memory of that device. Compare that value with the size of your model file. The model must be smaller than the free memory.

For the exact cause

The backend writes a second line directly after the line that you…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Mr-Howl77
Comment options

Answer selected by Mr-Howl77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants