diff --git a/src/start.sh b/src/start.sh index 939830b..c7c98d1 100644 --- a/src/start.sh +++ b/src/start.sh @@ -1,12 +1,11 @@ #!/usr/bin/env bash -echo "runpod-worker-comfy: Starting ComfyUI" - # Use libtcmalloc for better memory management TCMALLOC="$(ldconfig -p | grep -Po "libtcmalloc.so.\d" | head -n 1)" export LD_PRELOAD="${TCMALLOC}" -python /ComfyUI/main.py --disable-auto-launch --disable-metadata > /workspace/logs/comfy.log 2>&1 & +echo "runpod-worker-comfy: Starting ComfyUI" +python3 /ComfyUI/main.py --disable-auto-launch --disable-metadata & echo "runpod-worker-comfy: Starting RunPod Handler" python3 -u /rp_handler.py \ No newline at end of file