Repository navigation
Conversation
#6494 added a split_k argument to get_split_k_buffers; the test still called it with two arguments and failed with TypeError.
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
… workspace, CI - capture_scoped_cache now asks HIP about the stream the builder's fill runs on (its stream argument, else the current stream of its device argument), not the ambient current device: a builder for cuda:1 called while cuda:0 is current and cuda:1 is capturing was treated as eager. - Split the preshuffle split-K buffers: the fully overwritten 16 MiB workspace stays one per (device, stream) and is never evicted; only the zero-initialized semaphore is capture-scoped. - The split-K repro checks with checkAllclose at test_flydsl_hgemm's bf16 split-K tolerances; add a two-GPU test for the target-device case. - Run op_tests/test_graph_alloc.py through pytest in aiter_test.sh (it has no __main__), and pass split_k in the private-pool test (same fix as #7039). Signed-off-by: Fangzhou Ai <[email protected]> Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
NOT READY FOR HUMAN REVIEWPR Self-ReviewRevision Waiting for the PR author. The readiness report will appear after the self-review answers are complete for this revision. Questions to answer in the PR description
Edit the Missing or invalid answers
Shadow mode reports what would block but keeps the status successful. Set |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the regression-test change adding the required split_k argument.
No open issues 🎉
What changed in this PR
Fixes the graph-allocation regression test to match the get_split_k_buffers signature introduced in #6494, allowing its memory-pool checks to run.
Changes:
- Passes
1as the requiredsplit_kargument. - Leaves the existing assertions and runtime code unchanged.
| File | Description |
|---|---|
op_tests/test_graph_alloc.py |
Supplies the missing split_k argument to the gfx950 buffer allocator. |
Review effort: Balanced
|
Superseded by #7126, which made the same change to |
Motivation
#6494 added a
split_kargument toget_split_k_buffersinaiter/ops/flydsl/kernels/gemm_a16w16_gfx950.py.op_tests/test_graph_alloc.pystill calls it with two arguments, sotest_every_cached_scratch_comes_from_the_private_poolfails before it checks anything:Changes
op_tests/test_graph_alloc.py: passsplit_k=1. The test only checks which memory pool the cached buffers come from, which does not depend onsplit_k.Tests
MI355X (gfx950), image
lmsysorg/sglang-rocm:v0.5.22-rocm724-mi35x-20261021(AITER285579b6). In that commit,op_tests/test_graph_alloc.pyandget_split_k_buffers's signature are the same as on main. Two fresh containers per arm:TypeErrorabove).These runs were made for #7021, now closed in favour of #6712. That PR also moved the bodies of
get_split_k_buffersinto a helper, keeping the same allocations underpersistent_alloc, so the "with" arm included that refactor besides this line.This change was developed with AI assistance (Claude); I reviewed it and ran the tests listed.