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
2 changes: 1 addition & 1 deletion common/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ struct common_params {

std::string slot_save_path;

float slot_prompt_similarity = 0.5f;
float slot_prompt_similarity = 0.1f;

// batched-bench params
bool is_pp_shared = false;
Expand Down
4 changes: 2 additions & 2 deletions tools/server/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2372,7 +2372,7 @@ struct server_context {
}

if (ret != nullptr) {
SLT_DBG(*ret, "selected slot by lcs similarity, lcs_len = %d, similarity = %f\n", lcs_len, similarity);
SLT_INF(*ret, "selected slot by lcs similarity, lcs_len = %d, similarity = %.3f (> %.3f thold)\n", lcs_len, similarity, slot_prompt_similarity);
}
}

Expand All @@ -2394,7 +2394,7 @@ struct server_context {
}

if (ret != nullptr) {
SLT_DBG(*ret, "selected slot by lru, t_last = %" PRId64 "\n", t_last);
SLT_INF(*ret, "selected slot by LRU, t_last = %" PRId64 "\n", t_last);
}
}

Expand Down
Loading