mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-05 11:42:34 +00:00
add automatic version support for zero terminal SNR noise schedule option from #14145
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user