Skip to content

[SGLANG] Triton Attention UT failed #3380

@airMeng

Description

@airMeng

Describe the bug

When testing the latest sglang on PVC, the triton attention kernel UT failed

git clone https://github.com/sgl-project/sglang.git
cd sglang
pip install -e "python[all_xpu]"
cd test/srt
pytest test_triton_attention_backend.py

The results will be

FAILED test_triton_attention_kernels.py::TestTritonAttention::test_extend_attention - AssertionError: False is not true
FAILED test_triton_attention_kernels.py::TestTritonAttention::test_grouped_decode_attention - AssertionError: False is not true
======================================================================================================================= 2 failed, 2 passed in 195.69s (0:03:15) ========================================================================================================================

Environment details

Triton: 3.2.0+git7bd27ed6
Torch: 2.7.0a0+git8326d27-cp310-cp310
GPU: 1550 with drivers 1032.21

@EikanWang @etaf @liangan1 for awareness

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions