Merge branch 'custom-k-sched' of https://github.com/KohakuBlueleaf/stable-diffusion-webui into custom-k-sched

This commit is contained in:
Kohaku-Blueleaf 2023-05-23 09:55:31 +08:00
commit ec1608308c
1 changed files with 3 additions and 2 deletions

View File

@ -274,8 +274,9 @@ class KDiffusionSampler:
return func()
except RecursionError:
print(
'rho>5 with polyexponential scheduler may cause this error.'
'You should try to use smaller rho instead.'
'Encountered RecursionError during sampling, returning last latent. '
'rho >5 with a polyexponential scheduler may cause this error. '
'You should try to use a smaller rho value instead.'
)
return self.last_latent
except sd_samplers_common.InterruptedException: