mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
fix unapply texture tiling
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user