Skip to content

Commit

Permalink
Force incarnation_id of 1 in multi_device_iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfurmanek committed Aug 15, 2023
1 parent 2d52de6 commit a5072f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/core/kernels/data/multi_device_iterator_ops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class MultiDeviceIterator : public ResourceBase {
params.thread_pool = &unbounded_thread_pool_;
params.cancellation_manager = ctx->cancellation_manager();
IteratorContext iter_ctx(std::move(params));
multi_device_buffer_->GetNextFromShard(&iter_ctx, shard_num, incarnation_id,
multi_device_buffer_->GetNextFromShard(&iter_ctx, shard_num, 1/*incarnation_id*/,
std::move(callback));
return OkStatus();
}
Expand Down

0 comments on commit a5072f7

Please sign in to comment.