Fix typo in batch concatination

This commit is contained in:
Vincent Brouwers 2023-08-09 08:39:18 +00:00
parent e30f4f61e7
commit ea78c5c26a

View File

@ -646,7 +646,7 @@ class FlashCausalLMBatch(Batch):
next_token_chooser_parameters.extend([r.parameters for r in batch.requests]) next_token_chooser_parameters.extend([r.parameters for r in batch.requests])
stopping_criterias.extend(batch.stopping_criterias) stopping_criterias.extend(batch.stopping_criterias)
top_n_tokens.extend(top_n_tokens) top_n_tokens.extend(batch.top_n_tokens)
# Update # Update
cumulative_batch_size += len(batch) cumulative_batch_size += len(batch)