mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 19:22:32 +00:00
Add error information for recursion error
This commit is contained in:
@@ -272,6 +272,12 @@ class KDiffusionSampler:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
return func()
|
return func()
|
||||||
|
except RecursionError:
|
||||||
|
print(
|
||||||
|
'rho>5 with polyexponential scheduler may cause this error.'
|
||||||
|
'You should try to use smaller rho instead.'
|
||||||
|
)
|
||||||
|
return self.last_latent
|
||||||
except sd_samplers_common.InterruptedException:
|
except sd_samplers_common.InterruptedException:
|
||||||
return self.last_latent
|
return self.last_latent
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user