[Core] Avoid the need to pass None values to Sequence.inputs (#5099)

This commit is contained in:
Cyrus Leung
2024-05-30 07:05:01 +08:00
committed by GitHub
parent eb6c50cdc2
commit b1c255630d
7 changed files with 6 additions and 19 deletions

View File

@@ -234,7 +234,6 @@ def test_append_slot_cow():
inputs={
"prompt": "one two three",
"prompt_token_ids": [1, 2, 3],
"multi_modal_data": None
},
block_size=block_size)
@@ -525,7 +524,6 @@ def test_sliding_window_multi_seq():
inputs={
"prompt": "one two three",
"prompt_token_ids": [0, 1, 2],
"multi_modal_data": None
},
block_size=block_size)
seq_group = SequenceGroup(request_id="1",