mattb512 commited on
Commit
4d836a9
·
1 Parent(s): f0edafb

add sleep between steps

Browse files
Files changed (1) hide show
  1. startup.sh +7 -0
startup.sh CHANGED
@@ -13,6 +13,7 @@ python3 -c "import torch; \
13
  print(f\"device count = {torch.cuda.device_count()}\"); \
14
  print(f\"current device = {torch.cuda.current_device()}\")"
15
 
 
16
  python3 -m serve.controller --host 0.0.0.0 --port 10000 &
17
  P1=$!
18
 
@@ -22,10 +23,14 @@ echo "Starting serve.gradio_web_server"
22
  python3 -m serve.gradio_web_server --controller http://127.0.0.1:10000 --model-list-mode reload & # --share
23
  P2=$!
24
 
 
 
25
  # echo "Starting prism-dinosiglip+13b"
26
  # python3 -m interactive_demo --port 40000 --model_id prism-dinosiglip+13b &
27
  # P4=$!
28
 
 
 
29
  echo "Starting prism-dinosiglip+7b"
30
  python3 -m interactive_demo --port 40000 --model_id prism-dinosiglip+7b &
31
  P5=$!
@@ -36,6 +41,8 @@ P5=$!
36
  # python3 -m interactive_demo --port 40003 --model_id llava-v1.5-7b &
37
  # P7=$!
38
 
 
 
39
  ls -als $HF_HOME
40
  tree --du -h $HF_HOME
41
 
 
13
  print(f\"device count = {torch.cuda.device_count()}\"); \
14
  print(f\"current device = {torch.cuda.current_device()}\")"
15
 
16
+ echo "Starting serve.controller"
17
  python3 -m serve.controller --host 0.0.0.0 --port 10000 &
18
  P1=$!
19
 
 
23
  python3 -m serve.gradio_web_server --controller http://127.0.0.1:10000 --model-list-mode reload & # --share
24
  P2=$!
25
 
26
+ # sleep 30
27
+
28
  # echo "Starting prism-dinosiglip+13b"
29
  # python3 -m interactive_demo --port 40000 --model_id prism-dinosiglip+13b &
30
  # P4=$!
31
 
32
+ sleep 30
33
+
34
  echo "Starting prism-dinosiglip+7b"
35
  python3 -m interactive_demo --port 40000 --model_id prism-dinosiglip+7b &
36
  P5=$!
 
41
  # python3 -m interactive_demo --port 40003 --model_id llava-v1.5-7b &
42
  # P7=$!
43
 
44
+ sleep 30
45
+
46
  ls -als $HF_HOME
47
  tree --du -h $HF_HOME
48