prep other models
Browse files- startup.sh +18 -17
startup.sh
CHANGED
@@ -19,7 +19,7 @@ echo "Starting $COMPONENT"
|
|
19 |
nohup python3 -m serve.controller --host 0.0.0.0 --port 10000 2>&1 | tee serve.controller.log &
|
20 |
while [ `grep -c "Uvicorn running on" serve.controller.log` -eq '0' ];do
|
21 |
sleep 1s;
|
22 |
-
echo "
|
23 |
done
|
24 |
echo "$COMPONENT is running"
|
25 |
|
@@ -29,7 +29,7 @@ echo "$COMPONENT is running"
|
|
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 "
|
33 |
# done
|
34 |
# echo "$COMPONENT is running"
|
35 |
|
@@ -39,29 +39,30 @@ echo "$COMPONENT is running"
|
|
39 |
# 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 "
|
43 |
# done
|
44 |
# echo "$COMPONENT is running"
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
nohup python3 -m interactive_demo --port 40002 --model_id prism-dinosiglip-controlled+7b | tee prism-dinosiglip-controlled_7b.log &
|
49 |
-
while [ `grep -c "loaded prismatic prism-dinosiglip-controlled+7b" prism-dinosiglip-controlled_7b.log` -eq '0' ];do
|
50 |
-
sleep 10s;
|
51 |
-
echo "wait $COMPONENT to be running"
|
52 |
-
done
|
53 |
-
echo "$COMPONENT is running"
|
54 |
-
|
55 |
-
|
56 |
-
# COMPONENT="interactive_demo llava-v1.5-7b"
|
57 |
# echo "Starting $COMPONENT"
|
58 |
-
# nohup python3 -m interactive_demo --port
|
59 |
-
# while [ `grep -c "loaded prismatic
|
60 |
# sleep 10s;
|
61 |
-
# echo "
|
62 |
# done
|
63 |
# echo "$COMPONENT is running"
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
ls -als $HF_HOME
|
66 |
tree --du -h $HF_HOME
|
67 |
|
|
|
19 |
nohup python3 -m serve.controller --host 0.0.0.0 --port 10000 2>&1 | tee serve.controller.log &
|
20 |
while [ `grep -c "Uvicorn running on" serve.controller.log` -eq '0' ];do
|
21 |
sleep 1s;
|
22 |
+
echo "waiting for $COMPONENT to be running"
|
23 |
done
|
24 |
echo "$COMPONENT is running"
|
25 |
|
|
|
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 |
|
|
|
39 |
# 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"
|
43 |
# done
|
44 |
# echo "$COMPONENT is running"
|
45 |
|
46 |
+
#works!
|
47 |
+
# COMPONENT="interactive_demo prism-dinosiglip-controlled+7b"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
# echo "Starting $COMPONENT"
|
49 |
+
# 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"
|
53 |
# done
|
54 |
# echo "$COMPONENT is running"
|
55 |
|
56 |
+
|
57 |
+
COMPONENT="interactive_demo llava-v1.5-7b"
|
58 |
+
echo "Starting $COMPONENT"
|
59 |
+
nohup python3 -m interactive_demo --port 40003 --model_id llava-v1.5-7b | tee llava-v1.5-7b.log &
|
60 |
+
while [ `grep -c "loaded prismatic llava-v1.5-7b" llava-v1.5-7b.log` -eq '0' ];do
|
61 |
+
sleep 10s;
|
62 |
+
echo "waiting for $COMPONENT to be running"
|
63 |
+
done
|
64 |
+
echo "$COMPONENT is running"
|
65 |
+
|
66 |
ls -als $HF_HOME
|
67 |
tree --du -h $HF_HOME
|
68 |
|