mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-16 00:23:30 +00:00
remove history commit
remove history commit remove history commit
This commit is contained in:
parent
d1f61cca5e
commit
317af7201f
@ -93,7 +93,7 @@ try:
|
||||
except:
|
||||
npu_available = False
|
||||
|
||||
if args.cpu or args.openvino:
|
||||
if args.cpu:
|
||||
cpu_state = CPUState.CPU
|
||||
|
||||
def is_intel_xpu():
|
||||
|
@ -1,5 +1,4 @@
|
||||
from __future__ import annotations
|
||||
from comfy.cli_args import args
|
||||
import uuid
|
||||
import comfy.model_management
|
||||
import comfy.conds
|
||||
@ -115,6 +114,7 @@ def prepare_sampling(model: ModelPatcher, noise_shape, conds, model_options=None
|
||||
minimum_memory_required = model.memory_required([noise_shape[0]] + list(noise_shape[1:])) + inference_memory
|
||||
comfy.model_management.load_models_gpu([model] + models, memory_required=memory_required, minimum_memory_required=minimum_memory_required)
|
||||
real_model = model.model
|
||||
|
||||
return real_model, conds, models
|
||||
|
||||
def cleanup_models(conds, models):
|
||||
|
Loading…
Reference in New Issue
Block a user