amd support (#607)

* amd support

* amd support
This commit is contained in:
lllyasviel
2023-10-09 15:47:46 -07:00
committed by GitHub
parent 7cbfb1bc2c
commit 0a2c1c4cbf
5 changed files with 37 additions and 17 deletions
+2 -10
View File
@@ -91,20 +91,12 @@ def download_models():
def ini_comfy_args():
argv = sys.argv
sys.argv = [sys.argv[0]]
from comfy.cli_args import args as comfy_args
comfy_args.disable_cuda_malloc = True
comfy_args.auto_launch = False
sys.argv = argv
from args_manager import args
return args
prepare_environment()
ini_comfy_args()
download_models()
from webui import *