未验证 提交 3e2bc871 编写于 作者: H hutuxian 提交者: GitHub

Try to fix UT Random Fail (#24223)

上级 61ec30f0
......@@ -157,7 +157,7 @@ if(WITH_PYTHON)
#Generate an empty \
#__init__.py to make framework_py_proto as a valid python module.
add_custom_target(framework_py_proto_init ALL COMMAND ${CMAKE_COMMAND} -E touch __init__.py)
add_dependencies(framework_py_proto framework_py_proto_init)
add_dependencies(framework_py_proto framework_py_proto_init trainer_py_proto)
if (NOT WIN32)
add_custom_command(TARGET framework_py_proto POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory ${PADDLE_BINARY_DIR}/python/paddle/fluid/proto
......
......@@ -799,8 +799,6 @@ set +x
testcase=''
done <<< "$test_cases";
echo "For UT Random Fail, will delete soon"
find / -name "proto" -type d | xargs ls
card_test "$single_card_tests" 1 # run cases with single GPU
card_test "$multiple_card_tests" 2 # run cases with two GPUs
card_test "$exclusive_tests" # run cases exclusively, in this cases would be run with 4/8 GPUs
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册