sjzhao commited on
Commit
cd97ff2
1 Parent(s): 54ae738

update demo

Browse files
Files changed (1) hide show
  1. start.sh +5 -3
start.sh CHANGED
@@ -1,9 +1,11 @@
1
- nohup python3 gradio_demo/seed_llama_gradio.py --server_port 7860 --request_address http://127.0.0.1:7890/generate --model_type seed-llama-14b >./output.out &
2
- python3 gradio_demo/seed_llama_flask.py \
3
  --image_transform configs/transform/clip_transform.yaml \
4
  --tokenizer configs/tokenizer/seed_llama_tokenizer_hf.yaml \
5
  --model configs/llm/seed_llama_14b_8bit.yaml \
6
  --port 7890 \
7
  --llm_device cuda:0 \
8
  --tokenizer_device cuda:0 \
9
- --offload_encoder
 
 
 
1
+
2
+ nohup python3 gradio_demo/seed_llama_flask.py \
3
  --image_transform configs/transform/clip_transform.yaml \
4
  --tokenizer configs/tokenizer/seed_llama_tokenizer_hf.yaml \
5
  --model configs/llm/seed_llama_14b_8bit.yaml \
6
  --port 7890 \
7
  --llm_device cuda:0 \
8
  --tokenizer_device cuda:0 \
9
+ --offload_encoder >./output.out &
10
+
11
+ python3 gradio_demo/seed_llama_gradio.py --server_port 7860 --request_address http://127.0.0.1:7890/generate --model_type seed-llama-14b