diff --git a/runs/frontier-fidelity-envelope-v1/experiment-card.md b/runs/frontier-fidelity-envelope-v1/experiment-card.md index c1563db..0ef2d9b 100644 --- a/runs/frontier-fidelity-envelope-v1/experiment-card.md +++ b/runs/frontier-fidelity-envelope-v1/experiment-card.md @@ -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 amendment(2026-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 verdict;full real anchors 仍必须等待 +> simulator bracket 冻结。目的仅是让 600 秒真机 harness 验证与 CPU simulator surface 并行, +> 缩短 critical path。 + ## 诊断与停止规则 1. A1 必须报告每次 collective prediction 的 measured-model hit 与 analytical fallback 次数;不能只看最终 rank。 diff --git a/runs/frontier-fidelity-envelope-v1/run_qwen30_exact_trace_real_anchor.sh b/runs/frontier-fidelity-envelope-v1/run_qwen30_exact_trace_real_anchor.sh index 8c03fe0..e194e0e 100755 --- a/runs/frontier-fidelity-envelope-v1/run_qwen30_exact_trace_real_anchor.sh +++ b/runs/frontier-fidelity-envelope-v1/run_qwen30_exact_trace_real_anchor.sh @@ -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 \