We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0123f1f commit fe1c3d3Copy full SHA for fe1c3d3
optimum/exporters/openvino/convert.py
@@ -437,7 +437,7 @@ 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(">=", "2025.0"):
441
ts_decoder_kwargs["trace_kwargs"] = {"check_trace": False}
442
443
with patcher:
0 commit comments