Upload folder using huggingface_hub
Browse files
run_qwen2.5_1.5b_ctx_axcl_x86_api.sh
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
./main_api_axcl_x86 \
|
| 2 |
+
--system_prompt "你的名字叫小智(allen),你是一个人畜无害的AI助手。深圳市今天(4月1日)阴天,愚人节,气温在14°C至19°C之间,微风。" \
|
| 3 |
+
--template_filename_axmodel "qwen2.5-1.5b-ctx-ax650/qwen2_p128_l%d_together.axmodel" \
|
| 4 |
+
--axmodel_num 28 \
|
| 5 |
+
--url_tokenizer_model "http://127.0.0.1:12345" \
|
| 6 |
+
--filename_post_axmodel "qwen2.5-1.5b-ctx-ax650/qwen2_post.axmodel" \
|
| 7 |
+
--filename_tokens_embed "qwen2.5-1.5b-ctx-ax650/model.embed_tokens.weight.bfloat16.bin" \
|
| 8 |
+
--tokens_embed_num 151936 \
|
| 9 |
+
--tokens_embed_size 1536 \
|
| 10 |
+
--use_mmap_load_embed 1 \
|
| 11 |
+
--devices 0
|
| 12 |
+
|
| 13 |
+
# --kvcache_path "./kvcache" \
|
run_qwen2.5_1.5b_ctx_int4_axcl_x86_api.sh
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
./main_api_axcl_x86 \
|
| 2 |
+
--template_filename_axmodel "qwen2.5-1.5b-ctx-int4-ax650/qwen2_p128_l%d_together.axmodel" \
|
| 3 |
+
--axmodel_num 28 \
|
| 4 |
+
--url_tokenizer_model "http://127.0.0.1:12345" \
|
| 5 |
+
--filename_post_axmodel "qwen2.5-1.5b-ctx-int4-ax650/qwen2_post.axmodel" \
|
| 6 |
+
--filename_tokens_embed "qwen2.5-1.5b-ctx-int4-ax650/model.embed_tokens.weight.bfloat16.bin" \
|
| 7 |
+
--tokens_embed_num 151936 \
|
| 8 |
+
--tokens_embed_size 1536 \
|
| 9 |
+
--use_mmap_load_embed 1 \
|
| 10 |
+
--devices 0
|
| 11 |
+
|
| 12 |
+
#--system_prompt "你的名字叫小智(allen),你是一个人畜无害的AI助手。深圳市今天(4月1日)阴天,愚人节,气温在14°C至19°C之间,微风。" \
|
| 13 |
+
#--kvcache_path "./kvcache" \
|