mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 23:00:51 +08:00
Fix _model_patcher typo
This commit is contained in:
parent
a2167e9824
commit
8b4e5cee61
@ -483,7 +483,7 @@ def load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, o
|
||||
_model_patcher = model_patcher.ModelPatcher(model, load_device=load_device, offload_device=model_management.unet_offload_device(), current_device=inital_load_device)
|
||||
if inital_load_device != torch.device("cpu"):
|
||||
print("loaded straight to GPU")
|
||||
model_management.load_model_gpu(model_patcher)
|
||||
model_management.load_model_gpu(_model_patcher)
|
||||
|
||||
return (_model_patcher, clip, vae, clipvision)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user