Skip to content

Commit 27716ba

Browse files
authored
Update optimum/intel/openvino/modeling_visual_language.py
1 parent ba5ae1b commit 27716ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optimum/intel/openvino/modeling_visual_language.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ def preprocess_inputs(
10211021
else:
10221022
prompt = text
10231023

1024-
if is_transformers_version(">", "4.47") and getattr(processor, "patch_size", None) is None:
1024+
if is_transformers_version(">", "4.47.99") and getattr(processor, "patch_size", None) is None:
10251025
if (
10261026
getattr(config, "vision_config", None) is not None
10271027
and getattr(config.vision_config, "patch_size", None) is not None

0 commit comments

Comments
 (0)