print("Unsupported Hypernetwork format, if you report it I might implement it.",path,"",activation_func,is_layer_norm,use_dropout,activate_output,last_layer_dropout)
logging.error("Unsupported Hypernetwork format, if you report it I might implement it.{}{}{}{}{}{}".format(path,activation_func,is_layer_norm,use_dropout,activate_output,last_layer_dropout))
logging.info("Set cuda device to:{}".format(args.cuda_device))
ifargs.deterministic:
ifargs.deterministic:
if'CUBLAS_WORKSPACE_CONFIG'notinos.environ:
if'CUBLAS_WORKSPACE_CONFIG'notinos.environ:
@ -88,7 +88,7 @@ def cuda_malloc_warning():
ifbindevice_name:
ifbindevice_name:
cuda_malloc_warning=True
cuda_malloc_warning=True
ifcuda_malloc_warning:
ifcuda_malloc_warning:
print("\nWARNING: this card most likely does not support cuda-malloc, if you get \"CUDA error\" please run ComfyUI with: --disable-cuda-malloc\n")
logging.warning("\nWARNING: this card most likely does not support cuda-malloc, if you get \"CUDA error\" please run ComfyUI with: --disable-cuda-malloc\n")
defprompt_worker(q,server):
defprompt_worker(q,server):
e=execution.PromptExecutor(server)
e=execution.PromptExecutor(server)
@ -121,7 +121,7 @@ def prompt_worker(q, server):
current_time=time.perf_counter()
current_time=time.perf_counter()
execution_time=current_time-execution_start_time
execution_time=current_time-execution_start_time
print("Prompt executed in {:.2f} seconds".format(execution_time))
logging.info("Prompt executed in {:.2f} seconds".format(execution_time))