mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-13 13:17:02 +08:00
cuda
This commit is contained in:
parent
ace7627a86
commit
461d4ff420
@ -515,7 +515,7 @@ def unet_offload_device():
|
||||
if vram_state == VRAMState.HIGH_VRAM:
|
||||
return get_torch_device()
|
||||
else:
|
||||
return torch.device("cpu")
|
||||
return torch.device("cuda")
|
||||
|
||||
def unet_inital_load_device(parameters, dtype):
|
||||
torch_dev = get_torch_device()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user