Unverified Commit 144bc3c2 authored by Haoyu Zhang's avatar Haoyu Zhang Committed by GitHub
Browse files

Remove whitespaces from empty lines (#7353)

parent c92a7e16
......@@ -193,7 +193,7 @@ class NCFKerasAccuracy(NCFKerasBenchmarkBase):
FLAGS.early_stopping = True
FLAGS.num_gpus = 2
self._run_and_report_benchmark()
def benchmark_2_gpus_early_stop_force_V2(self):
self._setup()
FLAGS.early_stopping = True
......@@ -280,7 +280,7 @@ class NCFKerasAccuracy(NCFKerasBenchmarkBase):
FLAGS.beta2 = 0.5
FLAGS.epsilon = 1e-8
self._run_and_report_benchmark_mlperf_like()
def benchmark_8_gpu_force_v2_mlperf_like(self):
"""8 GPU using keras fit/compile V2 codepath."""
self._setup()
......
......@@ -78,7 +78,7 @@ class Resnet50KerasAccuracy(keras_benchmark.KerasBenchmark):
FLAGS.datasets_num_private_threads = 14
FLAGS.use_tensor_lr = True
self._run_and_report_benchmark()
def benchmark_8_gpu_force_v2(self):
"""Test Keras model with eager, dist_strat, force v2 and 8 GPUs."""
self._setup()
......@@ -579,7 +579,7 @@ class Resnet50KerasBenchmarkBase(keras_benchmark.KerasBenchmark):
FLAGS.model_dir = self._get_model_dir('benchmark_8_gpu')
FLAGS.batch_size = 128 * 8 # 8 GPUs
self._run_and_report_benchmark()
def benchmark_8_gpu_force_v2(self):
"""Test Keras model with 8 GPUs and v2 codepath."""
self._setup()
......
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