From 9914dff7174303cc4b2a0e8575a6b8a0313d6229 Mon Sep 17 00:00:00 2001 From: WangXi Date: Mon, 5 Jul 2021 19:14:49 +0800 Subject: [PATCH] [hybrid performance] optimize pipeline performance --- python/paddle/fluid/executor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/paddle/fluid/executor.py b/python/paddle/fluid/executor.py index 620729795b..01cf5bc1fe 100644 --- a/python/paddle/fluid/executor.py +++ b/python/paddle/fluid/executor.py @@ -1506,7 +1506,8 @@ class Executor(object): trainer._set_infer(is_infer) trainer._gen_trainer_desc() - self._dump_debug_info(program=program, trainer=trainer) + if program._pipeline_opt is None: + self._dump_debug_info(program=program, trainer=trainer) # in case of calling _set_use_ps_gpu explicitly if dataset.use_ps_gpu is False: dataset._set_use_ps_gpu(trainer.proto_desc.use_ps_gpu) -- GitLab