Skip to content

Commit d69086d

Browse files
Fix typo in error message.
PiperOrigin-RevId: 768815050
1 parent c2a5690 commit d69086d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jax/_src/pjit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2993,7 +2993,7 @@ def reshard(xs, out_shardings):
29932993
if ds is None:
29942994
raise ValueError(
29952995
'Reshard should only be used with out_shardings which are non-None '
2996-
'and have a nonempty mesh. Got sharding {s}.'
2996+
f'and have a nonempty mesh. Got sharding {s}.'
29972997
)
29982998
ds = ds.with_spec(ds.spec._normalized_spec_for_aval(x_aval.ndim)) # pytype: disable=attribute-error
29992999
out_flat.append(reshard_p.bind(x, dst_sharding=ds))

0 commit comments

Comments
 (0)