Commit 6d886d7
committed
Features: Add sharding and multi-host support for JAX backend
- Sharding support: Enable distributed arrays across JAX devices
- Multi-host support: Coordinate checkpointing across multiple processes
- Interoperability: Load sharded checkpoints to unsharded models and vice versa
- Error handling: Proper validation and backend-specific restrictions
- Comprehensive testing: 11 new test methods covering all scenarios1 parent 1dee062 commit 6d886d7
File tree
2 files changed
+316
-298
lines changed- keras/src/callbacks
2 files changed
+316
-298
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
192 | 201 | | |
193 | 202 | | |
194 | 203 | | |
| |||
336 | 345 | | |
337 | 346 | | |
338 | 347 | | |
339 | | - | |
340 | 348 | | |
341 | 349 | | |
342 | 350 | | |
| |||
506 | 514 | | |
507 | 515 | | |
508 | 516 | | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
| 517 | + | |
513 | 518 | | |
514 | 519 | | |
515 | 520 | | |
| |||
0 commit comments