Skip to content

Commit 0f715b4

Browse files
authored
server : fix typos in server.cpp comments [no ci] (#16883)
1 parent d2d931f commit 0f715b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/server/server.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3608,7 +3608,7 @@ struct server_context {
36083608
slot.task->params.sampling.preserved_tokens.find(token) != slot.task->params.sampling.preserved_tokens.end();
36093609
};
36103610

3611-
// frist, add sampled tokens from any ongoing sequences
3611+
// first, add sampled tokens from any ongoing sequences
36123612
for (auto & slot : slots) {
36133613
if (slot.state != SLOT_STATE_GENERATING) {
36143614
continue;
@@ -3950,7 +3950,7 @@ struct server_context {
39503950
// If using an alora, there may be uncached tokens that come
39513951
// before the invocation sequence. When this happens, the
39523952
// tokens before the invocation sequence need to be
3953-
// processed without the adpter in a separate batch, then
3953+
// processed without the adapter in a separate batch, then
39543954
// the adapter needs to be enabled for the remaining tokens.
39553955
if (lora_all_alora(slot.lora) && slot.alora_invocation_start - 1 > slot.prompt.n_tokens()) {
39563956
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);

0 commit comments

Comments
 (0)