Skip to content
Merged
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
2 changes: 1 addition & 1 deletion torch_xla/experimental/custom_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def fa_custom_backward(
if require_grad_ab:
grad_ab = grads[1]

if require_grad_k or require_grad_k:
if require_grad_k or require_grad_v:
payload, _ = trace_pallas(
_flash_attention_bwd_dkv,
q,
Expand Down