Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Dec 19, 2023
1 parent 00e2ea9 commit a0898c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/llama.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import jax.lax
import enzymead.jax as enzyme_jax


def rmsnorm(x, weight):
ss = 1 / jnp.sqrt(x.dot(x) / x.shape[0] + 1e-5)
return weight * x * ss
Expand Down

0 comments on commit a0898c5

Please sign in to comment.