王远
82fdd40d49
[Feat]Xlite Qwen3 MoE Support Data Parallel (#6715)
### What this PR does / why we need it?
This patch adds support for the Qwen3-MoE data parallel in Xlite. For
more details about Xlite, please refer to the following
link:[https://atomgit.com/openeuler/GVirt/blob/master/xlite/README.md](https://atomgit.com/openeuler/GVirt/blob/master/xlite/README.md).
online server config:
```shell
port=$1
log=$2
export VLLM_USE_V1=1
export TASK_QUEUE_ENABLE=1
export HCCL_BUFFSIZE=512
export HCCL_OP_EXPANSION_MODE="AIV"
export OMP_PROC_BIND=false
export VLLM_ASCEND_ENABLE_NZ=0
sysctl -w vm.swappiness=0
sysctl -w kernel.numa_balancing=0
sysctl kernel.sched_migration_cost_ns=50000
ip=127.0.0.1
python -m vllm.entrypoints.openai.api_server \
--model /mnt/nvme1n1/wy/models/Qwen3-30B-A3B \
--tensor-parallel-size 2 \
--enable-expert-parallel \
--data-parallel-size 4 \
--gpu-memory-utilization 0.9 \
--max-num-batched-tokens 32768 \
--data-parallel-size-local 4 \
--max-num-seqs=200 \
--block-size 128 \
--max-model-len 6656 \
--trust-remote-code \
--disable-log-requests \
--served-model-name qwen \
--no-enable-prefix-caching \
--additional-config '{"xlite_graph_config": {"enabled": true, "full_mode": true}, "enable_cpu_binding": true}' \
--compilation-config '{"cudagraph_capture_sizes":[1, 16, 32, 48, 64, 100, 150, 200], "cudagraph_mode": "FULL_DECODE_ONLY"}' \
--async-scheduling \
--host ${ip} \
--port ${port} > ${log} 2>&1 &
```
test_config:
```shell
vllm bench serve \
--max-concurrency ${maxconcurrency} \
--num-prompts ${num_prompts} \
--host ${HOST} \
--port ${PORT} \
--model ${MODEL_NAME} \
--dataset-name random \
--backend openai-chat \
--random-input-len 512 \
--random-output-len 512 \
--random-range-ratio 0.2 \
--temperature 0.6 \
--metric-percentiles "50,90,99" \
--tokenizer ${TOKENIZER_PATH} \
--endpoint /v1/chat/completions \
--ignore-eos
```
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
- vLLM version: v0.16.0
- vLLM main:
c86cdcbcd2
Signed-off-by: uuzWY <Ethan.wangyuan@huawei.com>
Co-authored-by: uuzWY <Ethan.wangyuan@huawei.com>
2026-03-09 17:53:35 +08:00
..
2026-03-03 15:57:26 +08:00
2025-11-28 18:06:39 +08:00
2026-03-06 17:11:22 +08:00
2026-03-06 19:35:17 +08:00
2026-03-06 10:01:33 +08:00
2026-03-02 18:17:01 +08:00
2026-01-19 08:59:46 +08:00
2026-03-09 10:49:04 +08:00
2026-03-09 11:26:57 +08:00
2026-02-27 16:05:21 +08:00
2026-01-24 22:45:38 +08:00
2026-01-24 22:08:33 +08:00
2026-03-09 11:26:57 +08:00
2026-03-09 16:05:52 +08:00
2026-03-09 16:07:16 +08:00
2026-03-05 09:12:40 +08:00
2026-03-09 11:05:01 +08:00
2026-03-09 17:53:35 +08:00
2026-03-09 17:53:35 +08:00
2026-01-16 20:57:46 +08:00
2026-03-05 09:12:40 +08:00
2026-03-09 11:26:57 +08:00
2026-03-05 09:12:40 +08:00
2026-03-03 17:20:52 +08:00
2026-02-09 15:38:58 +08:00
2026-01-16 20:57:46 +08:00
2026-02-07 09:24:05 +08:00
2026-03-09 17:53:35 +08:00
2026-02-01 20:06:01 +08:00
2026-03-09 16:14:51 +08:00