diff options
-rw-r--r-- | tensorflow/core/common_runtime/collective_param_resolver_local.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tensorflow/core/common_runtime/collective_param_resolver_local.cc b/tensorflow/core/common_runtime/collective_param_resolver_local.cc index 1178f8624c..8b2e0d1e0a 100644 --- a/tensorflow/core/common_runtime/collective_param_resolver_local.cc +++ b/tensorflow/core/common_runtime/collective_param_resolver_local.cc @@ -318,9 +318,6 @@ void SortDevicesAndTasks(CollectiveParams* cp) { // ring order implicit in the device order. void GenerateSubdivPerms(const string& device, int source_rank, CollectiveParams* cp) { - CHECK_GT(cp->instance.impl_details.subdiv_offsets.size(), 0); - cp->instance.impl_details.subdiv_permutations.resize( - cp->instance.impl_details.subdiv_offsets.size()); // Each subdiv permutation is a ring formed by rotating each // single-task subsequence of devices by an offset. This makes most // sense when each task has the same number of devices but we can't |