Repository navigation
Support DP attention for breakable prefill CUDA graphs - #30185
merrymercy wants to merge 5 commits into
Conversation
Enable breakable prefill CUDA graph replay for DP attention batches with idle ranks by forcing consistent padding buckets and carrying logprob and non-padded-token metadata through the prefill graph path. Co-authored-by: Lianmin Zheng <[email protected]>
|
/tag-and-rerun-ci |
|
Warning Gemini encountered an error creating the review. You can try again by commenting |
|
Should we remove sglang/python/sglang/srt/server_args.py Line 3307 in 461a633 |
21bfcd7 to
4d199eb
Compare
4d199eb to
8b433be
Compare
ok, removed. Do you have more test cases that i can run? |
|
Removed the DP-attention incompatibility rule for breakable prefill CUDA graph in |
|
The removal of the rule should release all the dp-realted ci test which, however, is a little weak. Previously when I run the bcg set default pr all of them passed as well. |
|
Save CI status for the record CI StatesLatest PR Test (Base): ❌ Run #28822209659 (one failed dp attention test) |
Summary
Testing
CUDA_VISIBLE_DEVICES=0,1 LD_PRELOAD=/lib64/libnuma.so.1 uv run --no-sync python test/registered/dp_attn/test_dp_attention_breakable_cuda_graph_kl.py -vRan 2 tests in 174.246savg KL: 0.000221KL threshold: 0.002500pre-commit run black-jupyter --files test/registered/dp_attn/test_dp_attention_breakable_cuda_graph_kl.pypython3 -m py_compile python/sglang/srt/server_args.py test/registered/dp_attn/test_dp_attention_breakable_cuda_graph_kl.pygit diff --check -- python/sglang/srt/server_args.py test/registered/dp_attn/test_dp_attention_breakable_cuda_graph_kl.pyCI States
Latest PR Test (Base): ❌ Run #28822209659
Latest PR Test (Extra): ✅ Run #28822209464