fix unapply texture tiling

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-06-26 09:30:15 -04:00
parent 931650c43f
commit 2714d29993
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -40,6 +40,7 @@
- Fix prompt parser batch size
- Fix process batch with batch count
- Fix process batch double image save
- Fix unapply texture tiling
## Update for 2025-06-16
+2 -1
View File
@@ -551,7 +551,8 @@ def set_latents(p):
def apply_circular(enable: bool, model):
if not hasattr(model, 'unet') or not hasattr(model, 'vae'):
return
if getattr(model, 'texture_tiling', False) == enable:
current = getattr(model, 'texture_tiling', 0)
if isinstance(current, bool) and current == enable:
return
try:
i = 0
-1
View File
@@ -427,7 +427,6 @@ def load_diffuser_folder(model_type, pipeline, checkpoint_info, diffusers_load_c
def load_diffuser_file(model_type, pipeline, checkpoint_info, diffusers_load_config, op='model'):
sd_model = None
diffusers_load_config["local_files_only"] = diffusers_version < 28 # must be true for old diffusers, otherwise false but we override config for sd15/sdxl
diffusers_load_config["extract_ema"] = shared.opts.diffusers_extract_ema
if pipeline is None:
shared.log.error(f'Load {op}: pipeline={shared.opts.diffusers_pipeline} not initialized')