12345678# localscp -P 8333 images.zip root@139.9.155.20:/media/# remotesudo apt updatesudo apt install -y unzipcd /mediaunzip images.zip 准备图片: 12345678910111213141516#!/usr/bin/env bashimage_base64=$(base64 -w 0 /media/b0.jpg)cat > /media/image_request.json <<EOF{ "model": "/root/.cache/modelscope/hub/models/Qwen/Qwen3-VL-8B-Instruct", "messages": [ {"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": [ {"type": "image_url", "image_url": {"url": "data:image/jpeg;base64,$image_base64"}}, {"type": "text", "text": "What is the text in the illustrate?"} ]} ]}EOF 1234567891011121314export PYTORCH_NPU_ALLOC_CONF='expandable_segments:True'export NPU_MEMORY_FRACTION=0.96vllm serve /root/.cache/modelscope/hub/models/Qwen/Qwen3-VL-8B-Instruct \--max_model_len 32768 \--enforce-eager \--gpu-memory-utilization 0.75curl -X POST http://localhost:8000/v1/chat/completions \-H "Content-Type: application/json" \-d @/media/image_request.jsoncurl http://xxxx:50000/v1/chat/completions -H "Content-Type: application/json" -d @/tmp/request.json