We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c719c40 commit 0bec63fCopy full SHA for 0bec63f
vllm/transformers_utils/processors/hunyuan_vl.py
@@ -123,7 +123,7 @@ def __call__(
123
124
attention_mask = input_ids.ne(self.pad_id)
125
text_inputs["attention_mask"] = attention_mask
126
- text_inputs["imgs_pos"] = [self.get_imgs_pos(input_ids)]
+ text_inputs["imgs_pos"] = [self.get_imgs_pos(e) for e in input_ids]
127
# image_inputs["imgs"] = [[image_inputs["pixel_values"]]]
128
129
return_tensors = kwargs.pop("return_tensors", None)
0 commit comments