We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0123f1f commit 6dc02fdCopy full SHA for 6dc02fd
optimum/exporters/openvino/convert.py
@@ -437,7 +437,9 @@ def ts_patched_forward(*args, **kwargs):
437
patcher.patched_forward = ts_patched_forward
438
439
ts_decoder_kwargs = {}
440
- if library_name == "diffusers" or allow_skip_tracing_check(model) and is_openvino_version(">=", "2025.0"):
+ if (library_name == "diffusers" or allow_skip_tracing_check(model)) and is_openvino_version(
441
+ ">=", "2025.0"
442
+ ):
443
ts_decoder_kwargs["trace_kwargs"] = {"check_trace": False}
444
445
with patcher:
0 commit comments