Skip to content

Commit 7f1d43e

Browse files
Jokerenwhitneywhtsang
authored andcommitted
[TUTORIALS] Fix return values of the backward function (#6782)
1 parent 576f4ee commit 7f1d43e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tutorials/06-fused-attention.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ def backward(ctx, do):
700700
num_stages=NUM_STAGES #
701701
)
702702

703-
return dq, dk, dv, None, None
703+
return dq, dk, dv, None, None, None, None
704704

705705

706706
attention = _attention.apply

0 commit comments

Comments
 (0)