mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-03-09 06:59:48 +00:00
Update sd_samplers_kdiffusion.py
This commit is contained in:
@@ -208,8 +208,6 @@ class KDiffusionSampler(sd_samplers_common.Sampler):
|
||||
unet_patcher.memory_required([x.shape[0] * 2] + list(x.shape[1:])) + inference_memory)
|
||||
|
||||
self.model_wrap.log_sigmas = self.model_wrap.log_sigmas.to(unet_patcher.current_device)
|
||||
self.model_wrap.sigma_min = self.model_wrap.sigma_min.to(unet_patcher.current_device)
|
||||
self.model_wrap.sigma_max = self.model_wrap.sigma_max.to(unet_patcher.current_device)
|
||||
self.model_wrap.sigmas = self.model_wrap.sigmas.to(unet_patcher.current_device)
|
||||
|
||||
steps = steps or p.steps
|
||||
|
||||
Reference in New Issue
Block a user