diff --git a/tools/test_op_benchmark.sh b/tools/test_op_benchmark.sh index 5b43915d64ac1493c02f206fc10a20ef4cf8b6d6..afe697ba98db919b687ff0bd6ae518f8200f4c2b 100644 --- a/tools/test_op_benchmark.sh +++ b/tools/test_op_benchmark.sh @@ -64,7 +64,8 @@ function load_CHANGE_OP_FILES_by_header_file { # Load op files that PR changes function load_CHANGE_OP_FILES { local sub_dir change_file - for change_file in $(git diff --name-status origin/develop | grep "^M" | awk '{print $2}') + # TODO(Avin0323): Need to filter the files added by the new OP. + for change_file in $(git diff --name-only origin/develop) do # match directory limit [[ "$change_file" =~ "paddle/fluid/operators/" ]] || continue