Commit 45b7bba3 authored by AUTOMATIC1111's avatar AUTOMATIC1111

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

parent 267fd5d7
...@@ -4,6 +4,7 @@ import re ...@@ -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): ...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment