sjzhao commited on
Commit
1fb8437
1 Parent(s): bd63939

update demo

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -1
  2. start.sh +9 -0
Dockerfile CHANGED
@@ -32,4 +32,5 @@ RUN git lfs install
32
 
33
  RUN pip install -r requirements.txt
34
 
35
- CMD ["python", 'start.py']
 
 
32
 
33
  RUN pip install -r requirements.txt
34
 
35
+ CMD ["bash", "start.sh"]
36
+ # CMD ["python", 'start.py']
start.sh ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ python3 gradio_demo/seed_llama_flask.py \
2
+ --image_transform configs/transform/clip_transform.yaml \
3
+ --tokenizer configs/tokenizer/seed_llama_tokenizer.yaml \
4
+ --model configs/llm/seed_llama_14b_8bit.yaml \
5
+ --port 7890 \
6
+ --llm_device cuda:0 \
7
+ --tokenizer_device cuda:0 \
8
+ --offload_encoder \
9
+ --offload_decoder