Skip to content

Commit

Permalink
Update grad(shard_map(...)) test.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyfertig committed Dec 17, 2024
1 parent 3f4e54b commit 9395fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/debug_nans_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def f(x):

with self.assertRaisesRegex(
FloatingPointError,
r"Invalid value \(nan\) encountered in sharded computation.\nWhen differentiating"):
r"invalid value \(nan\) encountered in mul\nWhen differentiating"):
ans, = f_vjp(jnp.ones([1]))
ans.block_until_ready()

Expand Down

0 comments on commit 9395fc7

Please sign in to comment.