Skip to content

Commit 711d195

Browse files
committed
cont : fix comments
1 parent 034b055 commit 711d195

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/llama-batch.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,13 @@ class llama_batch_allocr {
6565
// call once before splitting the batch to reset the internal state
6666
void split_reset();
6767

68-
// simple split, unknown number of sequences of unequal lengths
68+
// simple split, unknown number of sequence sets of unequal lengths
6969
llama_ubatch split_simple(uint32_t n_ubatch);
7070

71-
// make ubatches of equal-length sequences
71+
// make ubatches of equal-length sequences sets
7272
llama_ubatch split_equal(uint32_t n_ubatch);
7373

74-
// sequence-wise split - each ubatch contains a single sequence
75-
// TODO: fit more than one full sequence, as long as they fit in the ubatch
74+
// sequence-set-wise split - each ubatch contains a single sequence-set
7675
llama_ubatch split_seq(uint32_t n_ubatch);
7776

7877
// a helper method for creating a well-defined ubatch of tokens

0 commit comments

Comments
 (0)