Qwen3-VL-Embedding-2B
A 2B vision-language embedding model for text and multimodal retrieval. Verified single-card pooling on Atlas A3 and Atlas 300I DUO (310P) with vLLM Ascend 0.23.0.
Atlas A3 single-card pooling: LeCaRDv2 0.65931, embeddings bench 153.13 req/s / 30626 tok/s (vLLM Ascend 0.23.0)
Preparation
Qwen3-VL-Embedding-2B is a 2B-parameter vision-language embedding model in the Qwen3 series. It produces vectors for text and mixed multimodal inputs used in retrieval, clustering, and similarity ranking. This recipe migrates the official vLLM Ascend tutorial into structured YAML. Verified end-to-end on Atlas A3 (Ascend910, single die) and Atlas 300I DUO (310P3) with vLLM 0.23.0 / vLLM Ascend 0.23.0. Serve with --runner pooling. On Atlas A3 use --enforce-eager with the 0.23.0 stack used here; on Atlas 300I DUO also pass --dtype float16.
Deployment Guide
Select NPU type and deployment options to view the corresponding deployment instructions.
Verification
After the service is started, request embeddings for the tutorial sentences.
curl -sS http://localhost:<port>/v1/embeddings \
-H "Content-Type: application/json" \
-d '{
"model": "Qwen/Qwen3-VL-Embedding-2B",
"input": [
"The capital of China is Beijing.",
"Gravity is a force that attracts two bodies towards each other. It gives weight to physical objects and is responsible for the movement of planets around the sun."
]
}'Expected result: HTTP 200, object is list, data has two embedding objects, and usage.prompt_tokens is 39.
Verified on Atlas 300I DUO (310P3, float16) with vLLM 0.23.0 / vLLM Ascend 0.23.0: both vectors were returned with dimension 2048. The first two values of each vector match the tutorial sample (-0.028474265709519386, -0.02678542211651802 and -0.016785264015197754, -0.003787524998188019).
Verified on Atlas A3 (Ascend910, single die, default bfloat16, --enforce-eager, --max-model-len 1024): HTTP 200, dimension 2048, prompt_tokens 39. Leading values are close to the float16 sample (-0.028049791231751442, -0.026741769164800644 and -0.016862617805600166, -0.0035251593217253685) and are not bit-identical.
More Info
Accuracy
Atlas A3 (Ascend910, single die, vLLM Ascend 0.23.0): MTEB LeCaRDv2 0.65931 with float16, max_model_len 10240, enforce_eager, and chunked prefill disabled. Atlas 300I DUO float16 smoke matched the tutorial embedding prefix (dimension 2048).
Accuracy
The official tutorial evaluates retrieval with MTEB (VllmEncoderWrapper, task LeCaRDv2, revision="norm", dtype="float16", max_model_len=10240). The tutorial does not publish a numeric target.
Measured on Atlas A3 (Ascend910, single die, vLLM / vLLM Ascend 0.23.0): LeCaRDv2 0.65931. The wrapper was started with enforce_eager=True, enable_chunked_prefill=False, and encode_kwargs={"batch_size": 1}. The first attempt with default chunked prefill stalled at 151/159 prompts (AICore idle). Queries 159 and corpus 3795 then finished in about 6.4 minutes.
model = VllmEncoderWrapper(
model_path,
revision="norm",
dtype="float16",
max_model_len=10240,
enforce_eager=True,
enable_chunked_prefill=False,
max_num_seqs=2,
)
tasks = mteb.get_tasks(tasks=["LeCaRDv2"])
results = mteb.evaluate(model, tasks=tasks, encode_kwargs={"batch_size": 1}, overwrite_strategy="always")Benchmark
Atlas A3 embeddings bench (tutorial command, unlimited request rate, random input 200): 1000/1000 success, 153.13 req/s, 30626.58 tok/s, mean E2E 4644.98 ms, P99 6426.33 ms. Serve flags: pooling, max-model-len 1024, enforce-eager, default bfloat16.
Benchmark
Measure pooling throughput with the embeddings benchmark:
vllm bench serve \
--model Qwen/Qwen3-VL-Embedding-2B \
--backend openai-embeddings \
--port 8000 \
--dataset-name random \
--endpoint /v1/embeddings \
--random-input 200 \
--save-result \
--result-dir ./| Scenario | Settings | Result |
|---|---|---|
| Atlas A3 embeddings bench | `--runner pooling`, `--enforce-eager`, `--max-model-len 1024`, `--backend openai-embeddings`, `--random-input 200`, 1000 requests, no `--request-rate` | 1000/1000 success, 6.53 s, 153.13 req/s, 30626.58 tok/s, mean E2E 4644.98 ms, P99 6426.33 ms |
| Atlas 300I DUO smoke | `--dtype float16`, `--max-model-len 1024` | One 310P3 die; about 21 GB used |
The A3 latency is the unlimited-concurrency tutorial command: all 1000 requests are issued together, so they queue. It is not a fixed-rate latency number.