Skip to content

Commit

Permalink
add with_sharding_constraint to attention
Browse files Browse the repository at this point in the history
  • Loading branch information
penxujun committed Mar 12, 2024
1 parent 47b21f0 commit 1a0b9a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions axlearn/common/attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
get_or_none,
shapes,
split_prng_key,
with_sharding_constraint
)

NEG_INF = -1e15
Expand Down

0 comments on commit 1a0b9a3

Please sign in to comment.