Skip to content

Commit 5cebe54

Browse files
committed
server : remove old commented code [no ci]
1 parent 8a23b4a commit 5cebe54

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/server/server.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3280,13 +3280,10 @@ struct server_context {
32803280
}
32813281

32823282
// construct the speculation batch
3283-
//slot.batch_spec.clear();
3284-
//slot.batch_spec.add_text(id, slot.n_past, slot.id, true);
32853283
llama_batch_ext_clear(slot.batch_spec.get());
32863284
llama_batch_ext_add_text(slot.batch_spec.get(), id, slot.n_past, &slot.id, 1, true);
32873285

32883286
for (size_t i = 0; i < draft.size(); ++i) {
3289-
//slot.batch_spec.add_text(draft[i], slot.n_past + 1 + i, slot.id, true);
32903287
llama_batch_ext_add_text(slot.batch_spec.get(), draft[i], slot.n_past + 1 + i, &slot.id, 1, true);
32913288
}
32923289

0 commit comments

Comments
 (0)