Skip to content
Open
Changes from all commits
Commits
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
4 changes: 0 additions & 4 deletions vllm_gaudi/extension/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,6 @@ def _fsdpa_prompt_attention(query: torch.Tensor,
recompute_mode = True
assert attn_bias is not None or valid_seq_lengths is not None, \
'Either attn_bias or valid_seq_lengths must be != None'
if is_causal and attn_bias is not None:
# TODO: causal + attn_bias is not yet supported
is_causal = False
valid_seq_lengths = None
attn_weights = fsdpa_op(query, key, value, attn_bias, 0.0, is_causal, scale, softmax_mode, recompute_mode,
valid_seq_lengths, 'right')
attn_weights = attn_weights.transpose(1, 2)
Expand Down
Loading