Skip to content

Commit 244508a

Browse files
disable lookup for infill and embedding
1 parent 0ad7512 commit 244508a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/server/server.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,6 +2217,9 @@ struct server_context {
22172217
};
22182218

22192219
for (auto & slot : slots) {
2220+
if (slot.infill || slot.embedding) {
2221+
continue;
2222+
}
22202223
if (slot.state != SLOT_STATE_PROCESSING || slot.i_batch < (int) i || slot.i_batch >= (int) (i + n_tokens)) {
22212224
continue; // continue loop of slots
22222225
}

0 commit comments

Comments
 (0)