Commit 7041f2b
feat: Low-Level XLA.IFRT integration
refactor: rework how OpSharding works
feat: generate_device_list
feat: add placeholder code to simplify future sharding logic
fixup
fix: store results as HloSharding
docs: fix duplicate docs
feat: compile with logical device ids
fix: use correct global device ids
feat: use a global state to setup pjrt distributed runtime
fix: devices are not necessarily from 0 to N-1
fix: initialize clients on first use rather than on init
fix: make device selection consistent with clients
feat: add OMPI cluster detection
fix: correctly set kv_store
refactor: Distributed setup is not PJRT specific
refactor: OMPI detection doesn't need to be in an extension
feat: initial low-level IFRT API
fix: ifrt HloSharding
refactor: split up into IFRT/PJRT
feat: IFRT Client APIs
feat: IFRT Device API
fix: remove global_ordinals
feat: add devices list abstraction
feat: wrap memory and memory kinds
feat: ifrt::HloSharding now working
fix: use new ABI
chore: run formatter
fix: no finalizer
feat: initial draft of IFRT.Array interface (#774)
* feat: initial draft of IFRT.Array interface
* feat: Base.Array to ifrt::Array
* feat: buffer to host
chore: run formatter
fix: bad rebase
feat: more proxy servers
feat: add ConcreteIFRTArray
feat: add ConcreteIFRTNumber
refactor: rename ConcreteRNumber to ConcretePJRTNumber
revert: concreteifrtarray implementation
chore: run formatter
feat: ifrt loaded executable
feat: construct IFRT clients with distributed options
refactor: remove BasicDevicesList
fix: use global device ids
feat: sharding annotations across nodes now working
fix: Array construction from SingleShards
feat: support to_host for distributed cases
feat: add Gloo/MPI collectives for distributed CPU client
feat: low level compile API
feat: low-level IFRT compile + execute working1 parent 0a7e078 commit 7041f2b
File tree
35 files changed
+2159
-594
lines changed- ext
- src
- xla
- IFRT
- PJRT
- test
35 files changed
+2159
-594
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| 77 | + | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
| |||
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
84 | | - | |
| 87 | + | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
| 78 | + | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
91 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| |||
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
101 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
102 | 108 | | |
103 | 109 | | |
104 | 110 | | |
| |||
114 | 120 | | |
115 | 121 | | |
116 | 122 | | |
117 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
118 | 126 | | |
119 | 127 | | |
120 | 128 | | |
| |||
124 | 132 | | |
125 | 133 | | |
126 | 134 | | |
127 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
128 | 138 | | |
129 | 139 | | |
130 | 140 | | |
| |||
477 | 487 | | |
478 | 488 | | |
479 | 489 | | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
| 490 | + | |
| 491 | + | |
485 | 492 | | |
486 | 493 | | |
487 | 494 | | |
| |||
493 | 500 | | |
494 | 501 | | |
495 | 502 | | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| |||
1079 | 1079 | | |
1080 | 1080 | | |
1081 | 1081 | | |
1082 | | - | |
1083 | 1082 | | |
1084 | 1083 | | |
1085 | 1084 | | |
| |||
1091 | 1090 | | |
1092 | 1091 | | |
1093 | 1092 | | |
1094 | | - | |
| 1093 | + | |
1095 | 1094 | | |
1096 | 1095 | | |
1097 | 1096 | | |
| |||
1101 | 1100 | | |
1102 | 1101 | | |
1103 | 1102 | | |
1104 | | - | |
| 1103 | + | |
1105 | 1104 | | |
1106 | 1105 | | |
1107 | | - | |
1108 | | - | |
| 1106 | + | |
| 1107 | + | |
1109 | 1108 | | |
1110 | 1109 | | |
1111 | 1110 | | |
1112 | 1111 | | |
1113 | 1112 | | |
1114 | | - | |
1115 | | - | |
| 1113 | + | |
| 1114 | + | |
1116 | 1115 | | |
1117 | 1116 | | |
1118 | 1117 | | |
| |||
1386 | 1385 | | |
1387 | 1386 | | |
1388 | 1387 | | |
1389 | | - | |
| 1388 | + | |
1390 | 1389 | | |
1391 | 1390 | | |
1392 | 1391 | | |
| |||
1412 | 1411 | | |
1413 | 1412 | | |
1414 | 1413 | | |
1415 | | - | |
1416 | | - | |
| 1414 | + | |
| 1415 | + | |
1417 | 1416 | | |
1418 | 1417 | | |
1419 | 1418 | | |
1420 | 1419 | | |
1421 | 1420 | | |
1422 | | - | |
| 1421 | + | |
1423 | 1422 | | |
1424 | 1423 | | |
1425 | 1424 | | |
| |||
1432 | 1431 | | |
1433 | 1432 | | |
1434 | 1433 | | |
1435 | | - | |
1436 | | - | |
1437 | | - | |
1438 | | - | |
1439 | | - | |
| 1434 | + | |
| 1435 | + | |
1440 | 1436 | | |
1441 | 1437 | | |
1442 | 1438 | | |
| |||
1463 | 1459 | | |
1464 | 1460 | | |
1465 | 1461 | | |
1466 | | - | |
1467 | | - | |
| 1462 | + | |
| 1463 | + | |
1468 | 1464 | | |
1469 | 1465 | | |
1470 | 1466 | | |
| |||
1477 | 1473 | | |
1478 | 1474 | | |
1479 | 1475 | | |
1480 | | - | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
1481 | 1479 | | |
1482 | 1480 | | |
1483 | 1481 | | |
| |||
1525 | 1523 | | |
1526 | 1524 | | |
1527 | 1525 | | |
1528 | | - | |
| 1526 | + | |
1529 | 1527 | | |
1530 | 1528 | | |
1531 | | - | |
| 1529 | + | |
1532 | 1530 | | |
1533 | 1531 | | |
1534 | 1532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 9 | + | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
16 | | - | |
| 13 | + | |
17 | 14 | | |
18 | | - | |
| 15 | + | |
19 | 16 | | |
20 | | - | |
| 17 | + | |
21 | 18 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 19 | + | |
| 20 | + | |
25 | 21 | | |
26 | 22 | | |
27 | 23 | | |
| |||
0 commit comments