mattb512 commited on
Commit
1fe60e2
1 Parent(s): a7119a1

single gpu

Browse files
Files changed (1) hide show
  1. startup.sh +6 -3
startup.sh CHANGED
@@ -36,7 +36,8 @@ echo "$COMPONENT is running."
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,7 +47,8 @@ echo "$COMPONENT is 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,7 +58,8 @@ echo "$COMPONENT is 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"
 
36
  #works!
37
  COMPONENT="interactive_demo prism-dinosiglip_7b"
38
  echo "Starting $COMPONENT"
39
+ #CUDA_VISIBLE_DEVICES=0
40
+ nohup python3 -m interactive_demo --port 40001 --model_id prism-dinosiglip+7b | tee prism-dinosiglip_7b.log &
41
  while [ `grep -c "loaded prismatic prism-dinosiglip+7b" prism-dinosiglip_7b.log` -eq '0' ];do
42
  sleep 10s;
43
  echo "waiting for $COMPONENT to be running"
 
47
  #works!
48
  COMPONENT="interactive_demo prism-dinosiglip-controlled+7b"
49
  echo "Starting $COMPONENT"
50
+ #CUDA_VISIBLE_DEVICES=1
51
+ nohup python3 -m interactive_demo --port 40002 --model_id prism-dinosiglip-controlled+7b | tee prism-dinosiglip-controlled_7b.log &
52
  while [ `grep -c "loaded prismatic prism-dinosiglip-controlled+7b" prism-dinosiglip-controlled_7b.log` -eq '0' ];do
53
  sleep 10s;
54
  echo "waiting for $COMPONENT to be running"
 
58
  #works!
59
  COMPONENT="interactive_demo llava-v1.5-7b"
60
  echo "Starting $COMPONENT"
61
+ #CUDA_VISIBLE_DEVICES=2
62
+ 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 &
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 $COMPONENT to be running"