mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-07 20:10:17 +00:00
[Inference] User Experience: update the logic of default tokenizer and generation config. (#5337)
* add * fix * fix * pause * fix * fix pytest * align * fix * license * fix * fix * fix readme * fix some bugs * remove tokenizer config
This commit is contained in:
@@ -72,7 +72,6 @@ def llama_model_forward(
|
||||
"""
|
||||
input_ids = batch.get_1D_inputs()
|
||||
block_tables = batch.get_block_table_tensor()
|
||||
|
||||
sequence_lengths = batch.get_sequence_lengths()
|
||||
batch_size = len(sequence_lengths)
|
||||
kv_seq_len = sequence_lengths.max().item()
|
||||
|
Reference in New Issue
Block a user