[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

@@ -126,7 +126,6 @@ def create_sequence(prompt_token_ids=None):
inputs={
"prompt": "<s>",
"prompt_token_ids": prompt_token_ids,
"multi_modal_data": None,
},
block_size=16,
)