Skip to content

Commit

Permalink
review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
likholat committed Dec 18, 2024
1 parent f98519f commit 8170f5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/docs/SUPPORTED_MODELS.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ The pipeline can work with other similar topologies produced by `optimum-intel`
<li><a href="https://huggingface.co/philschmid/stable-diffusion-v1-4-endpoints"><code>philschmid/stable-diffusion-v1-4-endpoints</code></a></li>
<li><a href="https://huggingface.co/naclbit/trinart_stable_diffusion_v2"><code>naclbit/trinart_stable_diffusion_v2</code></a></li>
<li><a href="https://huggingface.co/Fictiverse/Stable_Diffusion_PaperCut_Model"><code>Fictiverse/Stable_Diffusion_PaperCut_Model</code></a></li>
<li><a href="https://huggingface.co/stabilityai/sdxl-turbo"><code>stabilityai/sdxl-turbo</code></a></li>
</ul>
</td>
</tr>
Expand All @@ -218,6 +217,7 @@ The pipeline can work with other similar topologies produced by `optimum-intel`
<ul>
<li><a href="https://huggingface.co/stabilityai/stable-diffusion-xl-base-0.9"><code>stabilityai/stable-diffusion-xl-base-0.9</code></a></li>
<li><a href="https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0"><code>stabilityai/stable-diffusion-xl-base-1.0</code></a></li>
<li><a href="https://huggingface.co/stabilityai/sdxl-turbo"><code>stabilityai/sdxl-turbo</code></a></li>
</ul>
</td>
</tr>
Expand Down
3 changes: 2 additions & 1 deletion src/python/py_image_generation_pipelines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ void init_image_generation_pipelines(py::module_& m) {
.value("DDIM", ov::genai::Scheduler::Type::DDIM)
.value("EULER_DISCRETE", ov::genai::Scheduler::Type::EULER_DISCRETE)
.value("FLOW_MATCH_EULER_DISCRETE", ov::genai::Scheduler::Type::FLOW_MATCH_EULER_DISCRETE)
.value("PNDM", ov::genai::Scheduler::Type::PNDM);
.value("PNDM", ov::genai::Scheduler::Type::PNDM)
.value("EULER_ANCESTRAL_DISCRETE", ov::genai::Scheduler::Type::EULER_ANCESTRAL_DISCRETE);
image_generation_scheduler.def_static("from_config",
&ov::genai::Scheduler::from_config,
py::arg("scheduler_config_path"),
Expand Down
2 changes: 1 addition & 1 deletion tools/llm_bench/llm_bench_utils/ov_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def get_vae_decoder_step_count(self):

scheduler_type = data.get("scheduler", ["", ""])[1]
if (scheduler_type not in ["LCMScheduler", "DDIMScheduler", "PNDMScheduler", "LMSDiscreteScheduler", "EulerDiscreteScheduler",
"FlowMatchEulerDiscreteScheduler"]):
"FlowMatchEulerDiscreteScheduler", "EulerAncestralDiscreteScheduler"]):
scheduler = openvino_genai.Scheduler.from_config(model_path / "scheduler/scheduler_config.json", openvino_genai.Scheduler.Type.DDIM)
log.warning(f'Type of scheduler {scheduler_type} is unsupported. Please, be aware that it will be replaced to DDIMScheduler')

Expand Down

0 comments on commit 8170f5e

Please sign in to comment.