mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-27 18:23:57 +00:00
Finally removed model_hijack
finally
This commit is contained in:
@@ -562,6 +562,8 @@ def load_model(checkpoint_info=None, already_loaded_state_dict=None):
|
||||
sd_model = forge_loader(state_dict)
|
||||
timer.record("forge model load")
|
||||
|
||||
sd_model.extra_generation_params = {}
|
||||
sd_model.comments = []
|
||||
sd_model.sd_checkpoint_info = checkpoint_info
|
||||
sd_model.filename = checkpoint_info.filename
|
||||
sd_model.sd_model_hash = checkpoint_info.calculate_shorthash()
|
||||
|
||||
Reference in New Issue
Block a user