From 6e2066b06abc537deca4b4e9cd37857063176b84 Mon Sep 17 00:00:00 2001 From: gongweibao Date: Tue, 5 Jan 2021 16:15:17 +0800 Subject: [PATCH] fix test=release/2.0 (#30045) --- python/paddle/distributed/fleet/launch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/paddle/distributed/fleet/launch.py b/python/paddle/distributed/fleet/launch.py index afc352f89cb..c7c60a3fbde 100644 --- a/python/paddle/distributed/fleet/launch.py +++ b/python/paddle/distributed/fleet/launch.py @@ -117,6 +117,8 @@ see: http://www.paddlepaddle.org/documentation/docs/zh/1.6/user_guides/howto/tra "--gpus=\"0,1,2,3\" will launch four training processes each bound to one gpu." ) + base_group.add_argument("--selected_gpus", dest="gpus") + base_group.add_argument( "training_script", type=str, -- GitLab