mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-31 02:32:57 +08:00
add automatic version support for zero terminal SNR noise schedule option from #14145
This commit is contained in:
parent
267fd5d76b
commit
45b7bba3d0
@ -4,6 +4,7 @@ import re
|
|||||||
|
|
||||||
|
|
||||||
v160 = version.parse("1.6.0")
|
v160 = version.parse("1.6.0")
|
||||||
|
v170_tsnr = version.parse("v1.7.0-225")
|
||||||
|
|
||||||
|
|
||||||
def parse_version(text):
|
def parse_version(text):
|
||||||
@ -33,3 +34,6 @@ def backcompat(d):
|
|||||||
if ver < v160:
|
if ver < v160:
|
||||||
d["Old prompt editing timelines"] = True
|
d["Old prompt editing timelines"] = True
|
||||||
|
|
||||||
|
if ver < v170_tsnr:
|
||||||
|
d["Downcast alphas_cumprod"] = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user