prep other models
Browse files- startup.sh +31 -22
startup.sh
CHANGED
@@ -24,34 +24,43 @@ done
|
|
24 |
echo "$COMPONENT is running"
|
25 |
|
26 |
|
27 |
-
|
28 |
-
|
29 |
-
# echo "Starting prism-dinosiglip+13b"
|
30 |
-
# python3 -m interactive_demo --port 40000 --model_id prism-dinosiglip+13b &
|
31 |
-
# P4=$!
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
# echo "Starting prism-dinosiglip+7b"
|
36 |
-
# python3 -m interactive_demo --port 40000 --model_id prism-dinosiglip+7b &
|
37 |
-
COMPONENT="interactive_demo"
|
38 |
echo "Starting $COMPONENT"
|
39 |
-
nohup python3 -m interactive_demo --port 40000 --model_id prism-dinosiglip+
|
40 |
-
while [ `grep -c "loaded prismatic prism-dinosiglip+
|
41 |
-
sleep
|
42 |
echo "wait $COMPONENT to be running"
|
43 |
done
|
44 |
echo "$COMPONENT is running"
|
45 |
|
46 |
|
47 |
-
|
48 |
-
|
49 |
-
# python3 -m interactive_demo --port
|
50 |
-
#
|
51 |
-
|
52 |
-
#
|
53 |
-
#
|
54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
ls -als $HF_HOME
|
57 |
tree --du -h $HF_HOME
|
|
|
24 |
echo "$COMPONENT is running"
|
25 |
|
26 |
|
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 "wait $COMPONENT to be running"
|
33 |
done
|
34 |
echo "$COMPONENT is running"
|
35 |
|
36 |
|
37 |
+
# COMPONENT="interactive_demo prism-dinosiglip_7b"
|
38 |
+
# echo "Starting $COMPONENT"
|
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 "wait $COMPONENT to be running"
|
43 |
+
# done
|
44 |
+
# echo "$COMPONENT is running"
|
45 |
+
|
46 |
+
# COMPONENT="interactive_demo prism-dinosiglip-controlled+7b"
|
47 |
+
# echo "Starting $COMPONENT"
|
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` -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 40003 --model_id llava-v1.5-7b | tee llava-v1.5-7b.log &
|
59 |
+
# while [ `grep -c "loaded prismatic llava-v1.5-7b" llava-v1.5-7b` -eq '0' ];do
|
60 |
+
# sleep 10s;
|
61 |
+
# echo "wait $COMPONENT to be running"
|
62 |
+
# done
|
63 |
+
# echo "$COMPONENT is running"
|
64 |
|
65 |
ls -als $HF_HOME
|
66 |
tree --du -h $HF_HOME
|