Repository navigation
Conversation
|
@claude /pr-review Please review current head |
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/25647
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ⏳ 2 Pending, 1 Unrelated FailureAs of commit 6d9ecfd with merge base 5f6a523 ( BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
Claude finished @Gasoonjia's task in 22m 34s —— View job Review of PR Review: #25647, detailed findingsSummaryThe PR adds idle-time compaction of CUDA KV physical columns. It adds Problems found:
Not traced: whether the DFlash executor keeps target-cache addresses across a target compaction. Only its Code Quality
Infrastructure
Testing
API Design
Thread Safety
Performance
RecommendationRequest Changes None of these findings is a correctness defect in the remap, the copy bounds or the old-buffer fencing. Two things block approval:
The remaining items can be fixed in this PR or in a follow-up. Review steps
--- · Branch: |
|
@claude /pr-review Please re-review current head A100 validation passed: 81 cache, 232 Runner, 27 allocator and 2 stream cases; four allocator fallback-only cases correctly skip on this memory-pool device. Same-PTE finite exact logits and Runner outputs pass through growth/shrink/regrowth while preserving inactive open histories. A paired actual-Runner mini burst test (ABBA ×4, same CPU/GPU/PTE, equal 600 ms idle gap) measured survivor TTFT 1.146→1.160 ms and regrown eight-session TTFT 1.608→1.680 ms. This measures idle/regrowth cost, not a full-model or 5090 claim. Ten local CI-wiring/workload checks and formatting passed. Please finish with Approve / Request Changes / Needs Discussion. Do not dispatch, rerun, or cancel CI. |
|
Claude finished @Gasoonjia's task in 29m 45s —— View job Request Changes: idle KV-column compaction is on by default, no in-tree Muse Glimmer serving or DFlash path can turn it off, and no test checks the disabled path or the bounded trim. PR Review: #25647, detailed findingsSummaryThe PR shrinks the CUDA off-graph KV cache's physical columns after sessions close. While idle, the Runner calls the new Remaining problems:
Nothing was built or run for this review, and CI was not touched. The A100 results are the author's. API Design
Testing
Performance
Code Quality
RecommendationRequest Changes Two things block approval:
The API Design and Code Quality items can be fixed in this PR or in a follow-up. Review steps
· Branch: |
0a09ac4 to
8c92806
Compare
|
@claude /pr-review Please re-review current head
A100 current-source qualification passed: 81 cache, 232 Runner, 27 allocator (four expected no-pool-only skips), two stream tests; same-PTE finite exact growth/shrink/regrow and graph checks; CLI build/validation and DFlash host cases. Three independent blind follow-up reviews found no new issues. PR1's only new change confines two POSIX workflow-execution checks to supported hosts. Normal push-triggered CI is running; please finish with Approve / Request Changes / Needs Discussion and do not dispatch or rerun CI. |
|
Claude finished @Gasoonjia's task in 34m 36s —— View job Approve: both blockers from the last review are fixed, and only three minor items remain: a config doc that misstates the 25% threshold, a two-owner contraction test that cannot tell its owners apart, and no DFlash test that keeps decoding after the target cache moves a live owner. PR Review: #25647, detailed findingsSummaryThe PR shrinks the CUDA KV cache's physical columns while the Runner is idle, once sessions have closed, occupancy is low and a quiet interval has passed. The latest commit lets every in-tree serving path set or disable that interval, and adds Runner, policy and bounded-trim tests. Three minor problems remain. None of them is a correctness defect in the compaction itself:
Nothing was built or run for this review, and CI was not touched. The A100 results are the author's. API Design
Testing
RecommendationApprove The two blockers from the last review are resolved:
The three findings above are minor and can be fixed here or in a follow-up. Review steps
--- · Branch: |
6c1bcce to
3bff904
Compare
86de244 to
2adb12b
Compare
Reclaim closed-owner storage between forwards after a configurable quiet interval, preserving still-open histories and recapturing graphs when columns move. Release observed frees through the existing CUDA allocator trim. Authored with OpenAI Codex assistance.
3bff904 to
21587c4
Compare
2adb12b to
6d9ecfd
Compare
|
@claude /pr-review Rebased onto main A100 checks of the rebased PR1/PR2 stack passed Python/kernel tests, native cache/Runner/allocator tests, fresh cell/sequence DFlash tests, and exact solo growth/shrink/regrowth with CUDA graphs. Normal push CI is pending; the allocator suite has four expected no-pool-only skips on this pool-enabled device. |
|
Claude finished @Gasoonjia's task in 25m 3s —— View job Approve: nothing in the rebased diff at Detailed reviewSummaryStacked on #25621, this PR lets the CUDA sequence-layout KV cache give physical columns back after sessions close. A new Runner hook, Testing
RecommendationApprove Nothing blocks merging. The only finding is a minor test gap, which can be fixed in a follow-up. Review steps
--- · Branch: |
CUDA KV caches compact physical columns after explicit session closure, low occupancy and a quiet interval, preserving still-open histories. CUDA graphs rebind after storage moves, and bounded allocator trimming returns retired KV storage. Compaction defaults to a 500 ms delay; the serving CLI can disable it with
--kv_column_compaction_delay_ms=-1.Stacked on #25621. A100 native tests and same-PTE mini checks cover failure rollback, Runner-driven shrink/regrow, exact logits, the occupancy boundary, disabled compaction and preservation of unrelated allocator reserves. DFlash tests cover speculative continuation after a live target-cache column moves.
Authored with OpenAI Codex assistance.