Qwen3-VL-2B-Instruct / run_video_axcl_x86.sh
lihongjie
first commit
8ceede9
raw
history blame contribute delete
721 Bytes
AXMODEL_DIR=./Qwen3-VL-2B-Instruct-AX650-c128_p1152/
./main_axcl_x86 \
--template_filename_axmodel "${AXMODEL_DIR}/qwen3_vl_text_p128_l%d_together.axmodel" \
--axmodel_num 28 \
--filename_image_encoder_axmodedl "${AXMODEL_DIR}/Qwen3-VL-2B-Instruct_vision.axmodel" \
--use_mmap_load_embed 1 \
--filename_tokenizer_model "http://127.0.0.1:8080" \
--filename_post_axmodel "${AXMODEL_DIR}/qwen3_vl_text_post.axmodel" \
--filename_tokens_embed "${AXMODEL_DIR}/model.embed_tokens.weight.bfloat16.bin" \
--tokens_embed_num 151936 \
--tokens_embed_size 2048 \
--patch_size 16 \
--live_print 1 \
--video 1 \
--img_width 384 \
--img_height 384 \
--vision_start_token_id 151652 \
--post_config_path post_config.json \
--devices 0,