Skip to content

Commit

Permalink
Update axlearn/common/attention.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Lee <[email protected]>
  • Loading branch information
Firenze11 and markblee authored Jan 15, 2025
1 parent 7aa6dd5 commit 0be3a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axlearn/common/attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ def forward(
Args:
positions: A tensor representing the token position IDs.
The shape is [batch_size, seq_len].
max_seq_len: Max length of sequence, required if positions is not provided
max_seq_len: Max length of sequence, required if positions is not provided.
Returns:
Rotary Positional Embedding. Shape is [seq_len, dim].
Expand Down

0 comments on commit 0be3a83

Please sign in to comment.