Prepare sealed exact-trace real smoke

This commit is contained in:
2026-07-17 11:55:12 +08:00
parent e9ae04d852
commit 2aa713f5d6
2 changed files with 17 additions and 0 deletions

View File

@@ -48,6 +48,14 @@ F0 沿用已经冻结的 rate lattice与两个 fresh-server rounds。F1/F2 先
T1 保持原 600 秒 arrival window。先在 simulator 上冻结 `sampling_u` bracket真机只运行 topological guard set `{TP1,TP2,TP4} × {MNS8,MNS32,MNS64}`,若 top set 或 bracket 仍可能被未测 MNS 反转再补 MNS16。每个入选 source-row vector在 real/sim 两侧必须有相同 digest至少两个 session-hash folds若本轮只完成一个 window则明确标为 single-window evidence。
> **Pre-bracket smoke amendment2026-07-17任何 T1 真机结果产生前):**
> 允许预先运行一个固定的 `TP4/MNS32 × u=0.005` real harness smoke。该点已属于上述
> guard set选择不依赖 simulator 输出;在完整 simulator surface 冻结前,性能结果保持
> sealed只检查进程退出状态、artifact 完整性、request usage 与 row-vector digest。该 smoke
> 不用于选择 config、移动负载 bracket 或形成 fidelity verdictfull real anchors 仍必须等待
> simulator bracket 冻结。目的仅是让 600 秒真机 harness 验证与 CPU simulator surface 并行,
> 缩短 critical path。
## 诊断与停止规则
1. A1 必须报告每次 collective prediction 的 measured-model hit 与 analytical fallback 次数;不能只看最终 rank。

View File

@@ -39,6 +39,7 @@ REQUEST_COUNT="$(wc -l < "${REQUESTS_FILE}")"
echo "QWEN30_EXACT_TRACE_REAL_LAUNCH_ECHO host=$(hostname) gpus=${CUDA_VISIBLE_DEVICES} model=${MODEL_ROOT} runtime=vLLM-0.20.0+cu129 dtype=BF16 config=TP${TP}_MNS${MNS}_MBT8192 trace=${TRACE_LABEL} requests=${REQUEST_COUNT} source=${REQUESTS_FILE} arrivals=original600s input_output_prompt=exact prefix=on block=16 tpot_slo=150ms output=${OUTPUT_ROOT} expected_wall=12-35m hard_wall=3600s"
date -u +"START_UTC=%Y-%m-%dT%H:%M:%SZ"
sha256sum qwen30_exact_trace_client.py run_qwen30_exact_trace_real_anchor.sh \
../frontier-phase-factorial-v0/qwen30_prefill_client.py \
> "${OUTPUT_ROOT}/provenance/source.sha256"
sha256sum "${REQUESTS_FILE}" > "${OUTPUT_ROOT}/provenance/requests.sha256"
sha256sum "${MODEL_ROOT}/config.json" > "${OUTPUT_ROOT}/provenance/model.sha256"
@@ -77,6 +78,14 @@ if [[ "${READY}" -ne 1 ]]; then
exit 1
fi
# Warm execution kernels with four prefix-disjoint requests, then start the
# measured replay from an empty scheduler queue. The unrelated 2K-token KV
# footprint remains explicit and negligible relative to the configured cache.
"${VENV_ROOT}/bin/python" ../frontier-phase-factorial-v0/qwen30_prefill_client.py \
--port "${SERVER_PORT}" --served-model "${SERVED_MODEL}" \
--model-path "${MODEL_ROOT}" --rate 1 --requests 4 --input-tokens 512 \
--output-tokens 1 --output "${OUTPUT_ROOT}/results/warmup.json"
"${VENV_ROOT}/bin/python" qwen30_exact_trace_client.py \
--port "${SERVER_PORT}" --requests-file "${REQUESTS_FILE}" \
--output "${OUTPUT_ROOT}/results/result.json" --tpot-slo-ms 150 \