Name and Version
version: 9261 (ad27757) │
built with GNU 14.2.0 for Linux x86_64
Operating systems
Linux
Which llama.cpp modules do you know to be affected?
llama-server
Command line
llama-server --device CUDA0 --host 0.0.0.0 --port ${PORT} -ngl 999 -fa on --jinja --no-mmap -cram 2048 --ctx-checkpoints 1 --no-warmup -np 1
--model ${host_model_dir}/Qwen3.6-27B-MTP/Qwen3.6-27B-UD-Q4_K_XL.gguf
--no-mmproj
--spec-type draft-mtp --spec-draft-n-max 3 --spec-draft-p-min 0.0
--spec-type ngram-mod --spec-ngram-mod-n-match 24 --spec-ngram-mod-n-min 48 --spec-ngram-mod-n-max 64
--spec-type ngram-map-k4v --spec-ngram-map-k4v-size-n 16 --spec-ngram-map-k4v-size-m 24 --spec-ngram-map-k4v-min-hits 1
--ctx-size 80000
-n 32768
--cache-type-k q8_0
--cache-type-v q8_0
--temp 0.6
--presence-penalty 0.0
--repeat-penalty 1.0
--min-p 0.0
--top-k 20
--top-p 0.95
--fit off
--reasoning on
--reasoning-budget -1
--chat-template-kwargs '{"preserve_thinking":true}'
Problem description & steps to reproduce
Let me say upfront that I'm not even sure if this is actually a bug or normal behavior I was not aware of. I'm currently running the MTP enabled Qwen3.6-27B-UD-Q4_K_XL on a 22GB 2080TI GPU using the CUDA backend and I can just about fit 80k context which uses 21.05GB after the model is fully loaded.
The issue I'm facing is that once I start running prompts the VRAM usage will start steadily increasing until it eventually OOMs.
To give specific numbers : VRAM usage immediately jumps from 21.05 to 21.5 when launching the first prompt, then it will slowly but surely increase as tokens are being generated, reaching 21.75 at 5k tokens and hits the OOM error at around 10k tokens.
The additional VRAM is not freed after the generation fully finishes either. It just keeps adding up for every new prompt I run.b
I thought this might be an MTP related bug since I had never noticed this before and I'm aware that MTP in general requires more VRAM so I tried the non mtp version of the same Qwen3.6-27B model and although the steady increase in VRAM usage does still happen, it does tend to go up much slower.
I thought this might be related to checkpoints but setting the number of checkpoints to 1 makes no difference whatsoever.
Thanks for any help.
First Bad Commit
No response
Relevant log output
Logs
Name and Version
version: 9261 (ad27757) │
built with GNU 14.2.0 for Linux x86_64
Operating systems
Linux
Which llama.cpp modules do you know to be affected?
llama-server
Command line
Problem description & steps to reproduce
Let me say upfront that I'm not even sure if this is actually a bug or normal behavior I was not aware of. I'm currently running the MTP enabled Qwen3.6-27B-UD-Q4_K_XL on a 22GB 2080TI GPU using the CUDA backend and I can just about fit 80k context which uses 21.05GB after the model is fully loaded.
The issue I'm facing is that once I start running prompts the VRAM usage will start steadily increasing until it eventually OOMs.
To give specific numbers : VRAM usage immediately jumps from 21.05 to 21.5 when launching the first prompt, then it will slowly but surely increase as tokens are being generated, reaching 21.75 at 5k tokens and hits the OOM error at around 10k tokens.
The additional VRAM is not freed after the generation fully finishes either. It just keeps adding up for every new prompt I run.b
I thought this might be an MTP related bug since I had never noticed this before and I'm aware that MTP in general requires more VRAM so I tried the non mtp version of the same Qwen3.6-27B model and although the steady increase in VRAM usage does still happen, it does tend to go up much slower.
I thought this might be related to checkpoints but setting the number of checkpoints to 1 makes no difference whatsoever.
Thanks for any help.
First Bad Commit
No response
Relevant log output
Logs