diff options
author | Kohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com> | 2023-05-23 01:38:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 01:38:30 +0000 |
commit | 38aaad654bec640e99beb42964d09357878179bd (patch) | |
tree | e85acc43d6df375e937c2496d10e5a6ac40dd37e /modules/sd_samplers_kdiffusion.py | |
parent | 403b304162b670597f20b01f147bb042eb78ee5c (diff) | |
download | stable-diffusion-webui-gfx803-38aaad654bec640e99beb42964d09357878179bd.tar.gz stable-diffusion-webui-gfx803-38aaad654bec640e99beb42964d09357878179bd.tar.bz2 stable-diffusion-webui-gfx803-38aaad654bec640e99beb42964d09357878179bd.zip |
Better hint for user
Co-authored-by: catboxanon <122327233+catboxanon@users.noreply.github.com>
Diffstat (limited to 'modules/sd_samplers_kdiffusion.py')
-rw-r--r-- | modules/sd_samplers_kdiffusion.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/sd_samplers_kdiffusion.py b/modules/sd_samplers_kdiffusion.py index 7364ed44..969ef02b 100644 --- a/modules/sd_samplers_kdiffusion.py +++ b/modules/sd_samplers_kdiffusion.py @@ -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:
|