Skip to content

Commit df8ce20

Browse files
Yun NiGoogle-ML-Automation
authored andcommitted
Expose get_concrete_mesh to users through jax.sharding.
This allows get_concrete_mesh() to retrieve the mesh set by jax.set_mesh(), which makes the API more cohesive. PiperOrigin-RevId: 813819319
1 parent 8fd3223 commit df8ce20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jax/sharding.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
AbstractMesh as AbstractMesh,
3232
AxisType as AxisType,
3333
get_abstract_mesh as get_abstract_mesh,
34+
get_concrete_mesh as get_concrete_mesh,
3435
use_abstract_mesh as use_abstract_mesh,
3536
)
3637

0 commit comments

Comments
 (0)