Fully tested and now supporting locon on sdxl. If you have the ram

This commit is contained in:
Jaret Burkett
2023-09-04 14:05:10 -06:00
parent a4c3507a62
commit 64a5441832
5 changed files with 320 additions and 39 deletions

View File

@@ -367,9 +367,9 @@ class StableDiffusion:
# was trained on 0.7 (I believe)
grs = gen_config.guidance_rescale
# if grs is None or grs < 0.00001:
# grs = 0.7
grs = 0.0
if grs is None or grs < 0.00001:
grs = 0.7
# grs = 0.0
extra = {}
if sampler.startswith("sample_"):