We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7035b5 commit 3ba51f1Copy full SHA for 3ba51f1
optimum/exporters/openvino/utils.py
@@ -241,7 +241,7 @@ def deduce_diffusers_dtype(model_name_or_path, **loading_kwargs):
241
else:
242
from diffusers import DiffusionPipeline
243
244
- path = DiffusionPipeline.download(model_name_or_path, **loading_kwargs)
+ path = Path(DiffusionPipeline.download(model_name_or_path, **loading_kwargs))
245
model_part_name = None
246
if (path / "transformer").is_dir():
247
model_part_name = "transformer"
0 commit comments