Fix: raise batch_paged_attention heap and drop flaky wall-time test#538
Merged
ChaoWao merged 1 commit intoApr 13, 2026
Conversation
444ffe0 to
0d88772
Compare
- tests/st/a2a3/tensormap_and_ringbuffer/batch_paged_attention: set PTO2_RING_HEAP to 1 GiB (2^30) via RUNTIME_ENV. The default 1024 B heap is too small for this scene's intermediate tensors and causes the test to fail on hardware. - tests/ut/py/test_dist_worker/test_group_task: remove TestGroupParallel.test_group_wall_time. The wall-time assertion is flaky under scheduler jitter, and without it the test is redundant with TestGroupBasic.test_group_both_workers_execute.
0d88772 to
8858c9c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tests/st/a2a3/tensormap_and_ringbuffer/batch_paged_attention: setPTO2_RING_HEAP=1073741824(1 GiB, 2^30) viaRUNTIME_ENV. Default1024 B is too small for this scene's intermediate tensors and causes
the test to fail on hardware.
tests/ut/py/test_dist_worker/test_group_task: deleteTestGroupParallel.test_group_wall_time. The wall-time assertion isflaky under scheduler jitter (observed 0.36 s against the 0.36 s
threshold on a 0.2 s parallel / 0.4 s serial target), and without it
the test is redundant with
TestGroupBasic.test_group_both_workers_execute.Testing
python examples/scripts/run_example.py -k tests/st/a2a3/tensormap_and_ringbuffer/batch_paged_attention/kernels -g tests/st/a2a3/tensormap_and_ringbuffer/batch_paged_attention/golden.py -p a2a3pytest tests/ut/py/test_dist_worker/test_group_task.py