Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,15 @@ index 609b28a95..6ceb8d9ff 100644
num_pid_n = tl.cdiv(N, BLOCK_N)
pid_m = pid_mn // num_pid_n
pid_n = pid_mn % num_pid_n
@@ -449,8 +487,8 @@ def invoke_moe_batched_triton_kernel(
@@ -449,8 +487,9 @@ def invoke_moe_batched_triton_kernel(
BLOCK_K = config["BLOCK_SIZE_K"]

grid = (
- grid = (
- expert_num_tokens.size(0),
triton.cdiv(max_num_tokens, BLOCK_M) * triton.cdiv(B.size(1), BLOCK_N),
- triton.cdiv(max_num_tokens, BLOCK_M) * triton.cdiv(B.size(1), BLOCK_N),
+ grid = lambda meta: (
+ triton.cdiv(max_num_tokens, meta["BLOCK_M"])
+ * triton.cdiv(B.size(1), meta["BLOCK_N"]),
Comment thread
quinnlp marked this conversation as resolved.
+ expert_num_tokens.size(0),
)

Expand Down
7 changes: 0 additions & 7 deletions scripts/skiplist/default/vllm_tdesc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -882,10 +882,3 @@ tests/kernels/attention/test_triton_unified_attention.py::test_triton_unified_at
tests/kernels/attention/test_triton_unified_attention.py::test_triton_unified_attn[8-q_dtype1-2048-50.0-dtype0-256-16-256-num_heads1-seq_lens1]
tests/kernels/attention/test_triton_unified_attention.py::test_triton_unified_attn[8-q_dtype1-2048-50.0-dtype0-256-16-256-num_heads2-seq_lens0]
tests/kernels/attention/test_triton_unified_attention.py::test_triton_unified_attn[8-q_dtype1-2048-50.0-dtype0-256-16-256-num_heads2-seq_lens1]

# Tensor-likes are not close: https://github.com/intel/intel-xpu-backend-for-triton/issues/7753
tests/kernels/moe/test_batched_moe.py::test_fused_moe_batched_experts[False-None-False-dtype0-2-8-222-128-2048]
tests/kernels/moe/test_batched_moe.py::test_fused_moe_batched_experts[False-None-False-dtype0-6-8-45-1024-128]
tests/kernels/moe/test_batched_moe.py::test_fused_moe_batched_experts[False-None-False-dtype0-6-8-64-512-512]
tests/kernels/moe/test_batched_moe.py::test_fused_moe_batched_experts[False-None-False-dtype0-6-8-64-1024-2048]
tests/kernels/moe/test_batched_moe.py::test_fused_moe_batched_experts[False-None-False-dtype0-6-8-222-128-2048]
6 changes: 0 additions & 6 deletions scripts/skiplist/xe2/vllm_tdesc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -885,9 +885,3 @@ tests/kernels/attention/test_triton_unified_attention.py::test_triton_unified_at

# Nondeterministic tensor-likes are not close on B580: https://github.com/intel/intel-xpu-backend-for-triton/issues/7395
tests/kernels/attention/test_triton_unified_attention.py::test_triton_unified_attn_fp16_input_fp8_output[8-32768-50.0-None-16-128-num_heads1-seq_lens3]

# Tensor-likes are not close: https://github.com/intel/intel-xpu-backend-for-triton/issues/7753
tests/kernels/moe/test_batched_moe.py::test_fused_moe_batched_experts[False-None-False-dtype0-2-8-222-128-2048]
tests/kernels/moe/test_batched_moe.py::test_fused_moe_batched_experts[False-None-False-dtype0-6-8-45-1024-128]
tests/kernels/moe/test_batched_moe.py::test_fused_moe_batched_experts[False-None-False-dtype0-6-8-64-512-512]
tests/kernels/moe/test_batched_moe.py::test_fused_moe_batched_experts[False-None-False-dtype0-6-8-222-128-2048]
Loading