Skip to content

Commit 8ac57b5

Browse files
BBufJohnsonms
authored andcommitted
[Diffusion] Fix Ring Parallel bug with FA4 (sgl-project#18062)
1 parent 96a2ebf commit 8ac57b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/sglang/jit_kernel/flash_attention/cute/interface.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,6 +1364,7 @@ def forward(
13641364
pack_gqa=pack_gqa,
13651365
score_mod=score_mod,
13661366
aux_tensors=aux_tensors,
1367+
return_lse=True,
13671368
)
13681369
ctx.save_for_backward(q, k, v, out, lse, cu_seqlens_q, cu_seqlens_k, seqused_q, seqused_k)
13691370
ctx.softmax_scale = softmax_scale

0 commit comments

Comments
 (0)