]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
server : print the samplers chain for each request (#17070)
authorGeorgi Gerganov <redacted>
Fri, 7 Nov 2025 10:24:47 +0000 (12:24 +0200)
committerGitHub <redacted>
Fri, 7 Nov 2025 10:24:47 +0000 (12:24 +0200)
tools/server/server.cpp

index 0e1a9afc869ded9dd203e54846e7aede7e009535..164e8cf4e70848bee8babd48b225c5e6e2b07cac 100644 (file)
@@ -2823,6 +2823,8 @@ struct server_context {
                 send_error(task, "Failed to parse grammar", ERROR_TYPE_INVALID_REQUEST);
                 return false;
             }
+
+            SLT_INF(slot, "sampler chain: %s\n", common_sampler_print(slot.smpl).c_str());
         }
 
         // initialize draft batch