Skip to content

Commit 46f6fd2

Browse files
committed
update comments
1 parent e066071 commit 46f6fd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/server/server-context.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ constexpr int HTTP_POLLING_SECONDS = 1;
3535
// state diagram: https://github.com/ggml-org/llama.cpp/pull/9283
3636
enum slot_state {
3737
SLOT_STATE_IDLE,
38-
SLOT_STATE_STARTED, // after assigning a task
38+
SLOT_STATE_WAIT_OTHER, // after assigning a task, but waiting for parent slot to process prompt
39+
SLOT_STATE_STARTED, // after assigning a task and about to process prompt
3940
SLOT_STATE_PROCESSING_PROMPT,
4041
SLOT_STATE_DONE_PROMPT,
41-
SLOT_STATE_WAIT_OTHER, // prompt processed, but waiting for other slots to copy the state
4242
SLOT_STATE_GENERATING,
4343
};
4444

0 commit comments

Comments
 (0)