Skip to content

Commit

Permalink
Merge pull request jax-ml#14593 from eltociear:patch-5
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 511179557
  • Loading branch information
jax authors committed Feb 21, 2023
2 parents ea6e820 + 28f89f6 commit 6414539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jax/_src/maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def xmap(fun: Callable,
Note that the contraction in the program is performed over the positional axes,
while named axes are just a convenient way to achieve batching. While this
might seem like a silly example at first, it might turn out to be useful in
practice, since with conjuction with ``axis_resources`` this makes it possible
practice, since with conjunction with ``axis_resources`` this makes it possible
to implement a distributed matrix-multiplication in just a few lines of code::
devices = np.array(jax.devices())[:4].reshape((2, 2))
Expand Down

0 comments on commit 6414539

Please sign in to comment.