@ -5,7 +5,6 @@ fi
PADDLE_ROOT = " $( cd " $( dirname " ${ BASH_SOURCE [0] } " ) /../ " && pwd ) "
API_FILES = ( "CMakeLists.txt"
"paddle/fluid/op_use_default_grad_op_maker.spec"
"paddle/fluid/framework/operator.h"
"paddle/fluid/framework/tensor.h"
"paddle/fluid/framework/details/op_registry.h"
@ -95,10 +94,7 @@ for API_FILE in ${API_FILES[*]}; do
# NOTE: per_page=10000 should be ok for all cases, a PR review > 10000 is not human readable.
# You can use http://caius.github.io/github_id/ to find Github user id.
# approval_user_list: XiaoguangHu01 46782768,Xreki 12538138,luotao1 6836917,sneaxiy 32832641,qingqing01 7845005,guoshengCS 14105589,heavengate 12605721,kuke 3064195,Superjomn 328693,lanxianghit 47554610,cyj1986 39645414,hutuxian 11195205,frankwhzhang 20274488,nepeplwu 45024560,Dianhai 38231817,chenwhql 22561442,zhiqiu 6888866,seiriosPlus 5442383,gongweibao 10721757,saxon-zh 2870059,Boyan-Liu 31623103, zhouwei25 52485244, Aurelius84 9301846, liym27 33742067, zhhsplendid 7913861, kolinwei 22165420, liuwei1031 46661762, swtkiwi 27208573, juncaipeng 52520497, zhangting2020 26615455, JepsonWong 16509038.
if [ " ${ API_FILE } " = = "paddle/fluid/op_use_default_grad_op_maker.spec" ] ; then
echo_line = "You must have one RD (sneaxiy (Recommend) or luotao1) approval for op_use_default_grad_op_maker.spec, which manages the grad_op memory optimization.\n"
check_approval 1 32832641 6836917
elif [ " ${ API_FILE } " = = "CMakeLists.txt" ] ; then
if [ " ${ API_FILE } " = = "CMakeLists.txt" ] ; then
echo_line = "You must have one RD (luotao1 or XiaoguangHu01) approval for CMakeLists.txt, which manages the compilation parameter.\n"
check_approval 1 6836917 46782768
elif [ " ${ API_FILE } " = = "python/paddle/fluid/__init__.py" ] ; then
@ -254,6 +250,14 @@ if [ "${UNITTEST_FILE_CHANGED}" != "" ] && [ "${GIT_PR_ID}" != "" ]; then
fi
fi
DEV_OP_USE_DEFAULT_GRAD_MAKER_SPEC = ${ PADDLE_ROOT } /paddle/fluid/op_use_default_grad_maker_DEV.spec
PR_OP_USE_DEFAULT_GRAD_MAKER_SPEC = ${ PADDLE_ROOT } /paddle/fluid/op_use_default_grad_maker_PR.spec
ADDED_OP_USE_DEFAULT_GRAD_MAKER = ` python ${ PADDLE_ROOT } /tools/diff_use_default_grad_op_maker.py ${ DEV_OP_USE_DEFAULT_GRAD_MAKER_SPEC } ${ PR_OP_USE_DEFAULT_GRAD_MAKER_SPEC } `
if [ " ${ ADDED_OP_USE_DEFAULT_GRAD_MAKER } " != "" ] ; then
echo_line = " You must have one RD (sneaxiy (Recommend) or luotao1) approval because you use DefaultGradOpMaker for ${ ADDED_OP_USE_DEFAULT_GRAD_MAKER } , which manages the grad_op memory optimization.\n "
check_approval 1 32832641 6836917
fi
if [ -n " ${ echo_list } " ] ; then
echo "****************"
echo -e " ${ echo_list [@] } "