Skip to content

Commit efe8247

Browse files
committed
update cases
Signed-off-by: songyang <songyang719@163.com>
1 parent ca2ba69 commit efe8247

12 files changed

Lines changed: 2887 additions & 31 deletions

File tree

‎.github/workflows/_e2e_nightly_multi_node.yaml‎

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,16 @@ jobs:
433433
POD="${LWS_NAME}-0-${i}"
434434
fi
435435
echo "==== Collecting logs from worker pod: $POD ===="
436-
kubectl logs -f "$POD" -n "$NAMESPACE" \
437-
> "/tmp/${POD}_logs.txt" 2>&1 &
436+
if [ "${i}" -eq 0 ]; then
437+
# Leader stdout is streamed below with phase parsing; keep it file-only here.
438+
kubectl logs -f "$POD" -n "$NAMESPACE" \
439+
> "/tmp/${POD}_logs.txt" 2>&1 &
440+
else
441+
# Follower pods carry the D-side harness output (rank log tails).
442+
# Tee to the step stdout so PD failures are visible in the CI job log.
443+
kubectl logs -f "$POD" -n "$NAMESPACE" \
444+
2>&1 | tee "/tmp/${POD}_logs.txt" &
445+
fi
438446
439447
pids+=($!)
440448
done
@@ -867,6 +875,13 @@ jobs:
867875
mkdir -p "${DEST}/node${i}/${EXT_LOG_PATH}"
868876
cp "$EXT_SRC" "${DEST}/node${i}/${EXT_LOG_PATH}/" 2>/dev/null || true
869877
fi
878+
# KV pool A/B legs pack per-rank raw logs into one archive per leg.
879+
for kv_archive in "${LOG_PREFIX}"/node_${i}_kv_pool_pd_*.tar.gz; do
880+
if [ -f "$kv_archive" ]; then
881+
mkdir -p "${DEST}/node${i}/kv-pool-pd"
882+
cp "$kv_archive" "${DEST}/node${i}/kv-pool-pd/" 2>/dev/null || true
883+
fi
884+
done
870885
done
871886
872887
tar -czf /tmp/ascend-logs.tar.gz -C /tmp collected-logs

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ 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: glm53-w8a8c8-pd-memcache-64k
107+
tests: tests/SIT/cases/features/kv_pool/test_pool_ab.py::test_pool_ab
108+
config_file_path: GLM53-W8A8C8-PD-KVPool.yaml
109+
config_base_path: tests/SIT/cases/features/kv_pool
110+
size: 4
106111
- name: DeepSeek-V4-Pro-w4a8-prefix-cache-PD
107112
config_file_path: DeepSeek-V4-Pro-w4a8-prefix-cache-PD.yaml
108113
config_base_path: tests/SIT/cases/models/configs/DeepSeek
@@ -153,6 +158,32 @@ a3:
153158
config_file_path: GLM-5.1-W8A8C8-A3_128k_90_50.yaml
154159
config_base_path: tests/SIT/cases/models/configs/GLM
155160
size: 2
161+
- name: dsv41-pd-memcache-128k
162+
tests: tests/SIT/cases/features/kv_pool/test_pool_ab.py::test_pool_ab
163+
config_file_path: DSv41-Flash-PD-KVPool.yaml
164+
config_base_path: tests/SIT/cases/features/kv_pool
165+
size: 2
166+
- name: dsv41-pd-mooncake-128k
167+
tests: tests/SIT/cases/features/kv_pool/test_pool_ab.py::test_pool_ab
168+
config_file_path: DSv41-Flash-PD-Mooncake-KVPool.yaml
169+
config_base_path: tests/SIT/cases/features/kv_pool
170+
size: 2
171+
- name: glm53-flash-pd-mooncake-130k
172+
tests: tests/SIT/cases/features/kv_pool/test_pool_ab.py::test_pool_ab
173+
config_file_path: GLM53-Flash-PD-Mooncake-KVPool.yaml
174+
config_base_path: tests/SIT/cases/features/kv_pool
175+
size: 2
176+
single_node:
177+
test_config:
178+
- name: dsv4-memcache-colocation-64k
179+
os: linux-aarch64-a3-800i-16
180+
tests: tests/SIT/cases/features/kv_pool/test_pool_nightly.py::test_dsv4_memcache_colocation_64k
181+
- name: qwen38-memcache-mtp-align
182+
os: linux-aarch64-a3-800i-4
183+
tests: tests/SIT/cases/features/kv_pool/test_pool_nightly.py::test_qwen38_memcache_mtp_align
184+
- name: dsv4-mooncake-dp4-colocation
185+
os: linux-aarch64-a3-800i-16
186+
tests: tests/SIT/cases/features/kv_pool/test_pool_nightly.py::test_dsv4_mooncake_dp4_colocation
156187

