You need to sign in or sign up before continuing.
Commit ed2965a5 authored by weishb's avatar weishb
Browse files

update README.md

parent 4562f845
......@@ -65,14 +65,22 @@ docker run -it \
## 推理
### vllm
#### 单机推理
启动服务
```bash
vllm serve Qwen/Qwen3-VL-Embedding-8B --runner pooling --host 0.0.0.0 --port 8000 --served-model-name qwen3-vl-embedding --max-model-len 8192 --gpu-memory-utilization 0.95
```
调用服务:
```
curl -s http://127.0.0.1:8000/v1/embeddings -H "Content-Type: application/json" -d '{"model": "qwen3-vl-embedding","input": "这是一个用于测试 vLLM embedding 服务是否正常的句子。"}'
## serve启动
vllm serve Qwen/Qwen3-VL-Embedding-8B \
--runner pooling \
--host 0.0.0.0 \
--port 8000 \
--served-model-name qwen3-vl-embedding \
--max-model-len 8192 \
--gpu-memory-utilization 0.95
## client访问
curl -s http://127.0.0.1:8000/v1/embeddings \
-H "Content-Type: application/json" \
-d '{"model": "qwen3-vl-embedding",
"input": "这是一个用于测试 vLLM embedding 服务是否正常的句子。"
}'
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment