Commit 40024b1
Expose
PiperOrigin-RevId: 833451082jax.sharding.get_mesh() as a way to get the concrete mesh. This is useful for writing libraries. get_mesh() can't be used inside jax.jit just like set_mesh.1 parent f8f68d6 commit 40024b1
File tree
4 files changed
+12
-1
lines changed- jax
- _src
- tests
4 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1258 | 1258 | | |
1259 | 1259 | | |
1260 | 1260 | | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
1261 | 1269 | | |
1262 | 1270 | | |
1263 | 1271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7633 | 7633 | | |
7634 | 7634 | | |
7635 | 7635 | | |
| 7636 | + | |
| 7637 | + | |
7636 | 7638 | | |
7637 | 7639 | | |
7638 | 7640 | | |
| |||
0 commit comments