Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions backend/cpp/llama-cpp/grpc-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,11 @@ static void params_parse(server_context& ctx_server, const backend::ModelOptions
}
}

if (!params.kv_overrides.empty()) {
params.kv_overrides.emplace_back();
params.kv_overrides.back().key[0] = 0;
}

// TODO: Add yarn

if (!request->tensorsplit().empty()) {
Expand Down
9 changes: 9 additions & 0 deletions docs/content/docs/advanced/advanced-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,15 @@ n_draft: 0
# Quantization settings for the model, impacting memory and processing speed.
quantization: ""
# List of KV Overrides for llama.cpp (--override-kv flag)
# Format: KEY=TYPE:VALUE
# Example: `qwen3moe.expert_used_count=int:10`
# Use this to override model configuration values at runtime.
# Supported types include: int, float, string, bool.
# Multiple overrides can be specified as a list.
overrides:
- KEY=TYPE:VALUE

# Utilization percentage of GPU memory to allocate for the model. (vLLM)
gpu_memory_utilization: 0

Expand Down
Loading