Skip to content

Misc. bug: Severe drop in prompt processing speed after b10780 on Vulkan, RDNA3 #28752

Description

@ComputerGuy4157

Name and Version

❯ llama-server --version
version: 0.3.0-dev (build 10781, commit unknown)
built with GNU 16.2.1 for Linux x86_64

Operating systems

Linux

Which llama.cpp modules do you know to be affected?

llama-server

Command line

llama-server --device Vulkan0 -b 2048 -ub 1024 --port 10000 --slot-save-path /home/llamacpp/slots/ -cram 32768 -bs --models-max 1 -np 1 --sleep-idle-seconds 3600 --models-preset /home/llamacpp/llms/config.ini


[Qwen 3.8 27B Q4_K_M]
c = 60000
n-gpu-layers = 99
spec-draft-ngl = 99

spec-type = draft-mtp
spec-draft-n-max = 3

model-draft = /home/llamacpp/llms/qwen27b/mtp-Qwen3.8-27B-Q4_0.gguf
model = /home/llamacpp/llms/qwen27b/Qwen3.8-27B-UD-Q4_K_M.gguf

ctk = q8_0
ctv = q8_0
ctkd = q8_0
ctvd = q8_0

chat-template-file = /home/llamacpp/llms/qwen27b/chat_template.jinja

Problem description & steps to reproduce

Versions b10781 and later has greatly reduced prompt processing speeds at depth compared to the previous release. Reverting to release b10780 restores performance.

First Bad Commit

Appears to be caused by commit c7bda03, #28190

Relevant log output

Logs
b10798: prompt processing, n_tokens =  49985, progress = 1.00, t = 153.87 s / 324.85 tokens per second

b10781: prompt processing, n_tokens =  49985, progress = 1.00, t = 141.61 s / 352.97 tokens per second
        prompt processing, n_tokens =  49985, progress = 1.00, t = 132.14 s / 378.27 tokens per second

b10780: prompt processing, n_tokens =  49985, progress = 1.00, t =  75.82 s / 659.26 tokens per second
        prompt processing, n_tokens =  49985, progress = 1.00, t =  75.33 s / 663.57 tokens per second

b10754: prompt processing, n_tokens =  49985, progress = 1.00, t =  75.86 s / 658.91 tokens per second

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions