Skip to content

Commit 2e2a385

Browse files
eaidovaecharlaix
andauthored
Update optimum/exporters/openvino/convert.py
Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com>
1 parent 5691472 commit 2e2a385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optimum/exporters/openvino/convert.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ def export_tokenizer(
851851

852852
if (
853853
task is not None
854-
and (task.startswith("text-generation") or task.startswith("image-text-to-text"))
854+
and (task.startswith("text-generation") or task == "image-text-to-text")
855855
and compare_versions("openvino-tokenizers", ">=", "2024.3.0.0")
856856
):
857857
logger.info(f"Set tokenizer padding side to left for `{task}` task.")

0 commit comments

Comments
 (0)