diff options
author | Kohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com> | 2023-05-23 01:55:31 +0000 |
---|---|---|
committer | Kohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com> | 2023-05-23 01:55:31 +0000 |
commit | ec1608308c74d0215945fda0d18e82a2c3aaa791 (patch) | |
tree | 462f80c83e5f12d0011b7501911ed317536538d5 | |
parent | 89c44bbc15488a3d42eb63adee867b77ec432b09 (diff) | |
parent | 38aaad654bec640e99beb42964d09357878179bd (diff) | |
download | stable-diffusion-webui-gfx803-ec1608308c74d0215945fda0d18e82a2c3aaa791.tar.gz stable-diffusion-webui-gfx803-ec1608308c74d0215945fda0d18e82a2c3aaa791.tar.bz2 stable-diffusion-webui-gfx803-ec1608308c74d0215945fda0d18e82a2c3aaa791.zip |
Merge branch 'custom-k-sched' of https://github.com/KohakuBlueleaf/stable-diffusion-webui into custom-k-sched
-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:
|