Skip to content

Commit 0ec90af

Browse files
committed
(trivial) remove redundant
1 parent 845658f commit 0ec90af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

colossalai/kernel/triton/flash_decoding.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,7 @@ def flash_decoding_attention(
269269
HEAD_DIM=head_dim,
270270
)
271271

272-
output = torch.empty_like(q) # already overlapped
273-
output = torch.empty((bsz, 1, num_heads, head_dim), dtype=q.dtype, device=q.device)
272+
output = torch.empty((bsz, 1, num_heads, head_dim), dtype=q.dtype, device=q.device) # already overlapped
274273

275274
grid = (bsz, num_heads)
276275
_flash_decoding_fwd_reduce_kernel[grid](

0 commit comments

Comments
 (0)