mattb512 commited on
Commit
4490c79
1 Parent(s): 8756ce3
Files changed (1) hide show
  1. startup.sh +12 -14
startup.sh CHANGED
@@ -36,15 +36,17 @@ echo "$COMPONENT is running."
36
  #works!
37
  COMPONENT1="interactive_demo prism-dinosiglip_7b"
38
  echo "Starting $COMPONENT1"
39
- #CUDA_VISIBLE_DEVICES=0
40
- nohup python3 -m interactive_demo --port 40001 --model_id prism-dinosiglip+7b | tee prism-dinosiglip_7b.log &
41
 
42
  #works!
43
  COMPONENT2="interactive_demo prism-dinosiglip-controlled+7b"
44
  echo "Starting $COMPONENT2"
45
- #CUDA_VISIBLE_DEVICES=1
46
- nohup python3 -m interactive_demo --port 40002 --model_id prism-dinosiglip-controlled+7b | tee prism-dinosiglip-controlled_7b.log &
47
 
 
 
 
 
48
 
49
  while [ `grep -c "loaded prismatic prism-dinosiglip+7b" prism-dinosiglip_7b.log` -eq '0' ];do
50
  sleep 10s;
@@ -58,16 +60,12 @@ while [ `grep -c "loaded prismatic prism-dinosiglip-controlled+7b" prism-dinosig
58
  done
59
  echo "$COMPONENT2 is running"
60
 
61
- #works!
62
- # COMPONENT3="interactive_demo llava-v1.5-7b"
63
- # echo "Starting $COMPONENT3"
64
- # #CUDA_VISIBLE_DEVICES=2
65
- # nohup python3 -m interactive_demo --port 40003 --model_family llava-v15 --model_id llava-v1.5-7b --model_dir liuhaotian/llava-v1.5-7b | tee llava-v1.5-7b.log &
66
- # while [ `grep -c "loaded llava llava-v1.5-7b" llava-v1.5-7b.log` -eq '0' ];do
67
- # sleep 10s;
68
- # echo "waiting for $COMPONENT3 to be running"
69
- # done
70
- # echo "$COMPONENT3 is running"
71
 
72
  ls -als $HF_HOME
73
  tree --du -h $HF_HOME
 
36
  #works!
37
  COMPONENT1="interactive_demo prism-dinosiglip_7b"
38
  echo "Starting $COMPONENT1"
39
+ CUDA_VISIBLE_DEVICES=0 nohup python3 -m interactive_demo --port 40001 --model_id prism-dinosiglip+7b | tee prism-dinosiglip_7b.log &
 
40
 
41
  #works!
42
  COMPONENT2="interactive_demo prism-dinosiglip-controlled+7b"
43
  echo "Starting $COMPONENT2"
44
+ CUDA_VISIBLE_DEVICES=1 nohup python3 -m interactive_demo --port 40002 --model_id prism-dinosiglip-controlled+7b | tee prism-dinosiglip-controlled_7b.log &
 
45
 
46
+ #works!
47
+ COMPONENT3="interactive_demo llava-v1.5-7b"
48
+ echo "Starting $COMPONENT3"
49
+ CUDA_VISIBLE_DEVICES=2 nohup python3 -m interactive_demo --port 40003 --model_family llava-v15 --model_id llava-v1.5-7b --model_dir liuhaotian/llava-v1.5-7b | tee llava-v1.5-7b.log &
50
 
51
  while [ `grep -c "loaded prismatic prism-dinosiglip+7b" prism-dinosiglip_7b.log` -eq '0' ];do
52
  sleep 10s;
 
60
  done
61
  echo "$COMPONENT2 is running"
62
 
63
+ while [ `grep -c "loaded llava llava-v1.5-7b" llava-v1.5-7b.log` -eq '0' ];do
64
+ sleep 10s;
65
+ echo "waiting for $COMPONENT3 to be running"
66
+ done
67
+ echo "$COMPONENT3 is running"
68
+
 
 
 
 
69
 
70
  ls -als $HF_HOME
71
  tree --du -h $HF_HOME