add automatic version support for zero terminal SNR noise schedule option from #14145

This commit is contained in:
AUTOMATIC1111 2024-01-01 14:51:56 +03:00
parent 267fd5d76b
commit 45b7bba3d0
1 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import re
v160 = version.parse("1.6.0")
v170_tsnr = version.parse("v1.7.0-225")
def parse_version(text):
@ -33,3 +34,6 @@ def backcompat(d):
if ver < v160:
d["Old prompt editing timelines"] = True
if ver < v170_tsnr:
d["Downcast alphas_cumprod"] = True