"vscode:/vscode.git/clone" did not exist on "97a87f9c7d6abe6ea64ccb2440961d4adb543b0a"
Commit 75d13042 authored by Zongwei Zhou's avatar Zongwei Zhou Committed by A. Unique TensorFlower
Browse files

Make BERT SQuAD pure eager test run shorter to avoid timeout

PiperOrigin-RevId: 298734328
parent b0ba8502
...@@ -172,7 +172,7 @@ class BertSquadBenchmarkReal(BertSquadBenchmarkBase): ...@@ -172,7 +172,7 @@ class BertSquadBenchmarkReal(BertSquadBenchmarkBase):
run_eagerly=False, run_eagerly=False,
ds_type='mirrored'): ds_type='mirrored'):
"""Runs the benchmark and reports various metrics.""" """Runs the benchmark and reports various metrics."""
if FLAGS.train_batch_size <= 4: if FLAGS.train_batch_size <= 4 or run_eagerly:
FLAGS.input_meta_data_path = SQUAD_MEDIUM_INPUT_META_DATA_PATH FLAGS.input_meta_data_path = SQUAD_MEDIUM_INPUT_META_DATA_PATH
else: else:
FLAGS.input_meta_data_path = SQUAD_LONG_INPUT_META_DATA_PATH FLAGS.input_meta_data_path = SQUAD_LONG_INPUT_META_DATA_PATH
......
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