qwen-image-acc-adapter

This commit is contained in:
Artiprocher
2025-08-08 16:56:06 +08:00
parent e85f42b474
commit 94e7e800b2

View File

@@ -229,7 +229,7 @@ class QwenImagePipeline(BasePipeline):
progress_bar_cmd = tqdm, progress_bar_cmd = tqdm,
): ):
# Scheduler # Scheduler
self.scheduler.set_timesteps(num_inference_steps, denoising_strength=denoising_strength, dynamic_shift_len=(height // 16) * (width // 16), random_sigmas=True) self.scheduler.set_timesteps(num_inference_steps, denoising_strength=denoising_strength, dynamic_shift_len=(height // 16) * (width // 16))
# Parameters # Parameters
inputs_posi = { inputs_posi = {