]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
server : fix typos in server.cpp comments [no ci] (#16883)
authorDaniel Bevenius <redacted>
Fri, 31 Oct 2025 08:51:26 +0000 (09:51 +0100)
committerGitHub <redacted>
Fri, 31 Oct 2025 08:51:26 +0000 (09:51 +0100)
tools/server/server.cpp

index d56468595dd00b984e31e4ffd7aa007bfdcdfd7a..cb49254a1cc919944299abbe5d778de459a43a4d 100644 (file)
@@ -3608,7 +3608,7 @@ struct server_context {
                 slot.task->params.sampling.preserved_tokens.find(token) != slot.task->params.sampling.preserved_tokens.end();
         };
 
-        // frist, add sampled tokens from any ongoing sequences
+        // first, add sampled tokens from any ongoing sequences
         for (auto & slot : slots) {
             if (slot.state != SLOT_STATE_GENERATING) {
                 continue;
@@ -3950,7 +3950,7 @@ struct server_context {
                     // If using an alora, there may be uncached tokens that come
                     // before the invocation sequence. When this happens, the
                     // tokens before the invocation sequence need to be
-                    // processed without the adpter in a separate batch, then
+                    // processed without the adapter in a separate batch, then
                     // the adapter needs to be enabled for the remaining tokens.
                     if (lora_all_alora(slot.lora) && slot.alora_invocation_start - 1 > slot.prompt.n_tokens()) {
                         SLT_DBG(slot, "processing pre-alora tokens without the adapter (n_tokens = %d, alora_invocation_start = %d)\n", slot.prompt.n_tokens(), slot.alora_invocation_start);