Skip to content

Commit ce22137

Browse files
disable lookup for infill and embedding
1 parent ef34b24 commit ce22137

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
@@ -2216,6 +2216,9 @@ struct server_context {
22162216
};
22172217

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

0 commit comments

Comments
 (0)