Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
Signed-off-by: yan ma <[email protected]>
  • Loading branch information
yma11 committed Jan 31, 2025
1 parent d8f8165 commit 69411f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vllm/worker/hpu_enc_dec_model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,8 @@ def create_dummy_seq_group_metadata(self,
image_data = [image_data]
assert is_list_of(image_data, Image.Image)
text_prompt_len = input_len - 2 - len(image_data)
# for prompt like '<|image|><|image|><|begin_of_text|>...', token ids will be

Check failure on line 485 in vllm/worker/hpu_enc_dec_model_runner.py

View workflow job for this annotation

GitHub Actions / pre-commit

Ruff (E501)

vllm/worker/hpu_enc_dec_model_runner.py:485:81: E501 Line too long (89 > 80)
# '128000 128256 128256 128000 ...'
prompt_token_ids = [128000] + [128256] * len(image_data) + [
128000
] + [0] * text_prompt_len
Expand Down

0 comments on commit 69411f3

Please sign in to comment.