Commit 6def0d03 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower
Browse files

Internal change

PiperOrigin-RevId: 265994446
parent 86204f0c
...@@ -455,7 +455,7 @@ def main(_): ...@@ -455,7 +455,7 @@ def main(_):
else: else:
raise ValueError("Invalid mode {}".format(flags_obj.mode)) raise ValueError("Invalid mode {}".format(flags_obj.mode))
if not flags_obj.distribution_strategy != "tpu": if flags_obj.distribution_strategy != "tpu":
_run_task(task) _run_task(task)
else: else:
primary_cpu_task = "/job:worker" if flags_obj.use_tpu_2vm_config else "" primary_cpu_task = "/job:worker" if flags_obj.use_tpu_2vm_config else ""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment