Skip to content

server : add trace logging for slot similarity checking - #26271

Merged
ggerganov merged 1 commit into
masterfrom
gg/server-prompt-sim-naming
Jul 29, 2026
Merged

ggerganov merged 1 commit into
masterfrom
gg/server-prompt-sim-naming

Conversation

@ggerganov

Copy link
Copy Markdown
Member

Overview

Adds trace logging in server-context.cpp for slot similarity checking during prompt cache slot selection, including:

  • Skip reasons when a slot is processing or empty
  • Similarity calculation details (LCP length, prompt size, threshold comparison)

Additional information

Follows up on #26218 which added trace logging for prompt similarity.

Requirements

Adds trace logging in server-context.cpp for slot similarity checking
during prompt cache slot selection, including skip reasons and similarity
calculation details.

Assisted-by: llama.cpp:Qwen3.6-27B
@ggerganov
ggerganov marked this pull request as ready for review July 29, 2026 11:36
@ggerganov
ggerganov requested a review from a team as a code owner July 29, 2026 11:36
@ggerganov
ggerganov merged commit 992c325 into master Jul 29, 2026
21 of 26 checks passed
@ggerganov
ggerganov deleted the gg/server-prompt-sim-naming branch July 29, 2026 12:03
huaxel pushed a commit to huaxel/strix-llama.cpp that referenced this pull request Aug 2, 2026
Adds trace logging in server-context.cpp for slot similarity checking
during prompt cache slot selection, including skip reasons and similarity
calculation details.

Assisted-by: llama.cpp:Qwen3.6-27B
satindergrewal pushed a commit to satindergrewal/llama.cpp that referenced this pull request Aug 12, 2026
Adds trace logging in server-context.cpp for slot similarity checking
during prompt cache slot selection, including skip reasons and similarity
calculation details.

Assisted-by: llama.cpp:Qwen3.6-27B
thecodacus pushed a commit to thecodacus/llama.cpp that referenced this pull request Sep 7, 2026
Adds trace logging in server-context.cpp for slot similarity checking
during prompt cache slot selection, including skip reasons and similarity
calculation details.

Assisted-by: llama.cpp:Qwen3.6-27B
zbrad pushed a commit to zbrad/llama.cpp that referenced this pull request Sep 10, 2026
Adds trace logging in server-context.cpp for slot similarity checking
during prompt cache slot selection, including skip reasons and similarity
calculation details.

Assisted-by: llama.cpp:Qwen3.6-27B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants