3 models
Browse files- startup.sh +17 -17
startup.sh
CHANGED
@@ -33,7 +33,7 @@ echo "$COMPONENT is 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 &
|
@@ -44,24 +44,24 @@ done
|
|
44 |
echo "$COMPONENT is running."
|
45 |
|
46 |
#works!
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
|
56 |
#works!
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
|
66 |
ls -als $HF_HOME
|
67 |
tree --du -h $HF_HOME
|
|
|
33 |
# done
|
34 |
# echo "$COMPONENT is running"
|
35 |
|
36 |
+
#works!
|
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 &
|
|
|
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 |
#works!
|
57 |
+
COMPONENT="interactive_demo llava-v1.5-7b"
|
58 |
+
echo "Starting $COMPONENT"
|
59 |
+
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"
|
63 |
+
done
|
64 |
+
echo "$COMPONENT is running"
|
65 |
|
66 |
ls -als $HF_HOME
|
67 |
tree --du -h $HF_HOME
|