mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-27 17:51:22 +00:00
use safer codes
This commit is contained in:
@@ -459,7 +459,7 @@ def apply_token_merging(sd_model, token_merging_ratio):
|
||||
return
|
||||
|
||||
|
||||
@torch.no_grad()
|
||||
@torch.inference_mode()
|
||||
def forge_model_reload():
|
||||
current_hash = str(model_data.forge_loading_parameters)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user