Dan Foreman-Mackey
f93c2a1aa5
Add and test support for partitioning of batch dimensions in lax.linalg.
...
On CPU and GPU, almost all of the primitives in lax.linalg are backed by custom calls that support simple semantics when batch dimensions are sharded. Before this change, all linalg operations on CPU and GPU will insert an `all-gather` before being executed when called on sharded inputs, even when that shouldn't be necessary. This change adds support for this type of partitioning, to cover a wide range of use cases.
There are a few remaining GPU ops that don't support partitioning either because they are backed by HLO ops that don't partition properly (Cholesky factorization and triangular solves), or because they're still using descriptors with problem dimensions in kernel. I'm going to fix these in follow up changes.
PiperOrigin-RevId: 731732301
2025-02-27 08:16:16 -08:00
..
2025-02-11 16:00:03 -08:00
2025-02-26 07:40:40 -05:00
2024-09-20 07:52:33 -07:00
2025-02-27 01:57:47 -08:00
2024-05-15 07:38:20 -07:00
2024-04-11 13:23:27 -07:00
2025-01-10 07:59:56 +02:00
2025-02-27 01:22:15 -08:00
2024-08-13 00:30:23 -07:00
2024-12-05 12:56:07 -08:00
2025-01-06 15:19:02 -08:00
2024-12-18 08:18:57 -05:00
2025-02-26 16:57:18 -08:00
2024-12-18 07:46:14 +00:00
2025-01-10 06:58:46 -08:00
2024-06-24 11:20:39 -07:00
2025-02-27 08:16:16 -08:00
2025-01-17 14:22:27 -05:00
2024-12-12 09:58:14 -05:00
2024-06-18 12:35:08 -04:00
2024-04-11 13:23:27 -07:00
2025-02-26 07:40:40 -05:00
2025-01-23 09:26:38 -08:00
2024-07-22 15:09:15 -07:00
2025-02-11 16:00:03 -08:00
2024-11-01 15:48:07 +00:00
2025-02-03 11:14:48 -05:00
2025-01-23 08:20:38 -08:00
2024-04-11 13:23:27 -07:00
2025-02-25 14:43:17 +01:00
2025-02-24 10:15:21 -08:00
2025-01-08 06:37:44 -08:00
2025-02-26 07:40:40 -05:00
2025-01-10 11:54:09 -08:00
2024-07-29 18:44:31 -07:00
2025-02-18 16:47:19 -08:00
2025-01-29 09:11:02 -08:00
2025-01-08 08:14:50 -08:00
2025-02-24 07:36:18 -08:00
2025-02-06 14:55:57 +00:00
2025-02-06 18:27:58 -08:00
2025-02-10 08:27:18 -08:00
2025-01-29 06:12:33 -08:00
2025-02-05 01:48:28 +00:00
2025-02-13 22:07:04 -08:00
2025-02-26 07:40:40 -05:00
2024-12-20 03:21:53 -08:00
2024-10-29 11:04:31 -07:00
2025-02-27 02:19:43 -08:00
2025-01-10 06:58:46 -08:00
2024-04-11 13:23:27 -07:00
2024-06-17 15:21:49 -04:00
2024-04-11 13:23:27 -07:00
2024-09-20 07:52:33 -07:00
2025-01-10 06:58:46 -08:00
2025-01-23 17:50:19 -08:00
2024-10-07 04:21:38 -07:00
2025-02-21 09:45:59 -08:00
2024-05-25 17:46:01 +00:00
2024-11-07 17:06:02 -08:00
2025-01-17 09:47:50 -08:00
2024-12-17 10:12:34 -08:00
2025-02-26 06:04:26 -05:00
2024-10-07 12:27:35 -07:00
2024-09-20 07:52:33 -07:00
2025-01-14 11:20:50 -08:00
2024-10-03 10:40:39 -07:00
2025-02-12 11:49:39 -08:00
2025-02-27 03:26:37 -08:00
2024-11-18 09:27:36 -08:00
2024-09-20 07:52:33 -07:00
2024-09-20 07:52:33 -07:00
2024-11-18 20:33:27 -05:00
2024-04-11 13:23:27 -07:00
2025-01-10 11:27:35 -08:00
2025-02-12 10:03:01 -08:00
2024-04-11 13:23:27 -07:00
2024-12-17 10:12:34 -08:00
2025-02-26 07:40:40 -05:00
2025-02-27 08:16:16 -08:00
2025-02-26 07:40:40 -05:00
2025-01-10 06:58:46 -08:00
2024-11-05 13:28:17 -08:00
2025-02-14 12:01:55 -08:00
2025-02-26 07:40:40 -05:00
2025-02-26 07:40:40 -05:00
2024-11-28 09:24:20 -08:00
2024-07-12 12:07:24 -07:00
2025-01-10 11:24:39 -08:00
2025-01-10 11:24:39 -08:00
2023-10-04 13:15:49 -07:00
2024-04-11 13:23:27 -07:00
2025-01-10 06:58:46 -08:00
2024-09-20 07:52:33 -07:00
2025-02-18 16:47:19 -08:00
2025-02-23 08:27:56 +02:00
2025-02-09 18:14:33 +02:00
2025-01-31 15:41:50 -08:00
2025-01-22 07:49:43 -08:00
2024-09-20 07:52:33 -07:00
2024-11-30 21:26:48 -08:00
2025-02-18 09:44:16 +00:00
2024-04-11 13:23:27 -07:00
2025-02-27 06:07:05 -05:00
2025-01-20 20:21:01 +01:00
2024-04-11 13:23:27 -07:00
2024-05-06 15:45:25 -04:00
2025-01-10 06:58:46 -08:00
2025-02-12 13:53:36 -08:00
2024-09-24 12:30:11 -07:00
2024-06-14 23:18:20 -07:00
2025-02-26 07:40:40 -05:00
2025-02-26 16:39:45 -05:00
2024-12-12 09:58:14 -05:00
2025-02-25 16:10:25 -08:00
2024-09-25 12:55:43 -04:00
2024-04-11 13:23:27 -07:00
2024-09-20 07:52:33 -07:00
2024-09-24 17:25:26 -07:00
2024-04-11 13:23:27 -07:00
2025-01-31 09:21:46 -08:00
2025-02-01 12:51:11 +05:00
2025-01-08 14:09:07 -08:00
2025-02-20 17:13:24 -08:00
2025-02-27 07:53:18 -08:00
2024-04-11 13:23:27 -07:00
2025-02-06 12:32:10 -08:00
2024-05-08 05:44:08 -07:00
2025-02-03 16:02:06 -08:00
2024-11-11 08:58:15 -08:00
2024-09-20 07:52:33 -07:00
2025-01-10 08:03:33 +02:00
2024-04-11 13:23:27 -07:00
2025-02-09 18:14:33 +02:00
2024-09-20 07:52:33 -07:00
2025-02-26 07:40:40 -05:00
2024-07-15 12:54:00 -07:00
2024-06-13 16:06:14 -07:00
2025-01-21 10:18:42 -08:00
2023-12-13 10:29:45 +00:00
2025-02-09 18:14:33 +02:00
2025-02-05 10:01:23 -08:00
2025-01-09 11:58:34 -05:00
2024-09-20 07:52:33 -07:00
2025-01-24 11:09:16 -08:00
2023-08-08 10:52:11 -07:00
2024-10-29 11:04:31 -07:00