File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
python/paddle/fluid/tests/unittests Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -625,6 +625,12 @@ if (WITH_XPU)
625625 add_subdirectory (xpu)
626626endif ()
627627
628+ # dist xpu tests:
629+ if (WITH_XPU_BKCL)
630+ py_test(test_collective_reduce_api_xpu SRCS "test_collective_reduce_api.py" )
631+ py_test(test_collective_allreduce_api_xpu SRCS "test_collective_allreduce_api.py" )
632+ endif ()
633+
628634if (WITH_ASCEND_CL)
629635 add_subdirectory (npu)
630636endif ()
Original file line number Diff line number Diff line change @@ -21,11 +21,5 @@ foreach(TEST_OP ${DIST_TEST_OPS})
2121 py_test_modules(${TEST_OP} MODULES ${TEST_OP} )
2222endforeach (TEST_OP)
2323
24- # dist xpu tests:
25- if (WITH_XPU_BKCL)
26- py_test(test_collective_reduce_api_xpu SRCS "../test_collective_reduce_api.py" )
27- py_test(test_collective_allreduce_api_xpu SRCS "../test_collective_allreduce_api.py" )
28- endif ()
29-
3024set_tests_properties (test_mul_op_xpu PROPERTIES TIMEOUT 120)
3125set_tests_properties (test_conv2d_op_xpu PROPERTIES TIMEOUT 120)
You can’t perform that action at this time.
0 commit comments