mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 19:01:06 -08:00
Add error information for recursion error
This commit is contained in:
parent
302d95c726
commit
65a87ccc9b
1 changed files with 6 additions and 0 deletions
|
|
@ -272,6 +272,12 @@ class KDiffusionSampler:
|
|||
|
||||
try:
|
||||
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:
|
||||
return self.last_latent
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue