move logs
Browse files- serve/gradio_web_server.py +1 -1
- startup.sh +1 -1
serve/gradio_web_server.py
CHANGED
@@ -23,7 +23,7 @@ from llava.utils import build_logger, moderation_msg, server_error_msg, violates
|
|
23 |
|
24 |
from serve import INTERACTION_MODES_MAP, MODEL_ID_TO_NAME
|
25 |
|
26 |
-
LOGDIR = "/logs"
|
27 |
|
28 |
# logger = build_logger("gradio_web_server", "gradio_web_server.log")
|
29 |
|
|
|
23 |
|
24 |
from serve import INTERACTION_MODES_MAP, MODEL_ID_TO_NAME
|
25 |
|
26 |
+
LOGDIR = "/home/user/app/logs"
|
27 |
|
28 |
# logger = build_logger("gradio_web_server", "gradio_web_server.log")
|
29 |
|
startup.sh
CHANGED
@@ -6,7 +6,7 @@ echo "PWD: $(pwd)"
|
|
6 |
echo $HF_TOKEN > .hf_token
|
7 |
echo "LS: $(ls -als)"
|
8 |
|
9 |
-
while true; do nvidia-smi;
|
10 |
|
11 |
python gpu_test.py
|
12 |
python -m serve.controller --host 0.0.0.0 --port 10000 &
|
|
|
6 |
echo $HF_TOKEN > .hf_token
|
7 |
echo "LS: $(ls -als)"
|
8 |
|
9 |
+
while true; do nvidia-smi; sleep 600; done &
|
10 |
|
11 |
python gpu_test.py
|
12 |
python -m serve.controller --host 0.0.0.0 --port 10000 &
|