Spaces:
Sleeping
Sleeping
update demo
Browse files
start.sh
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
-
|
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
|