157188
a3-560t:
158189
single_node:
Lines changed: 214 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,214 @@
1+
# DSV4.1-Flash two-node PD KV pool watch (A leg: pool, B leg: local prefix cache).
2+
# Local runs: set cluster_hosts to [prefill_ip, decode_ip]; CI resolves nodes via LWS.
3+
test_name: "DSv41-Flash-PD-KVPool"
4+
model: "Eco-Tech/DeepSeek-V4.1-Flash-1017-w4a8"
5+
num_nodes: 2
6+
npu_per_node: 16
7+
8+
routing:
9+
type: "disaggregated_prefill"
10+
proxy_script: "examples/disaggregated_prefill_v1/load_balance_proxy_layerwise_server_example.py"
11+
groups:
12+
prefiller: [ 0 ]
13+
decoder: [ 1 ]
14+
15+
config:
16+
- node_index: 0
17+
port_start: 17100
18+
dp_rpc_port: 19321
19+
dp_size: 4
20+
dp_size_local: 4
21+
dp_rank_start: 0
22+
tp_size: 1
23+
cp_size: 4
24+
dp_address: "${NODE_0_IP}"
25+
26+
- node_index: 1
27+
port_start: 17100
28+
dp_rpc_port: 19321
29+
dp_size: 16
30+
dp_size_local: 16
31+
dp_rank_start: 0
32+
tp_size: 1
33+
cp_size: 1
34+
dp_address: "${NODE_1_IP}"
35+
36+
kv_pool:
37+
type: memcache
38+
meta_service_port: 5007
39+
config_store_port: 6007
40+
config:
41+
meta:
42+
ock.mmc.log_level: error
43+
local:
44+
ock.mmc.log_level: error
45+
ock.mmc.local_service.world_size: 256
46+
ock.mmc.local_service.protocol: device_sdma
47+
ock.mmc.local_service.dram.size: 0GB
48+
ock.mmc.local_service.max.dram.size: 1024GB
49+
50+
# A/B watch parameters: the driver replays this prompt cold -> hit -> hit ->
51+
# disjoint through the proxy, then samples throughput on both legs.
52+
pool_ab:
53+
case_name: "nightly_dsv41_flash_pd_memcache_128k"
54+
model_env: "DEEPSEEK_V41_PD_MODEL_PATH"
55+
prompt_tokens: 131076
56+
lcm_block_size: 16384
57+
control_port: 19555
58+
perf_gate: true
59+
check_output: false
60+
perf_aisbench:
61+
dataset_path: vllm-ascend/GSM8K-in128k-bs512-prefix90-ds
62+
dataset_conf: gsm8k/gsm8k_gen_0_shot_cot_str_perf
63+
request_conf: vllm_api_stream_chat
64+
num_prompts: 128
65+
batch_size: 32
66+
max_out_len: 1
67+
request_rate: 0
68+
seed: 1024
69+
hit_rate_target: 0.9
70+
hit_rate_tolerance: 0.03
71+
warmup:
72+
num_prompts: 4
73+
batch_size: 4
74+
75+
env_common: &env_common
76+
VLLM_USE_V2_MODEL_RUNNER: "1"
77+
VLLM_USE_MODELSCOPE: "true"
78+
VLLM_ENGINE_READY_TIMEOUT_S: "36000"
79+
PYTORCH_NPU_ALLOC_CONF: "expandable_segments:True"
80+
PYTHONHASHSEED: "0"
81+
VLLM_HOST_IP: "${LOCAL_IP}"
82+
ASCEND_RT_VISIBLE_DEVICES: "${VISIBLE_DEVICES}"
83+
84+
env_prefill: &env_prefill
85+
<<: *env_common
86+
HCCL_BUFFSIZE: "1024"
87+
HCCL_OP_EXPANSION_MODE: "AIV"
88+
89+
env_decode: &env_decode
90+
<<: *env_common
91+
HCCL_BUFFSIZE: "4096"
92+
93+
templates:
94+
- node_index: 0
95+
envs:
96+
<<: *env_prefill
97+
server_cmd_template:
98+
- --host
99+
- "0.0.0.0"
100+
- --port
101+
- ${PORT}
102+
- --data-parallel-size
103+
- ${DP_SIZE}
104+
- --data-parallel-rank
105+
- ${DP_RANK}
106+
- --data-parallel-address
107+
- ${DP_ADDRESS}
108+
- --data-parallel-rpc-port
109+
- ${DP_RPC_PORT}
110+
- --tensor-parallel-size
111+
- ${TP_SIZE}
112+
- --prefill-context-parallel-size
113+
- ${CP_SIZE}
114+
- --enable-expert-parallel
115+
- --seed
116+
- "1024"
117+
- --served-model-name
118+
- "dsv41"
119+
- --max-model-len
120+
- "132096"
121+
- --max-num-batched-tokens
122+
- "16384"
123+
- --max-num-seqs
124+
- "16"
125+
- --speculative-config
126+
- '{"num_speculative_tokens": 5, "method": "dspark"}'
127+
- --trust-remote-code
128+
- --block-size
129+
- "128"
130+
- --tokenizer-mode
131+
- "deepseek_v41"
132+
- --reasoning-parser
133+
- "deepseek_v41"
134+
- --tool-call-parser
135+
- "deepseek_v41"
136+
- --enable-auto-tool-choice
137+
- --safetensors-load-strategy
138+
- "lazy"
139+
- --gpu-memory-utilization
140+
- "0.9"
141+
- --quantization
142+
- "ascend"
143+
- --enforce-eager
144+
- --swa-bounded-replay
145+
- --no-enable-prefix-caching
146+
- --engram-config
147+
- '{"cpu_offload": true, "dp_shared_memory": true}'
148+
- --additional-config
149+
- '{"enable_cpu_binding": true, "enable_fused_mc2": 2, "enable_flashcomm1": false, "enable_shared_expert_dp": true, "multistream_overlap_shared_expert": false}'
150+
- --kv-transfer-config
151+
- '{"kv_connector": "MultiConnector", "kv_role": "kv_producer", "kv_port": "30000", "kv_connector_extra_config": {"connectors": [{"kv_connector": "MooncakeConnectorV2", "kv_role": "kv_producer", "kv_port": "30000", "kv_connector_extra_config": {"use_layerwise": true}}, {"kv_connector": "AscendStoreConnector", "kv_role": "kv_producer", "kv_connector_extra_config": {"backend": "memcache", "lookup_rpc_port": "0", "use_layerwise": true}}]}}'
152+
153+
- node_index: 1
154+
envs:
155+
<<: *env_decode
156+
server_cmd_template:
157+
- --host
158+
- "0.0.0.0"
159+
- --port
160+
- ${PORT}
161+
- --data-parallel-size
162+
- ${DP_SIZE}
163+
- --data-parallel-rank
164+
- ${DP_RANK}
165+
- --data-parallel-address
166+
- ${DP_ADDRESS}
167+
- --data-parallel-rpc-port
168+
- ${DP_RPC_PORT}
169+
- --tensor-parallel-size
170+
- ${TP_SIZE}
171+
- --prefill-context-parallel-size
172+
- ${CP_SIZE}
173+
- --enable-expert-parallel
174+
- --seed
175+
- "1024"
176+
- --served-model-name
177+
- "dsv41"
178+
- --max-model-len
179+
- "132096"
180+
- --max-num-batched-tokens
181+
- "512"
182+
- --max-num-seqs
183+
- "72"
184+
- --async-scheduling
185+
- --speculative-config
186+
- '{"num_speculative_tokens": 5, "method": "dspark"}'
187+
- --trust-remote-code
188+
- --block-size
189+
- "128"
190+
- --tokenizer-mode
191+
- "deepseek_v41"
192+
- --reasoning-parser
193+
- "deepseek_v41"
194+
- --tool-call-parser
195+
- "deepseek_v41"
196+
- --enable-auto-tool-choice
197+
- --safetensors-load-strategy
198+
- "lazy"
199+
- --gpu-memory-utilization
200+
- "0.95"
201+
- --quantization
202+
- "ascend"
203+
- --no-enable-prefix-caching
204+
- --no-swa-bounded-replay
205+
- --compilation-config
206+
- '{"cudagraph_mode": "FULL_DECODE_ONLY"}'
207+
- --engram-config
208+
- '{"cpu_offload": true, "dp_shared_memory": true}'
209+
- --additional-config
210+
- '{"ascend_compilation_config": {"enable_npugraph_ex": true, "enable_static_kernel": false}, "enable_cpu_binding": true, "multistream_overlap_shared_expert": true, "recompute_scheduler_enable": true}'
211+
- --kv-transfer-config
212+
- '{"kv_connector": "MultiConnector", "kv_role": "kv_consumer", "kv_port": "31100", "kv_connector_extra_config": {"connectors": [{"kv_connector": "MooncakeConnectorV2", "kv_role": "kv_consumer", "kv_port": "31100", "kv_connector_extra_config": {"use_layerwise": true}}, {"kv_connector": "AscendStoreConnector", "kv_role": "kv_consumer", "kv_connector_extra_config": {"backend": "memcache", "lookup_rpc_port": "0", "use_layerwise": false}}]}}'
213+
214+
benchmarks: {}

0 commit comments

Comments
 (0)