Decompose good/bad selection split across frozen surfaces

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-20 12:05:20 +08:00
parent 18c0b25ae7
commit 39766141fb
54 changed files with 24465 additions and 5 deletions

View File

@@ -0,0 +1,54 @@
# Qwen235 Fixed-PD state diagnosis
**Verdict:** Exact real state composition flips Frontier to the correct TP4 winner; the ranking error is caused by closed-loop state/composition mismatch, not a conditional stage reversal.
| Config | Real Running proxy mean | Sim decode batch mean | Proxy coverage |
|---|---:|---:|---:|
| tp4_ep1_mns64 | 4.667 | 13.537 | 100.0% |
| tp8_ep8_mns64 | 12.238 | 18.938 | 100.0% |
| Config | Real exact decode batch mean | Real token-weighted iteration ms | Matched simulator ms | Exact coverage |
|---|---:|---:|---:|---:|
| tp4_ep1_mns64 | 3.890 | 18.4710 | 34.2575 | 100.0% |
| tp8_ep8_mns64 | 10.921 | 27.5887 | 45.1603 | 100.0% |
## Frontier internal component contrast over its own executed composition
Decode-token-weighted over both pure-decode and mixed prefill/decode steps.
| Component | TP8 - TP4 (ms/decoded token step) |
|---|---:|
| moe_compute | -32.4544 |
| total | -20.0663 |
| attention | -7.4619 |
| tp_dp_communication | -6.5711 |
| ep_communication | +6.2354 |
| moe_routing | -0.2862 |
| dense_mlp_compute | -0.1231 |
| pipeline_communication | +0.0000 |
| runtime_overhead | +0.0000 |
## Frontier component contrast at exact real token composition
Positive means TP8 slower; negative means Frontier gives TP8 an advantage.
| Component | TP8 - TP4 (ms/step) |
|---|---:|
| total | +10.9028 |
| ep_communication | +6.5355 |
| tp_dp_communication | -6.4718 |
| attention | -2.1304 |
| moe_compute | -1.9774 |
| moe_routing | +0.1384 |
| dense_mlp_compute | -0.0308 |
| pipeline_communication | +0.0000 |
| runtime_overhead | +0.0000 |
## Interpretation boundary
- Real observed TPOT contrast: +6.9500 ms/token.
- Real exact-iteration contrast: +9.1177 ms/decode-token-weighted step.
- vLLM 10-second Running is active requests, not per-iteration decode batch; context lengths and graph buckets are unavailable in frozen logs.
- Frontier state outputs have no direct graph bucket/padding/launch-overhead field; graph effects remain folded into predictors.
- For TP8 shared-domain sync, total is ledger stage_end-start (critical path); op categories are serialized work estimates and are not additive because overlap and lane-summed wait diagnostics are represented separately.
- Component deltas identify where Frontier creates its own TP8 advantage; without real per-stage measurements they are not yet root-cause proof.

View File

@@ -0,0 +1,48 @@
# Qwen235 Fixed-PD state diagnosis
**Verdict:** State-composition mismatch is insufficient: after reweighting Frontier to measured real decode composition, it still predicts TP8 faster.
| Config | Real Running proxy mean | Sim decode batch mean | Proxy coverage |
|---|---:|---:|---:|
| tp4_ep1_mns64 | 4.667 | 13.537 | 100.0% |
| tp8_ep8_mns64 | 12.238 | 18.938 | 100.0% |
## Frontier internal component contrast over its own executed composition
Decode-token-weighted over both pure-decode and mixed prefill/decode steps.
| Component | TP8 - TP4 (ms/decoded token step) |
|---|---:|
| moe_compute | -32.4544 |
| total | -20.0663 |
| attention | -7.4619 |
| tp_dp_communication | -6.5711 |
| ep_communication | +6.2354 |
| moe_routing | -0.2862 |
| dense_mlp_compute | -0.1231 |
| pipeline_communication | +0.0000 |
| runtime_overhead | +0.0000 |
## Frontier internal component contrast at real Running proxy
Positive means TP8 slower; negative means Frontier gives TP8 an advantage.
| Component | TP8 - TP4 (ms/step) |
|---|---:|
| moe_compute | -16.0581 |
| total | -8.5517 |
| ep_communication | +6.8248 |
| tp_dp_communication | -5.4010 |
| moe_routing | +0.3109 |
| attention | -0.2407 |
| dense_mlp_compute | +0.0018 |
| pipeline_communication | +0.0000 |
| runtime_overhead | +0.0000 |
## Interpretation boundary
- Real observed TPOT contrast: +6.9500 ms/token.
- vLLM 10-second Running is active requests, not per-iteration decode batch; context lengths and graph buckets are unavailable in frozen logs.
- Frontier state outputs have no direct graph bucket/padding/launch-overhead field; graph effects remain folded into predictors.
- For TP8 shared-domain sync, total is ledger stage_end-start (critical path); op categories are serialized work estimates and are not additive because overlap and lane-summed wait diagnostics are represented separately.
- Component deltas identify where Frontier creates its own TP8 advantage; without real per-stage measurements they are not yet root-cause proof.

View File

@@ -0,0 +1,47 @@
# Qwen235 Fixed-PD state diagnosis
**Verdict:** Active-batch-count mismatch alone is insufficient: after exact reweighting to each config's real Running histogram, Frontier still predicts TP8 faster.
| Config | Real Running proxy mean | Sim decode batch mean | Proxy coverage |
|---|---:|---:|---:|
| tp4_ep1_mns64 | 4.667 | 13.537 | 100.0% |
| tp8_ep8_mns64 | 12.238 | 18.938 | 100.0% |
## Frontier internal component contrast over its own executed composition
Decode-token-weighted over both pure-decode and mixed prefill/decode steps.
| Component | TP8 - TP4 (ms/decoded token step) |
|---|---:|
| total | -73.6733 |
| moe_compute | -45.2710 |
| attention | -13.6950 |
| tp_dp_communication | -12.7244 |
| moe_routing | -1.7759 |
| dense_mlp_compute | -0.2890 |
| ep_communication | +0.0821 |
| pipeline_communication | +0.0000 |
| runtime_overhead | +0.0000 |
## Frontier internal component contrast at real Running proxy
Positive means TP8 slower; negative means Frontier gives TP8 an advantage.
| Component | TP8 - TP4 (ms/step) |
|---|---:|
| total | -46.0760 |
| moe_compute | -26.3387 |
| tp_dp_communication | -12.1532 |
| attention | -6.2393 |
| moe_routing | -1.2405 |
| dense_mlp_compute | -0.1769 |
| ep_communication | +0.0726 |
| pipeline_communication | +0.0000 |
| runtime_overhead | +0.0000 |
## Interpretation boundary
- Real observed TPOT contrast: +6.9500 ms/token.
- vLLM 10-second Running is active requests, not per-iteration decode batch; context lengths and graph buckets are unavailable in frozen logs.
- Frontier ledger exposes additive execution components but no direct graph bucket/padding/launch-overhead field; graph effects remain folded into predictors.
- Component deltas identify where Frontier creates its own TP8 advantage; without real per-stage measurements they are not yet root-cause proof.