From 20635612bb493b83fbda940e23f5806ca7181988 Mon Sep 17 00:00:00 2001 From: BennyKok Date: Thu, 18 Jan 2024 00:13:27 +0800 Subject: [PATCH] fix: forcing comfyui manager on a specific version --- builder/modal-builder/src/template/app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/builder/modal-builder/src/template/app.py b/builder/modal-builder/src/template/app.py index df21d7d..1d4145d 100644 --- a/builder/modal-builder/src/template/app.py +++ b/builder/modal-builder/src/template/app.py @@ -47,7 +47,8 @@ if not deploy_test: "cd /comfyui && pip install xformers!=0.0.18 -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu121", # Install comfyui manager - "cd /comfyui/custom_nodes && git clone --depth 1 https://github.com/ltdrdata/ComfyUI-Manager.git", + "cd /comfyui/custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Manager.git", + "cd /comfyui/custom_nodes/ComfyUI-Manager && git reset --hard 9c86f62b912f4625fe2b929c7fc61deb9d16f6d3", "cd /comfyui/custom_nodes/ComfyUI-Manager && pip install -r requirements.txt", "cd /comfyui/custom_nodes/ComfyUI-Manager && mkdir startup-scripts", ) @@ -55,7 +56,7 @@ if not deploy_test: # # Install comfy deploy # "cd /comfyui/custom_nodes && git clone https://github.com/BennyKok/comfyui-deploy.git", # ) - .copy_local_file(f"{current_directory}/data/extra_model_paths.yaml", "/comfyui") + # .copy_local_file(f"{current_directory}/data/extra_model_paths.yaml", "/comfyui") .copy_local_file(f"{current_directory}/data/start.sh", "/start.sh") .run_commands("chmod +x /start.sh")