From 4e756ecc4a0fa2841b00c093aa401f6025c31650 Mon Sep 17 00:00:00 2001 From: mqhc2020 Date: Fri, 4 Sep 2026 14:04:21 +0800 Subject: [PATCH] [AMD] CI: fix Lean decode crash on the EAGLE path (#37119) Co-authored-by: Bingxu Chen --- python/sglang/kernels/ops/attention/decode_attention.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/sglang/kernels/ops/attention/decode_attention.py b/python/sglang/kernels/ops/attention/decode_attention.py index b535e19e2..f711172ea 100644 --- a/python/sglang/kernels/ops/attention/decode_attention.py +++ b/python/sglang/kernels/ops/attention/decode_attention.py @@ -1203,6 +1203,7 @@ def decode_attention_fwd( and _should_use_lean_decode( enable_lean, logit_cap, sinks, xai_temperature_len, score_mod ) + and lean_locks is not None ): total_programs, XCD_REMAP, NUM_XCDS = _lean_decode_launch_params( v_buffer.shape[-2], kv_group_num