docs(runbook): EXP-17/18/19 전제를 무장(메가커널) 시대 수치로 정정 - #303
Conversation
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_dd59c46d-bb45-4a91-8ae8-62928d8f3e58) |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
#301 머지 후 대조 확인 — 145커밋 사이에 생긴 변화가 세 축의 전제를 갈랐다: - EXP-18(osar): #99 시대 copy+reduce 11.8µs 전제는 낡음(현 45.5µs/콜, 고정비 ~22.7µs 지배) → R1 천장 ~0.2-0.3ms 로 하향. R2 의 판정 근거는 L2 위생×EXP-13 프리페치 시너지(osar churn 26MB/스텝이 프리페치 예산 12MB 와 직접 경쟁하는 것을 stwt/ldcs 로 제거)로 승격. - EXP-17(MHC 패스설정): 무장 디코드가 mk_mhc 로 TileLang mhc 179발을 대체(185→14) — 노브의 주 전장은 프리필 big_fuse + 잔여 14발로 축소. - EXP-19(hc bf16): ONEPASS 미채택 + mk_mhc 초월 — 폴백 참조 측정으로 강등, 프로덉션 경로의 같은 질문은 mk_mhc 쪽 별도 축임을 명시.
5c23868 to
4cf3138
Compare
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_07ab5813-6922-4443-87b7-0ece3e0b4b03) |
There was a problem hiding this comment.
🟡 Changes recommended
The runbook additions contain future-dated timestamps (2026-09-05) relative to the PR metadata date (2026-09-04), which can mislead readers about when the stated premise changes took effect.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR updates the Kernel Campaign II runbook to correct the stated assumptions and expected ceilings for EXP-17/18/19 to reflect the post–mk_mhc (armed decode / megakernel) reality rather than older pre-megakernel measurements.
Changes:
- EXP-17: Notes that armed decode replaced most TileLang MHC launches (185→14), narrowing where the pass-setting knob matters.
- EXP-18: Replaces stale per-collective copy+reduce assumptions with current osar costs and reframes R2 evidence around EXP-13 prefetch synergy.
- EXP-19: Reframes
--hcweightas a fallback-path reference probe after ONEPASS non-adoption and mk_mhc superseding the fusion target.
File summaries
| File | Description |
|---|---|
| RUNBOOK_KERNEL_CAMPAIGN2.md | Updates EXP-17/18/19 narrative/ceilings to align with mk_mhc-era measurements and scope. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
💡 Codex ReviewWhen different ranks receive contiguous BF16 views with different storage offsets, this local pointer check can select different collective implementations: an aligned rank enters stkernel/probes/mhc_glm53_bench.py Lines 355 to 358 in 5c23868 When a TMA or warp-specialization combination exceeds the documented stkernel/probes/mhc_glm53_bench.py Line 338 in 5c23868 The new runbook identifies prefill With the supported stkernel/probes/mhc_glm53_bench.py Lines 623 to 625 in 5c23868 These timings graph-replay the same 1.57 MB ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…31차로 PR #304 는 #301(672430e)에서 갈라져 나왔고, 그 뒤 main 이 #300·#302·#303·#305· #306·#307·#308(#309)로 앞서 나가면서 충돌 상태(dirty)가 됐다. 코드 파일은 겹치지 않았고(KDA 원패스·kpool 은 #304 단독), 겹친 것은 문서·프로필·테스트 넷이다. **RUNBOOK 충돌 2건** (1) 새 EXP 절의 삽입 위치: main 이 EXP-16 뒤에 EXP-22(로컬 양자화)·EXP-21(v2 레인)을 넣었고 #304 는 같은 자리에 EXP-20(미세 융합 묶음 2)을 넣었다. 경쟁이 아니라 가산이므로 셋 다 두되 기존 배열(최신 먼저)을 따라 22 → 21 → 20 순으로 둔다. (2) "순서와 근거" 절: main 은 평평한 번호 목록을 지우고 자기가 새로 만든 상태 표로 보내는 안내문으로 바꿨고(`채택·기각·닫힘은 위 상태 표에 있다`), #304 는 그 목록에 18번(EXP-20)을 덧붙였다. **main 의 재구성을 취하되**, 사라질 뻔한 #304 의 항목을 main 의 "다음 부팅 창에서" 목록에 8번으로 옮겨 실험이 목록과 함께 증발하지 않게 했다. **원장 번호 충돌 (자동 병합이 못 보는 것)** #304 는 자기 측정을 `★29차` 로 적었는데, 그 사이 main 에 다른 29차(메가커널 로컬 양자화, #307)와 30차(비상주 v2 레인, #305)가 먼저 들어왔다. 텍스트로는 충돌하지 않아 병합 결과에 **서로 다른 29차 둘**이 남았다. 28차 항목이 세운 선례("원장 번호 27 은 PR #290 이 쓰고 있어 28 로 적는다")대로 다음 빈 번호인 **31차** 로 옮겼고, 왜 옮겼는지 절 머리에 한 줄 남겼다. 측정값 자체는 손대지 않았다. 같은 번호를 가리키던 참조 6곳을 함께 고쳤다: MEASUREMENTS 절 제목, RUNBOOK EXP-20 표의 기각 축, `glm53_kda_onepass/README.md`, `moe_gate_sm121/README.md`, `profiles/glm53.env`, `tests/test_logic.py`. main 이 자기 29차를 가리키는 참조 (`VLLM_GLM53_MK_LOCALQ` 주석)는 그대로 두었다. **자동 병합분 검증** - `profiles/glm53.env`: main 의 `VLLM_GLM53_MK_LOCALQ` 와 #304 의 세 노브 (`KDA_DUAL_GEMM`·`KDA_ONEPASS`·`KPOOL_UPDATE_DIRECT_POS`) 전부 기본 0 으로 잔존. `MODULES=` 목록은 main 의 항목 하나도 잃지 않고 `glm53_kda_onepass` 만 늘었다. - overlay ↔ build 사본 3쌍(`glm53_kda_onepass.py`, `glm5next_kda.py`, `sparse_attn_indexer_kpool.py`) 모두 동일. - `tests/test_logic.py`: 양쪽 테스트 공존, `micro-fusion bundle 2 contracts` 통과. 검증: `tests/test_logic.py` all OK (6106 checks; 이 호스트엔 torch 부재로 일부 SKIP). 충돌 마커 0, 변경된 .py 전부 파싱 OK, `run_micro_fusion_check.sh` bash -n OK. GPU 검증(프로브 VERDICT·트레이스 물리확인)은 하지 않았다 — 이 환경에 GPU 가 없다. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JTghtTjyfT23vuhZwHzBSM
Summary
#301 머지 후 "그 사이에 이미 개선된 부분은 없었나" 대조에서 확인한 전제 변화 3건을 런북에 반영했다. 코드 충돌은 없었지만(이식 때 벡터화·노브·--after 전부 main 부재 확인), 병렬 메가커널 캠페인이 세 축의 가치 전제를 갈랐다:
__stwt/__ldcs가 제거.Testing
tests/test_logic.py6,043 checks all OK (로컬 잔해 디렉터리 제거 후, perf(osar,mhc,tools): copy/reduce 16B 벡터화+캐시정책, MHC 패스설정 노브, census 인접성 모드 (EXP-17/18/19) #301 정정 코멘트 참조)Note
Low Risk
Documentation-only runbook edits; no runtime, auth, or deployment logic changes.
Overview
Updates Kernel Campaign II runbook sections EXP-17, EXP-18, and EXP-19 so experiment scope and expected gains match post–mk_mhc serving, not pre-megakernel launch counts.
EXP-17 (MHC TileLang pass A/B) now states that armed decode mostly replaced 179 TileLang MHC launches with mk_mhc (185→14); the knob mainly matters for the remaining decode launches plus prefill big_fuse, while kernel-level
--passesprobes stay valid but step-level ceilings must not use pre-mk math.EXP-18 (osar vectorization + cache policy) replaces stale #99 copy+reduce (~11.8µs/call) assumptions with current osar cost (45.5µs/call, ~22.7µs fixed overhead), lowering R1 upside to ~0.2–0.3 ms and framing R2 judgment around EXP-13 AR prefetch synergy (L2 churn vs 12 MB prefetch budget), with bracketing on the same boot as EXP-13.
EXP-19 (
--hcweight) is reframed as a fallback-path reference probe after ONEPASS was never adopted and mk_mhc subsumed the fusion goal; production fp32 hc weight questions belong on a separate mk_mhc axis, with legacy numbers kept as historical stock-chain notes.Reviewed by Cursor Bugbot for commit 4cf3138. Bugbot is set up for automated code reviews on this repo. Configure here.