mattb512 commited on
Commit
21ed67c
1 Parent(s): 66b70c8

adding dino13b

Browse files
Files changed (1) hide show
  1. startup.sh +11 -15
startup.sh CHANGED
@@ -24,21 +24,19 @@ done
24
  echo "$COMPONENT is running."
25
 
26
  # stuck after download config.json
27
- COMPONENT="interactive_demo prism-dinosiglip+13b"
28
- echo "Starting $COMPONENT"
29
- # CUDA_VISIBLE_DEVICES=0
30
- nohup python3 -m interactive_demo --port 40000 --model_id prism-dinosiglip+13b | tee prism-dinosiglip_13b.log &
31
- while [ `grep -c "loaded prismatic prism-dinosiglip+13b" prism-dinosiglip_13b.log` -eq '0' ];do
32
- sleep 10s;
33
- echo "waiting for $COMPONENT to be running"
34
- done
35
- echo "$COMPONENT is running"
36
 
37
  #works!
38
  COMPONENT="interactive_demo prism-dinosiglip_7b"
39
  echo "Starting $COMPONENT"
40
- #CUDA_VISIBLE_DEVICES=1
41
- nohup python3 -m interactive_demo --port 40001 --model_id prism-dinosiglip+7b | tee prism-dinosiglip_7b.log &
42
  while [ `grep -c "loaded prismatic prism-dinosiglip+7b" prism-dinosiglip_7b.log` -eq '0' ];do
43
  sleep 10s;
44
  echo "waiting for $COMPONENT to be running"
@@ -48,8 +46,7 @@ echo "$COMPONENT is running."
48
  #works!
49
  COMPONENT="interactive_demo prism-dinosiglip-controlled+7b"
50
  echo "Starting $COMPONENT"
51
- #CUDA_VISIBLE_DEVICES=2
52
- nohup python3 -m interactive_demo --port 40002 --model_id prism-dinosiglip-controlled+7b | tee prism-dinosiglip-controlled_7b.log &
53
  while [ `grep -c "loaded prismatic prism-dinosiglip-controlled+7b" prism-dinosiglip-controlled_7b.log` -eq '0' ];do
54
  sleep 10s;
55
  echo "waiting for $COMPONENT to be running"
@@ -59,8 +56,7 @@ echo "$COMPONENT is running"
59
  #works!
60
  COMPONENT="interactive_demo llava-v1.5-7b"
61
  echo "Starting $COMPONENT"
62
- #CUDA_VISIBLE_DEVICES=3
63
- 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 &
64
  while [ `grep -c "loaded llava llava-v1.5-7b" llava-v1.5-7b.log` -eq '0' ];do
65
  sleep 10s;
66
  echo "waiting for $COMPONENT to be running"
 
24
  echo "$COMPONENT is running."
25
 
26
  # stuck after download config.json
27
+ # COMPONENT="interactive_demo prism-dinosiglip+13b"
28
+ # echo "Starting $COMPONENT"
29
+ # nohup python3 -m interactive_demo --port 40000 --model_id prism-dinosiglip+13b | tee prism-dinosiglip_13b.log &
30
+ # while [ `grep -c "loaded prismatic prism-dinosiglip+13b" prism-dinosiglip_13b.log` -eq '0' ];do
31
+ # sleep 10s;
32
+ # echo "waiting for $COMPONENT to be running"
33
+ # done
34
+ # echo "$COMPONENT is running"
 
35
 
36
  #works!
37
  COMPONENT="interactive_demo prism-dinosiglip_7b"
38
  echo "Starting $COMPONENT"
39
+ CUDA_VISIBLE_DEVICES=0 nohup python3 -m interactive_demo --port 40001 --model_id prism-dinosiglip+7b | tee prism-dinosiglip_7b.log &
 
40
  while [ `grep -c "loaded prismatic prism-dinosiglip+7b" prism-dinosiglip_7b.log` -eq '0' ];do
41
  sleep 10s;
42
  echo "waiting for $COMPONENT to be running"
 
46
  #works!
47
  COMPONENT="interactive_demo prism-dinosiglip-controlled+7b"
48
  echo "Starting $COMPONENT"
49
+ CUDA_VISIBLE_DEVICES=1 nohup python3 -m interactive_demo --port 40002 --model_id prism-dinosiglip-controlled+7b | tee prism-dinosiglip-controlled_7b.log &
 
50
  while [ `grep -c "loaded prismatic prism-dinosiglip-controlled+7b" prism-dinosiglip-controlled_7b.log` -eq '0' ];do
51
  sleep 10s;
52
  echo "waiting for $COMPONENT to be running"
 
56
  #works!
57
  COMPONENT="interactive_demo llava-v1.5-7b"
58
  echo "Starting $COMPONENT"
59
+ 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 &
 
60
  while [ `grep -c "loaded llava llava-v1.5-7b" llava-v1.5-7b.log` -eq '0' ];do
61
  sleep 10s;
62
  echo "waiting for $COMPONENT to be running"