huggingface / optimum-intel

🤗 Optimum Intel: Accelerate inference with Intel optimization tools
https://huggingface.co/docs/optimum/main/en/intel/index
Apache License 2.0
413 stars 112 forks source link

fix getting default diffusion pipeline parameters from config #983

Closed eaidova closed 3 weeks ago

eaidova commented 4 weeks ago

What does this PR do?

model_index.json may contain overrides of default pipeline parameters e.g. https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/model_index.json#L4

now these parameters are ignored at initialization stage of openvino pipeline.

Fixes # (issue)

Before submitting

HuggingFaceDocBuilderDev commented 4 weeks ago

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.