"git@developer.sourcefind.cn:change/sglang.git" did not exist on "1f013d64eb78a7336e59244b9628ab36f5d32bf1"
Commit f4dd2cff authored by Yeqing Li's avatar Yeqing Li Committed by A. Unique TensorFlower
Browse files

Internal change

PiperOrigin-RevId: 285223338
parent 152adcbd
...@@ -260,7 +260,7 @@ class RetinanetBenchmarkReal(RetinanetAccuracy): ...@@ -260,7 +260,7 @@ class RetinanetBenchmarkReal(RetinanetAccuracy):
FLAGS.num_gpus = self.num_gpus FLAGS.num_gpus = self.num_gpus
FLAGS.params_override = json.dumps(params) FLAGS.params_override = json.dumps(params)
FLAGS.model_dir = self._get_model_dir('real_benchmark_1_gpu_coco') FLAGS.model_dir = self._get_model_dir('real_benchmark_1_gpu_coco')
FLAGS.strategy_type = 'one_device_gpu' FLAGS.strategy_type = 'one_device'
# Use negative value to avoid saving checkpoints. # Use negative value to avoid saving checkpoints.
FLAGS.save_checkpoint_freq = -1 FLAGS.save_checkpoint_freq = -1
if self.timer_callback is None: if self.timer_callback is None:
...@@ -281,7 +281,7 @@ class RetinanetBenchmarkReal(RetinanetAccuracy): ...@@ -281,7 +281,7 @@ class RetinanetBenchmarkReal(RetinanetAccuracy):
FLAGS.num_gpus = self.num_gpus FLAGS.num_gpus = self.num_gpus
FLAGS.params_override = json.dumps(params) FLAGS.params_override = json.dumps(params)
FLAGS.model_dir = self._get_model_dir('real_benchmark_1_gpu_coco') FLAGS.model_dir = self._get_model_dir('real_benchmark_1_gpu_coco')
FLAGS.strategy_type = 'one_device_gpu' FLAGS.strategy_type = 'one_device'
FLAGS.enable_xla = True FLAGS.enable_xla = True
# Use negative value to avoid saving checkpoints. # Use negative value to avoid saving checkpoints.
FLAGS.save_checkpoint_freq = -1 FLAGS.save_checkpoint_freq = -1
......
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