Skip to content

Commit 36bf571

Browse files
authored
Update optimum/intel/openvino/modeling_visual_language.py
1 parent 7316d4e commit 36bf571

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

optimum/intel/openvino/modeling_visual_language.py

-1
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,6 @@ def load_image(image, input_size=448, max_num=12):
14461446
)
14471447
image_tokens = IMG_START_TOKEN + IMG_CONTEXT_TOKEN * num_image_token * num_patches + IMG_END_TOKEN
14481448
text = text.replace("<image>", image_tokens, 1)
1449-
logger.warn(text)
14501449
inputs.update({"pixel_values": pixel_values})
14511450
inputs.update(tokenizer(text, return_tensors="pt"))
14521451
return inputs

0 commit comments

Comments
 (0)