Skip to content

Commit 19d0d1e

Browse files
ZacharyGarrettcopybara-github
authored andcommitted
Change clients to placement in impls.py documentation.
PiperOrigin-RevId: 771440268
1 parent d0c0d16 commit 19d0d1e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drjax/_src/impls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _placement_axis_in_mesh(
6363
mesh: jax.sharding.Mesh | jax.sharding.AbstractMesh | None,
6464
placement: str,
6565
) -> bool:
66-
"""Checks if a clients axis is present in the mesh."""
66+
"""Checks if a placement axis is present in the mesh."""
6767
if mesh is None:
6868
return False
6969
placement_is_in_mesh = placement in mesh.axis_names
@@ -146,7 +146,7 @@ def broadcast_to_placement(
146146
if _placement_axis_in_mesh(mesh, placement):
147147
pspec = P(placement, *([P.UNCONSTRAINED] * len(arg.shape)))
148148
else:
149-
# Without a clients axis in the mesh, we simply explicitly tell the
149+
# Without a placement axis in the mesh, we simply explicitly tell the
150150
# compiler that there are no constraints on this tensor. This will leave
151151
# the choices in the hands of the compiler.
152152
pspec = P(*([P.UNCONSTRAINED] * (len(arg.shape) + 1)))

0 commit comments

Comments
 (0)