Skip to content

Commit

Permalink
feat: logs should be written to stdout so that we can see them inside…
Browse files Browse the repository at this point in the history
… the worker
  • Loading branch information
TimPietrusky committed Oct 11, 2023
1 parent ecfec13 commit fc731ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/start.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit fc731ff

Please sign in to comment.