Isha Arkatkar
79cd2fd4ac
Update check for multiple devices found to check whether there is a single device colocated with the default_device.
...
If multiple devices are found in the cluster, but there is a single device colocated with default_device, the single colocated device would be used by placer. This change relaxes the current check to account for parent device scope.
For example,
@tf.function()
def replica_fn()
with tf.device("gpu:0")
with tf.device("worker1"):
replica_fn()
In this case there may be multiple gpu:0 in the cluster, but gpu:0 on worker 1 should be picked. In this case, we should not receive multiple devices found error.
PiperOrigin-RevId: 357996270
Change-Id: I6a19deb5f26d7741ba7f7adff7f14550679b3d6d
2021-02-17 11:48:37 -08:00
..
2021-01-29 17:31:11 -08:00
2021-02-12 11:12:32 -08:00
2021-02-09 14:03:25 -08:00
2020-07-28 14:38:22 -07:00
2021-02-04 10:07:20 -08:00
2021-02-04 10:07:20 -08:00
2021-02-04 11:10:01 -08:00
2021-02-10 11:57:56 -08:00
2021-02-10 11:57:56 -08:00
2020-10-20 13:28:09 -07:00
2020-10-21 16:40:53 -07:00
2020-10-29 02:52:55 +03:00
2021-02-04 11:10:01 -08:00
2020-04-20 18:19:58 -07:00
2020-09-17 14:35:16 -07:00
2020-09-17 14:35:16 -07:00
2020-09-17 14:35:16 -07:00
2021-02-04 10:07:20 -08:00
2021-02-10 14:43:43 -08:00
2021-02-05 10:03:57 -08:00
2020-10-21 13:02:25 -07:00
2020-10-21 13:02:25 -07:00
2020-10-21 13:02:25 -07:00
2020-09-28 17:57:59 -07:00
2020-12-30 15:00:32 -08:00
2020-04-21 14:44:53 -07:00
2021-01-12 11:22:48 -08:00
2021-01-12 11:22:48 -08:00
2020-10-22 20:49:03 +02:00
2020-12-07 16:41:10 +00:00
2020-10-14 21:51:24 -07:00
2020-02-20 10:32:29 -08:00
2020-03-05 08:42:01 -08:00
2020-10-16 15:11:35 -07:00
2020-01-31 11:35:33 -08:00
2020-05-12 21:27:15 -07:00
2020-06-11 12:58:56 -07:00
2020-09-09 10:53:49 -07:00
2020-09-09 10:53:49 -07:00
2020-09-09 10:53:49 -07:00
2020-01-31 10:16:53 -08:00
2020-05-21 12:22:18 -07:00
2020-05-21 12:22:18 -07:00
2020-10-16 15:11:35 -07:00
2020-10-29 23:45:48 -07:00
2020-09-15 11:21:47 -07:00
2020-12-14 18:08:03 -08:00
2020-03-05 08:42:01 -08:00
2020-06-11 12:58:56 -07:00
2020-06-11 12:58:56 -07:00
2020-04-01 14:35:21 -07:00
2020-10-19 21:27:26 -07:00
2020-10-19 21:27:26 -07:00
2020-03-05 08:42:01 -08:00
2020-10-29 23:45:48 -07:00
2020-12-14 18:08:03 -08:00
2020-12-10 21:07:03 -08:00
2020-04-27 10:43:23 -07:00
2020-04-27 10:43:23 -07:00
2020-12-30 14:42:46 -08:00
2020-04-28 20:24:52 -07:00
2020-02-06 15:37:07 -08:00
2020-02-06 15:37:07 -08:00
2020-02-06 15:37:07 -08:00
2020-02-06 15:37:07 -08:00
2020-02-06 15:37:07 -08:00
2020-02-06 15:37:07 -08:00
2020-12-15 16:59:01 -08:00
2020-09-22 10:59:59 -07:00
2020-04-27 10:43:23 -07:00
2020-04-27 10:43:23 -07:00
2020-09-22 10:59:59 -07:00
2020-09-22 10:59:59 -07:00
2020-07-26 23:49:59 +00:00
2020-04-28 09:53:59 -07:00
2020-05-04 10:20:25 -07:00
2021-02-01 16:55:28 -08:00
2020-04-27 10:43:23 -07:00
2020-04-28 09:53:59 -07:00
2020-04-28 09:53:59 -07:00
2021-01-27 11:36:14 -08:00
2021-02-01 10:26:25 -08:00
2020-05-26 20:47:42 -07:00
2020-05-26 20:47:42 -07:00
2020-07-02 11:34:23 -07:00
2020-04-27 10:43:23 -07:00
2020-04-27 10:43:23 -07:00
2020-05-08 09:41:13 -07:00
2020-05-08 09:41:13 -07:00
2021-02-04 10:07:20 -08:00
2021-02-04 10:07:20 -08:00
2020-07-15 13:32:36 -07:00
2020-05-07 17:26:18 -07:00
2020-05-07 17:26:18 -07:00
2020-12-15 16:59:01 -08:00
2020-04-28 20:24:52 -07:00
2020-04-28 20:24:52 -07:00
2020-04-28 09:53:59 -07:00
2020-10-24 11:27:07 -07:00
2020-11-23 22:47:15 -08:00
2020-03-05 08:42:01 -08:00
2020-04-22 15:36:40 -07:00
2020-04-28 09:53:59 -07:00
2020-04-28 20:24:52 -07:00
2020-04-28 20:24:52 -07:00
2020-04-28 09:53:59 -07:00
2020-04-28 20:24:52 -07:00
2020-04-28 20:24:52 -07:00
2020-04-28 09:53:59 -07:00
2020-07-30 16:23:47 -07:00
2020-04-28 20:24:52 -07:00
2020-12-09 09:23:02 -08:00
2020-12-09 09:23:02 -08:00
2020-04-28 20:24:52 -07:00
2020-05-08 14:33:01 -07:00
2020-05-08 14:33:01 -07:00
2020-04-28 20:24:52 -07:00
2020-09-15 11:21:47 -07:00
2020-09-15 11:21:47 -07:00
2020-04-06 10:39:03 -07:00
2020-10-17 16:33:33 -07:00
2020-03-05 08:42:01 -08:00
2021-01-05 09:15:26 -08:00
2021-01-05 09:15:26 -08:00
2020-04-28 09:53:59 -07:00
2020-04-28 09:53:59 -07:00
2020-08-26 20:01:22 -07:00
2020-04-28 09:53:59 -07:00
2020-10-16 13:22:42 -07:00
2020-07-27 12:49:09 -07:00
2020-02-27 15:42:16 +09:00
2020-04-22 09:43:00 -07:00
2020-05-04 11:18:39 -07:00
2020-12-15 13:26:34 -08:00
2020-12-15 13:26:34 -08:00
2020-09-15 17:15:11 -07:00
2020-09-23 14:15:49 -07:00
2021-02-04 10:07:20 -08:00
2021-02-04 10:07:20 -08:00
2020-08-19 16:24:36 -07:00
2020-04-28 09:53:59 -07:00
2020-04-28 20:24:52 -07:00
2020-12-30 15:00:32 -08:00
2020-01-06 11:46:01 -08:00
2020-11-20 17:56:43 -08:00
2021-01-13 15:47:59 -08:00
2020-09-22 10:59:59 -07:00
2021-02-17 11:48:37 -08:00
2021-02-05 14:52:22 -08:00
2020-12-23 15:18:36 -08:00
2020-07-19 18:48:15 -07:00
2020-04-16 12:08:58 -07:00
2020-04-22 15:36:40 -07:00
2020-04-22 15:36:40 -07:00
2020-09-15 17:15:11 -07:00
2020-09-15 17:15:11 -07:00
2020-04-29 09:20:48 -07:00
2020-04-29 09:20:48 -07:00
2020-04-28 09:53:59 -07:00
2020-10-23 18:14:22 -07:00
2020-10-02 11:23:42 -07:00
2020-08-16 16:02:28 -07:00
2020-08-16 16:02:28 -07:00
2020-05-04 11:18:39 -07:00
2021-02-04 10:07:20 -08:00
2020-07-15 13:32:36 -07:00
2021-02-04 10:07:20 -08:00
2020-09-28 17:57:59 -07:00
2021-02-04 10:07:20 -08:00
2020-10-21 11:17:35 -07:00
2020-10-29 02:52:55 +03:00
2020-08-01 12:23:19 -07:00
2020-08-01 12:23:19 -07:00
2020-01-29 18:29:05 -08:00
2020-06-03 13:30:21 -07:00
2020-04-30 10:37:25 -07:00
2020-10-19 21:27:26 -07:00
2020-10-19 21:27:26 -07:00
2020-05-08 16:11:54 -07:00
2020-05-08 16:11:54 -07:00
2020-12-17 18:11:13 -08:00
2020-04-22 09:43:00 -07:00
2020-09-18 13:27:17 -07:00
2020-10-16 13:22:42 -07:00