We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2a5690 commit d69086dCopy full SHA for d69086d
jax/_src/pjit.py
@@ -2993,7 +2993,7 @@ def reshard(xs, out_shardings):
2993
if ds is None:
2994
raise ValueError(
2995
'Reshard should only be used with out_shardings which are non-None '
2996
- 'and have a nonempty mesh. Got sharding {s}.'
+ f'and have a nonempty mesh. Got sharding {s}.'
2997
)
2998
ds = ds.with_spec(ds.spec._normalized_spec_for_aval(x_aval.ndim)) # pytype: disable=attribute-error
2999
out_flat.append(reshard_p.bind(x, dst_sharding=ds))
0 commit comments