mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-04 00:06:38 +08:00
Set approve checking for config.py, worker, model and cudagraph (#4276)
* set approve checking for config.py and worker files * update * update * update file list * check worker * update * check graph * check model_loader * check models * update
This commit is contained in:
@@ -50,6 +50,20 @@ if [ ${HAS_CUSTOM_REGISTRER} ] && [ "${PR_ID}" != "" ]; then
|
|||||||
check_approval "$echo_line3" 1 XiaoguangHu01 jeff41404 phlrain
|
check_approval "$echo_line3" 1 XiaoguangHu01 jeff41404 phlrain
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
WORKER_OR_CONFIG_LIST=(
|
||||||
|
"fastdeploy/config.py"
|
||||||
|
"fastdeploy/worker"
|
||||||
|
"fastdeploy/model_executor/graph_optimization"
|
||||||
|
"fastdeploy/model_executor/model_loader"
|
||||||
|
"fastdeploy/model_executor/models"
|
||||||
|
)
|
||||||
|
|
||||||
|
HAS_WORKER_OR_CONFIG_MODIFY=`git diff upstream/$BRANCH --name-only | grep -E $(printf -- "-e %s " "${WORKER_OR_CONFIG_LIST[@]}") || true`
|
||||||
|
if [ ${HAS_WORKER_OR_CONFIG_MODIFY} ] && [ "${PR_ID}" != "" ]; then
|
||||||
|
echo_line1="You must have one FastDeploy RD (gongshaotian(gongshaotian), yuanlehome(liuyuanle)) approval for modifing [$(IFS=', '; echo "${WORKER_OR_CONFIG_LIST[*]}")]."
|
||||||
|
check_approval "$echo_line1" 1 gongshaotian yuanlehome
|
||||||
|
fi
|
||||||
|
|
||||||
SPECULATIVE_DECODING_LIST=(
|
SPECULATIVE_DECODING_LIST=(
|
||||||
"fastdeploy/spec_decode"
|
"fastdeploy/spec_decode"
|
||||||
"custom_ops/gpu_ops/speculate_decoding"
|
"custom_ops/gpu_ops/speculate_decoding"
|
||||||
|
Reference in New Issue
Block a user