From 5d15074334f247730f4accc472698ab97d92a25d Mon Sep 17 00:00:00 2001 From: Rob Ballantyne Date: Tue, 19 Nov 2024 17:03:33 +0000 Subject: [PATCH] Add log directory on start for tensorboard support --- build/COPY_ROOT_1/opt/ai-dock/bin/supervisor-fluxgym.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build/COPY_ROOT_1/opt/ai-dock/bin/supervisor-fluxgym.sh b/build/COPY_ROOT_1/opt/ai-dock/bin/supervisor-fluxgym.sh index 9a990f2..bf6d236 100755 --- a/build/COPY_ROOT_1/opt/ai-dock/bin/supervisor-fluxgym.sh +++ b/build/COPY_ROOT_1/opt/ai-dock/bin/supervisor-fluxgym.sh @@ -74,6 +74,7 @@ function start() { printf "Starting %s...\n" "${SERVICE_NAME}" cd /opt/fluxgym + mkdir -p logs source "$FLUXGYM_VENV/bin/activate" LD_PRELOAD=libtcmalloc.so GRADIO_SERVER_PORT=${LISTEN_PORT} python app.py \ ${ARGS_COMBINED}