mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
set localfilesonly default false
This commit is contained in:
@@ -1052,7 +1052,7 @@ def load_diffuser(checkpoint_info=None, already_loaded_state_dict=None, timer=No
|
||||
shared.log.error(f'Failed loading {op}: {checkpoint_info.path} auto={err1} diffusion={err2}')
|
||||
return
|
||||
elif os.path.isfile(checkpoint_info.path) and checkpoint_info.path.lower().endswith('.safetensors'):
|
||||
diffusers_load_config["local_files_only"] = True
|
||||
diffusers_load_config["local_files_only"] = False # TODO causes online check on model load
|
||||
diffusers_load_config["extract_ema"] = shared.opts.diffusers_extract_ema
|
||||
if pipeline is None:
|
||||
shared.log.error(f'Diffusers {op} pipeline not initialized: {shared.opts.diffusers_pipeline}')
|
||||
|
||||
Reference in New Issue
Block a user