Skip to content

Commit 28e49b5

Browse files
authored
fix minimum diffusers version for LTXPipeline (#1279)
1 parent 6b993b8 commit 28e49b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

optimum/intel/openvino/modeling_diffusion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
from diffusers.models.vae import DiagonalGaussianDistribution
8787

8888
# Required EncoderDecoderCache object from transformers
89-
if is_diffusers_version(">=", "0.28.2") and is_transformers_version(">=", "4.45"):
89+
if is_diffusers_version(">=", "0.32") and is_transformers_version(">=", "4.45"):
9090
from diffusers import LTXPipeline
9191
else:
9292
LTXPipeline = object
@@ -1752,7 +1752,7 @@ def _get_ov_class(pipeline_class_name: str, throw_error_if_not_exist: bool = Tru
17521752

17531753
OV_TEXT2VIDEO_PIPELINES_MAPPING = OrderedDict()
17541754

1755-
if is_diffusers_version(">=", "0.28.2") and is_transformers_version(">=", "4.45.0"):
1755+
if is_diffusers_version(">=", "0.32") and is_transformers_version(">=", "4.45.0"):
17561756
OV_TEXT2VIDEO_PIPELINES_MAPPING["ltx-video"] = OVLTXPipeline
17571757
SUPPORTED_OV_PIPELINES.append(OVLTXPipeline)
17581758

0 commit comments

Comments
 (0)