Skip to content

Commit 83965d7

Browse files
mateng8364m30087638
andauthored
[Test] Add Kimi K3.1 Pro A3 1P1D nightly accuracy coverage (#22999)
### What this PR does / why we need it? Adds nightly GSM8K accuracy coverage for Kimi K3.1 Pro W4A8 E256 on two Ascend A3 nodes in a 1P1D configuration. A single nightly job starts the service once and runs five sequential accuracy passes. Each pass uses the first 300 examples, client concurrency 60, temperature 0, and a 4,096-token output limit. Both the prefill and decode nodes use a maximum of 60 concurrent sequences. ### Does this PR introduce _any_ user-facing change? No. This change adds SIT and nightly CI coverage. ### How was this patch tested? - Checked the staged diff with `git diff --cached --check`. - Reviewed the A3 double-node registration and the external-DP runner's per-benchmark execution loop. - CI testing only for the submitted configuration. The five-pass NPU run, ModelScope cache availability, and completion within the current workflow timeout remain to be verified. - `bash format.sh ci` could not run on the local Windows host because Bash was unavailable. Trigger the hardware run with: ```text /nightly Kimi-K3.1-Pro-W4A8-E256-A3-1P1D ``` --- ### Checklist #### Testing - [ ] **Boundary / edge-case coverage** - [ ] **Regression test** - [ ] **Error / failure path coverage** - [x] **Meaningful & reliable tests** - [ ] **Performance impact** - vLLM main: vllm-project/vllm@c410543 --------- Signed-off-by: m30087638 <mateng52@h-partners.com> Signed-off-by: mateng8364 <57696366+mateng8364@users.noreply.github.com> Co-authored-by: m30087638 <mateng52@h-partners.com>
1 parent c795117 commit 83965d7

2 files changed

Lines changed: 204 additions & 4 deletions

File tree

‎.github/workflows/configs/nightly_config.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,6 @@ a3:
103103
config_file_path: GLM-5.3-W8A8C8-A3-ALL-COMBINED.yaml
104104
config_base_path: tests/SIT/cases/models/configs/GLM/full_model
105105
size: 4
106-
- name: Kimi-K3-W4A8-A3-1M-PD
107-
config_file_path: Kimi-K3-W4A8-A3-1M-PD.yaml
108-
config_base_path: tests/SIT/cases/models/configs/Kimi
109-
size: 8
110106
- name: DeepSeek-V4-Pro-w4a8-prefix-cache-PD
111107
config_file_path: DeepSeek-V4-Pro-w4a8-prefix-cache-PD.yaml
112108
config_base_path: tests/SIT/cases/models/configs/DeepSeek
@@ -121,6 +117,10 @@ a3:
121117
size: 3
122118
double_node:
123119
test_config:
120+
- name: Kimi-K3.1-Pro-W4A8-E256-A3-1P1D
121+
config_file_path: Kimi-K3.1-Pro-W4A8-E256-A3-1P1D.yaml
122+
config_base_path: tests/SIT/cases/models/configs/Kimi
123+
size: 2
124124
- name: multi-node-GLM-5.1-W8A8C8-MTP-A3_198k_function
125125
config_file_path: GLM-5.1-W8A8C8-A3_198k_function.yaml
126126
config_base_path: tests/SIT/cases/models/configs/GLM
Lines changed: 200 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,200 @@
1+
test_name: Kimi-K3.1-Pro-W4A8-E256-A3-1P1D
2+
model: /root/.cache/modelscope/hub/models/Ares8364/Kimi-K3.1-Pro-w4a8-e256
3+
num_nodes: 2
4+
npu_per_node: 16
5+
dp_load_balancing: external
6+
routing:
7+
type: disaggregated_prefill
8+
groups:
9+
prefiller:
10+
- 0
11+
decoder:
12+
- 1
13+
config:
14+
- node_index: 0
15+
port_start: 8080
16+
dp_rpc_port: 13389
17+
dp_size: 1
18+
dp_size_local: 1
19+
dp_rank_start: 0
20+
tp_size: 16
21+
cp_size: 1
22+
dp_address: ${NODE_0_IP}
23+
pp_size: 1
24+
distributed_executor_backend: mp
25+
- node_index: 1
26+
port_start: 8080
27+
dp_rpc_port: 13390
28+
dp_size: 1
29+
dp_size_local: 1
30+
dp_rank_start: 0
31+
tp_size: 16
32+
dp_address: ${NODE_1_IP}
33+
env_common: &env_common
34+
VLLM_USE_MODELSCOPE: 'true'
35+
VLLM_USE_V2_MODEL_RUNNER: '1'
36+
VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS: '30000'
37+
VLLM_HOST_IP: ${LOCAL_IP}
38+
HCCL_BUFFSIZE: '1024'
39+
HCCL_CONNECT_TIMEOUT: '1200'
40+
HCCL_NPU_SOCKET_PORT_RANGE: auto
41+
ASCEND_RT_VISIBLE_DEVICES: ${VISIBLE_DEVICES}
42+
LD_LIBRARY_PATH: /usr/local/Ascend/ascend-toolkit/latest/python/site-packages/mooncake:$LD_LIBRARY_PATH
43+
PYTORCH_NPU_ALLOC_CONF: expandable_segments:True
44+
PYTHONHASHSEED: '0'
45+
OMP_NUM_THREADS: '1'
46+
OMP_PROC_BIND: 'false'
47+
FLA_STABLE_DEBUG_DESC: '0'
48+
TORCH_EXTENSIONS_DIR: /tmp/kimi_k31_torch_extensions/node-${NODE_INDEX}/dp-${DP_RANK}
49+
env_prefill: &id001
50+
<<: *env_common
51+
HCCL_IF_BASE_PORT: '51000'
52+
HCCL_HOST_SOCKET_PORT_RANGE: 51000-51063
53+
env_decode: &id002
54+
<<: *env_common
55+
HCCL_IF_BASE_PORT: '50000'
56+
HCCL_HOST_SOCKET_PORT_RANGE: 50000-50063
57+
HCCL_OP_EXPANSION_MODE: AIV
58+
HCCL_DETERMINISTIC: 'true'
59+
templates:
60+
- node_index: 0
61+
envs: *id001
62+
server_cmd_template:
63+
- --host
64+
- 0.0.0.0
65+
- --port
66+
- ${PORT}
67+
- --quantization
68+
- ascend
69+
- --enable-auto-tool-choice
70+
- --reasoning-parser
71+
- kimi_k3
72+
- --tool-call-parser
73+
- kimi_k3
74+
- --tokenizer-mode
75+
- kimi_k3
76+
- --data-parallel-size
77+
- '1'
78+
- --pipeline-parallel-size
79+
- '1'
80+
- --prefill-context-parallel-size
81+
- '1'
82+
- --decode-context-parallel-size
83+
- '1'
84+
- --distributed-executor-backend
85+
- mp
86+
- --data-parallel-backend
87+
- mp
88+
- --tensor-parallel-size
89+
- '16'
90+
- --enable-expert-parallel
91+
- --seed
92+
- '1024'
93+
- --max-model-len
94+
- '147456'
95+
- --max-num-batched-tokens
96+
- '8192'
97+
- --max-num-seqs
98+
- '60'
99+
- --enforce-eager
100+
- --trust-remote-code
101+
- --gpu-memory-utilization
102+
- '0.90'
103+
- --block-size
104+
- '768'
105+
- --kv-cache-dtype
106+
- int8
107+
- --attention_config.indexer_kv_dtype
108+
- int8
109+
- --mm-encoder-tp-mode
110+
- data
111+
- --no-mm-device-do-normalize
112+
- --mm-processor-cache-gb
113+
- '1'
114+
- --skip-mm-profiling
115+
- --enable-prefix-caching
116+
- --additional-config
117+
- '{"enable_flashcomm1":false,"multistream_overlap_shared_expert":false,"enable_fused_mc2":0,"enable_shared_expert_dp":false}'
118+
- --limit-mm-per-prompt
119+
- '{"vision_chunk":2}'
120+
- --kv-transfer-config
121+
- '{"kv_connector":"MooncakeConnectorV2","kv_role":"kv_producer","kv_port":30000,"kv_connector_extra_config":{"prefill":{"dp_size":1,"tp_size":16,"pp_size":1,"pcp_size":1,"dcp_size":1},"decode":{"dp_size":1,"tp_size":16,"pp_size":1,"pcp_size":1,"dcp_size":16}}}'
122+
- node_index: 1
123+
envs: *id002
124+
server_cmd_template:
125+
- --host
126+
- 0.0.0.0
127+
- --port
128+
- ${PORT}
129+
- --quantization
130+
- ascend
131+
- --enable-auto-tool-choice
132+
- --reasoning-parser
133+
- kimi_k3
134+
- --tool-call-parser
135+
- kimi_k3
136+
- --tokenizer-mode
137+
- kimi_k3
138+
- --data-parallel-size
139+
- ${DP_SIZE}
140+
- --distributed-executor-backend
141+
- mp
142+
- --tensor-parallel-size
143+
- ${TP_SIZE}
144+
- --pipeline-parallel-size
145+
- '1'
146+
- --prefill-context-parallel-size
147+
- '1'
148+
- --decode-context-parallel-size
149+
- '16'
150+
- --cp-kv-cache-interleave-size
151+
- '768'
152+
- --block-size
153+
- '768'
154+
- --enable-expert-parallel
155+
- --seed
156+
- '1024'
157+
- --max-model-len
158+
- '147456'
159+
- --max-num-batched-tokens
160+
- '8192'
161+
- --max-num-seqs
162+
- '60'
163+
- --trust-remote-code
164+
- --gpu-memory-utilization
165+
- '0.80'
166+
- --kv-cache-dtype
167+
- int8
168+
- --attention_config.indexer_kv_dtype
169+
- int8
170+
- --mm-encoder-tp-mode
171+
- data
172+
- --no-mm-device-do-normalize
173+
- --mm-processor-cache-gb
174+
- '1'
175+
- --skip-mm-profiling
176+
- --compilation-config
177+
- '{"cudagraph_mode":"FULL_DECODE_ONLY"}'
178+
- --enable-prefix-caching
179+
- --additional-config
180+
- '{"enable_fused_mc2":0,"multistream_overlap_shared_expert":true,"enable_shared_expert_dp":false,"enable_mlapo":true,"scheduler_config":{"recompute_scheduler_enable":true}}'
181+
- --limit-mm-per-prompt
182+
- '{"vision_chunk":2}'
183+
- --kv-transfer-config
184+
- '{"kv_connector":"MooncakeConnectorV2","kv_role":"kv_consumer","kv_port":30100,"kv_connector_extra_config":{"prefill":{"dp_size":1,"tp_size":16,"pp_size":1,"pcp_size":1,"dcp_size":1},"decode":{"dp_size":1,"tp_size":16,"pp_size":1,"pcp_size":1,"dcp_size":16}}}'
185+
benchmarks:
186+
acc_gsm8k: &gsm8k_accuracy
187+
case_type: accuracy
188+
dataset_path: /root/.cache/modelscope/hub/datasets/Ares8364/gsm8k
189+
request_conf: vllm_api_general_chat
190+
dataset_conf: gsm8k/gsm8k_gen_0_shot_cot_chat_prompt
191+
max_out_len: 4096
192+
batch_size: 60
193+
thinking: true
194+
temperature: 0
195+
top_p: 0.95
196+
baseline: 60
197+
threshold: 10
198+
num_prompts: 300
199+
acc_gsm8k_r02: *gsm8k_accuracy
200+
acc_gsm8k_r03: *gsm8k_accuracy

0 commit comments

Comments
 (0)