Spaces:
Sleeping
Sleeping
sijiezhao
commited on
Commit
•
1404e4f
1
Parent(s):
c388648
update
Browse files- Dockerfile +5 -5
- start.sh +3 -2
Dockerfile
CHANGED
@@ -29,17 +29,17 @@ COPY --chown=user . $HOME/app
|
|
29 |
|
30 |
RUN git clone https://github.com/AILab-CVC/SEED.git
|
31 |
|
32 |
-
RUN ls -lh
|
33 |
|
34 |
-
RUN ls -lh SEED
|
35 |
|
36 |
RUN mv SEED/* . && rm -rf SEED
|
37 |
|
38 |
-
RUN git clone https://huggingface.co/AILab-CVC/SEED
|
39 |
|
40 |
-
RUN ls -l
|
41 |
|
42 |
-
RUN mv SEED/* pretrained/ && rm -rf SEED
|
43 |
|
44 |
RUN chmod +x start.sh
|
45 |
|
|
|
29 |
|
30 |
RUN git clone https://github.com/AILab-CVC/SEED.git
|
31 |
|
32 |
+
# RUN ls -lh
|
33 |
|
34 |
+
# RUN ls -lh SEED
|
35 |
|
36 |
RUN mv SEED/* . && rm -rf SEED
|
37 |
|
38 |
+
# RUN git clone https://huggingface.co/AILab-CVC/SEED
|
39 |
|
40 |
+
# RUN ls -l
|
41 |
|
42 |
+
# RUN mv SEED/* pretrained/ && rm -rf SEED
|
43 |
|
44 |
RUN chmod +x start.sh
|
45 |
|
start.sh
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
# screen -S script1 -dm bash -c 'python3 gradio_demo/seed_llama_flask.py --image_transform configs/transform/clip_transform.yaml --tokenizer configs/tokenizer/seed_llama_tokenizer.yaml --model configs/llm/seed_llama_14b.yaml --port 7890 --llm_device cuda:0 --tokenizer_device cuda:0 --offload_tokenizer; exec bash'
|
4 |
-
screen -S script2 -dm bash -c 'python3 gradio_demo/seed_llama_gradio.py --server_name 0.0.0.0 --server_port 7860; exec bash'
|
|
|
5 |
|
6 |
-
tail -f /dev/null
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
# screen -S script1 -dm bash -c 'python3 gradio_demo/seed_llama_flask.py --image_transform configs/transform/clip_transform.yaml --tokenizer configs/tokenizer/seed_llama_tokenizer.yaml --model configs/llm/seed_llama_14b.yaml --port 7890 --llm_device cuda:0 --tokenizer_device cuda:0 --offload_tokenizer; exec bash'
|
4 |
+
# screen -S script2 -dm bash -c 'python3 gradio_demo/seed_llama_gradio.py --server_name 0.0.0.0 --server_port 7860; exec bash'
|
5 |
+
python3 gradio_demo/seed_llama_gradio.py --server_name 0.0.0.0 --server_port 786
|
6 |
|
7 |
+
# tail -f /dev/null
|