We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f694d8 commit 33430efCopy full SHA for 33430ef
tensorflow/python/training/async_embedding_stage.py
@@ -247,7 +247,7 @@ def _perform_stage(self):
247
248
stage_outputs[stage_node.name] = stage_node_outputs
249
stage_outputs_consumers[stage_node.name] = stage_node_outputs_consumers
250
- with ops.device("/job:worker"):
+ with ops.colocate_with(list(self._stage_nodes.keys())[0]):
251
stage_output_result = prefetch.staged(stage_outputs,
252
num_threads=self._threads_num,
253
capacity=self._capacity,
0 commit comments