Skip to content

test(allocator): cover local growth ledger regressions - #574

Closed
shipiyouniao wants to merge 1 commit into
ovg-project:mainfrom
shipiyouniao:fix/local-physical-reservation
Closed

shipiyouniao wants to merge 1 commit into
ovg-project:mainfrom
shipiyouniao:fix/local-physical-reservation

Conversation

@shipiyouniao

@shipiyouniao shipiyouniao commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

#574 is now tests-only on main after #487 absorbed the local reservation implementation and device guard.

The retained regressions cover local alloc_page accounting across page sizes, layouts and buffer counts; reuse of an already mapped offset without another charge; two independent CUDA processes competing under one shared instance limit while preserving the winner's data; and reserve/map failures that preserve existing pages, refund failed growth and permit retry.

No production code or admission mechanism is added. The old release-failure expectation is omitted because main retains ownership through its quarantine handling.

Validation at 27dd583: rebuilt native extension on one T4, 83 passed / 3 cross-device skips; Python 3.11 CPU suite, 1,492 passed / 15 skipped; C++ tests, all-file pre-commit and strict MyPy 3.11 passed. Dedicated Codex review found no actionable defects. The remaining Python runtime matrix is checked by PR CI. No new performance or full-model serving result is claimed.

Co-authored-by: 石皮幼鸟 <2960474346@qq.com>
@shipiyouniao
shipiyouniao force-pushed the fix/local-physical-reservation branch from d5c3570 to 27dd583 Compare October 19, 2026 05:07
@shipiyouniao shipiyouniao changed the title fix(allocator): reserve local physical growth before mapping test(allocator): cover local growth ledger regressions Oct 19, 2026
@shipiyouniao
shipiyouniao marked this pull request as ready for review October 19, 2026 06:50
@shipiyouniao

Copy link
Copy Markdown
Collaborator Author

The tests from this PR have been moved into #455 as the independent commit 2cc3240, preserving authorship. #488 and #489 inherit that commit through #455 rather than duplicating the tests.

The three updated heads passed private CPU, native GPU, C++, pre-commit and type checks, plus all nine PR CI checks each. Closing this PR because its test coverage now travels with #455; no PR was merged.

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.

2 participants