Skip to content

chore(cute-paged): retire warmup.py + closed-arc trace-capture scripts#16

Merged
Natfii merged 2 commits into
mainfrom
chore/cute-paged-cleanup-tier-a
May 16, 2026
Merged

chore(cute-paged): retire warmup.py + closed-arc trace-capture scripts#16
Natfii merged 2 commits into
mainfrom
chore/cute-paged-cleanup-tier-a

Conversation

@Natfii
Copy link
Copy Markdown

@Natfii Natfii commented May 16, 2026

Summary

Pure deletion of dead/retired code. No behavior change. No new feature. No perf claim. Not part of either active thread (SSM correctness or β-kernel cost work) — housekeeping that reduces the noise floor for both.

Net: -936 lines / +3 lines across 7 files. Rollback is git revert.

Deletions

Path LOC Why safe
vllm/v1/attention/backends/cute_paged/warmup.py 165 Retired with FULL+blessed AOT cache work; Dockerfile.gb10 explicitly removed the build-time invocation; no live importers in vllm/ or scripts/ (only stale references in docs/superpowers/specs/*, which are historical design records).
scripts/phase_d_trace_capture.sh 142 Closed D2.x bisection arc; only referenced by its own trace-summary receipts under benchmarks/nvllm/traces/cute_paged_mlp_fusion/.
scripts/phase_d2_trace_capture.sh 131 Same arc.
scripts/phase_d2e_trace_capture.sh 135 Same arc.
scripts/phase_d3a_sweep.sh 186 Same arc; only referenced from historical docs/superpowers/plans/2026-04-19-phase-d3a-mlp-decode-retune.md.
scripts/fusion_phaseb_diff.py 177 Phase B harness; equivalent diagnostic is now the CUTE_DEBUG_FUSION env-gated path in _backend.py:1455-1470,1727-1760. Only self-reference in its own docstring.

Comment-only edit

  • _backend.py:71-73 — drop the stale file-path reference to warmup.py (which no longer exists) from a comment about the disk-cache hook. No code change.

NOT in this PR

Per memory:feedback_comment_not_delete + the post-tool-use kernel/fusion-file hook reminder, the four already-commented PHASE 3 ORIGINAL / Phase 4 ε-locals blocks inside _backend.py (_backend.py:1384-1401, _backend.py:1499-1547, _backend.py:1554-1564) are deliberately left in place. The audit identified them as candidates, but their comments self-justify retention for "Phase B/C debug recovery" and re-enable scenarios. Touching them would conflict with the kernel-file convention; deferring those to a separate decision.

Test plan

  • grep -rn "from .warmup\|cute_paged.warmup import" across vllm/ and scripts/ returned no live importers (only the doc-spec references).
  • grep -rn "phase_d_trace_capture\|phase_d2_trace_capture\|phase_d2e_trace_capture\|phase_d3a_sweep" across scripts/ and vllm/ returned only docs/superpowers/{specs,plans}/ mentions (historical, tolerated).
  • grep -rn "fusion_phaseb_diff" returned only the script's own docstring self-reference.
  • _backend.py:71-73 comment-only diff inspected; no code semantics changed.
  • Not in CI scope (no CI on this repo); reviewer should confirm by grepping their own checkout if desired.

Audit provenance

/tmp/backend_housekeeping_audit.md (Tier A items A1, A2, A3 + Tier D D1 — D1 is the broken .contiguous() calls inside the deleted warmup.py, subsumed by A1).

🤖 Generated with Claude Code

Natfii and others added 2 commits May 16, 2026 08:02
Pure deletion of dead/retired code. No behavior change. No new feature.
No perf claim. Not part of either active thread (SSM correctness or beta
kernel cost work) — this is housekeeping that reduces noise floor for
both.

Deletions:
- vllm/v1/attention/backends/cute_paged/warmup.py (165 lines) — module
  was retired with the FULL+blessed AOT cache work; Dockerfile.gb10
  explicitly removed the build-time invocation; no live importers in
  vllm/ or scripts/ (only stale references in docs/superpowers/specs,
  which are historical design records).
- scripts/phase_d_trace_capture.sh
- scripts/phase_d2_trace_capture.sh
- scripts/phase_d2e_trace_capture.sh
- scripts/phase_d3a_sweep.sh
  - All four scripts belong to the closed D2.x cherry-pick bisection
    arc; only referenced from their own trace-summary receipts under
    benchmarks/nvllm/traces/cute_paged_mlp_fusion/ and from historical
    docs/superpowers/specs entries.
- scripts/fusion_phaseb_diff.py — Phase B harness; the equivalent
  diagnostic is now the CUTE_DEBUG_FUSION env-gated path in _backend.py.

Comment-only edit:
- _backend.py:71-73 — drop the stale file-path reference to warmup.py
  (which no longer exists) from a comment about the disk-cache hook.
  No code change.

NOT in this PR (per memory:feedback_comment_not_delete + post-tool-use
kernel-fusion-file hook): the 4 already-commented PHASE 3 ORIGINAL /
Phase 4 epsilon-locals blocks inside _backend.py. The audit identified
them as candidates but their comments self-justify retention for "Phase
B/C debug recovery" and re-enable scenarios. Leaving them in place.

Net: -936 lines / +3 lines across 7 files. Force-pushable rollback is
`git revert`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Swap serve.sh model row to ig1/Qwen3.5-27B-NVFP4 (default since 04/06)
- CuTe paged: "Prototype" -> "production decode path since v0.3.0"
- Document CUTE_WO_SPLIT={2,4,8} opt-in K-parallel W_O GEMV (PR #9)
- Drop --debug from serve-cute.sh launch line; PIECEWISE is default
- Veitner acknowledgment: "next direction" -> "applied in WO_SPLIT"
- Markdown lint fixups (blank lines after headings, table separators)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Natfii Natfii merged commit 4ce8894 into main May 16, 2026
@Natfii Natfii deleted the chore/cute-paged-cleanup-tier-a branch May 16, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant