From e96451816c3f1ad056deec71a321282998a7ea11 Mon Sep 17 00:00:00 2001 From: likholat Date: Fri, 10 Jan 2025 21:32:41 +0100 Subject: [PATCH] LCMScheduler fix --- src/cpp/src/image_generation/schedulers/lcm.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpp/src/image_generation/schedulers/lcm.cpp b/src/cpp/src/image_generation/schedulers/lcm.cpp index 89aed5b5f8..a447d23027 100644 --- a/src/cpp/src/image_generation/schedulers/lcm.cpp +++ b/src/cpp/src/image_generation/schedulers/lcm.cpp @@ -83,6 +83,7 @@ LCMScheduler::LCMScheduler(const Config& scheduler_config) } void LCMScheduler::set_timesteps(size_t num_inference_steps, float strength) { + m_timesteps.clear(); m_num_inference_steps = num_inference_steps; // LCM Timesteps Setting