mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
Diffusers fix compile
This commit is contained in:
@@ -698,9 +698,9 @@ def compile_diffusers(sd_model):
|
||||
if shared.opts.cuda_compile_precompile:
|
||||
sd_model("dummy prompt")
|
||||
shared.log.info("Complilation done.")
|
||||
return sd_model
|
||||
except Exception as err:
|
||||
shared.log.warning(f"Model compile not supported: {err}")
|
||||
return sd_model
|
||||
|
||||
def load_diffuser(checkpoint_info=None, already_loaded_state_dict=None, timer=None, op='model'): # pylint: disable=unused-argument
|
||||
import torch # pylint: disable=reimported,redefined-outer-name
|
||||
|
||||
Reference in New Issue
Block a user