From: Daniel Bevenius Date: Fri, 31 Oct 2025 08:51:26 +0000 (+0100) Subject: server : fix typos in server.cpp comments [no ci] (#16883) X-Git-Tag: upstream/0.0.7011~112 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=0f715b4e759acceccb9f437cfd2a988fff85514a;p=pkg%2Fggml%2Fsources%2Fllama.cpp server : fix typos in server.cpp comments [no ci] (#16883) --- diff --git a/tools/server/server.cpp b/tools/server/server.cpp index d5646859..cb49254a 100644 --- a/tools/server/server.cpp +++ b/tools/server/server.cpp @@ -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);