Skip to content

Commit

Permalink
Move cpu, cuda and other device code into kernels (#15)
Browse files Browse the repository at this point in the history
* fill_any_like kernel refactor

* remove useless code of full_like c++ api

* Support Scalar in Tensor Compute Library

* add scalar in dygraph and static graph mode

* keep the basic type for attr, instead of using scalar for all

* merge the code

* start refactor matmul

* move cpu, cuda and other device modules into kernels

* merge code

* polish code in operator.cc
  • Loading branch information
zyfncg authored Oct 15, 2021
1 parent e0322d5 commit d3ab655
Show file tree
Hide file tree
Showing 41 changed files with 78 additions and 58 deletions.
1 change: 0 additions & 1 deletion paddle/fluid/framework/operator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1966,7 +1966,6 @@ pt::KernelContext OperatorWithKernel::ConstructPtKernelContext(
}

for (size_t i = 0; i < attr_defs.size(); ++i) {
paddle::any attr_item;
if (attr_defs[i].type_index == std::type_index(typeid(pt::Scalar))) {
// TODO(chenweihang): support other attrs
// In principle, the attr required by the dynamic mode should be
Expand Down
21 changes: 1 addition & 20 deletions paddle/tcmpt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,8 @@ add_subdirectory(api)
add_subdirectory(hapi)
# tcmpt core components
add_subdirectory(core)
# tcmpt eigne functors, now paddle must compiled with eigen, but eigen just is
# one backend dtype, we should support cropping it for lite
add_subdirectory(eigen)
# tcmpt kernels for diff device
add_subdirectory(cpu)
if(WITH_GPU OR WITH_ROCM)
# TODO(chenweihang): if hip can split from cuda impl, we should add hip dir
add_subdirectory(cuda)
endif()
# TODO(chenweihang): migrate MKLDNN Kernel in the second phase of the project
if(WITH_MKLDNN)
add_subdirectory(mkldnn)
endif()
# TODO(chenweihang): migrate NPU Kernel in the second phase of the project
if(WITH_ASCEND_CL)
add_subdirectory(npu)
endif()
# TODO(chenweihang): migrate XPU Kernel in the second phase of the project
if(WITH_XPU)
add_subdirectory(xpu)
endif()
add_subdirectory(kernels)
# tcmpt infershape
add_subdirectory(infershape)
# TODO(xingfeng): tcmpt inner module API designed by a high-performance team
Expand Down
4 changes: 2 additions & 2 deletions paddle/tcmpt/api/include/creation.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@

#pragma once

#include "paddle/tcmpt/cpu/creation.h"
#include "paddle/tcmpt/cuda/creation.h"
#include "paddle/tcmpt/kernels/cpu/creation.h"
#include "paddle/tcmpt/kernels/cuda/creation.h"
4 changes: 2 additions & 2 deletions paddle/tcmpt/api/include/linalg.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
#pragma once

// See Note: [ How do we organize the kernel directory ]
#include "paddle/tcmpt/cpu/linalg.h"
#include "paddle/tcmpt/cuda/linalg.h"
#include "paddle/tcmpt/kernels/cpu/linalg.h"
#include "paddle/tcmpt/kernels/cuda/linalg.h"
4 changes: 2 additions & 2 deletions paddle/tcmpt/api/include/manipulation.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
#pragma once

// See Note: [ How do we organize the kernel directory ]
#include "paddle/tcmpt/cpu/manipulation.h"
#include "paddle/tcmpt/cuda/manipulation.h"
#include "paddle/tcmpt/kernels/cpu/manipulation.h"
#include "paddle/tcmpt/kernels/cuda/manipulation.h"
4 changes: 2 additions & 2 deletions paddle/tcmpt/api/include/math.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ limitations under the License. */
#pragma once

// See Note: [ How do we organize the kernel directory ]
#include "paddle/tcmpt/cpu/math.h"
#include "paddle/tcmpt/cuda/math.h"
#include "paddle/tcmpt/kernels/cpu/math.h"
#include "paddle/tcmpt/kernels/cuda/math.h"
5 changes: 5 additions & 0 deletions paddle/tcmpt/hapi/include/linalg.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,10 @@ namespace experimental {

Tensor dot(const Tensor& x, const Tensor& y);

Tensor matmul(const Tensor& x,
const Tensor& y,
bool transpose_x,
bool transpose_y);

} // namespace experimental
} // namespace paddle
18 changes: 18 additions & 0 deletions paddle/tcmpt/kernels/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# tcmpt kernels for diff device
add_subdirectory(cpu)
if(WITH_GPU OR WITH_ROCM)
# TODO(chenweihang): if hip can split from cuda impl, we should add hip dir
add_subdirectory(cuda)
endif()
# TODO(chenweihang): migrate MKLDNN Kernel in the second phase of the project
if(WITH_MKLDNN)
add_subdirectory(mkldnn)
endif()
# TODO(chenweihang): migrate NPU Kernel in the second phase of the project
if(WITH_ASCEND_CL)
add_subdirectory(npu)
endif()
# TODO(chenweihang): migrate XPU Kernel in the second phase of the project
if(WITH_XPU)
add_subdirectory(xpu)
endif()
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License. */
#pragma once

#include "paddle/tcmpt/core/dense_tensor.h"
#include "paddle/tcmpt/eigen/common.h"
#include "paddle/tcmpt/kernels/common/eigen/common.h"

// See Note [ Why still include the fluid headers? ]
#include "paddle/fluid/operators/eigen/eigen_function.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License. */
#pragma once

#include "paddle/tcmpt/core/dense_tensor.h"
#include "paddle/tcmpt/eigen/common.h"
#include "paddle/tcmpt/kernels/common/eigen/common.h"

// See Note [ Why still include the fluid headers? ]
#include "paddle/fluid/operators/eigen/eigen_function.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License. */
#pragma once

#include "paddle/tcmpt/core/dense_tensor.h"
#include "paddle/tcmpt/eigen/common.h"
#include "paddle/tcmpt/kernels/common/eigen/common.h"

// See Note [ Why still include the fluid headers? ]
#include "paddle/fluid/operators/eigen/eigen_function.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License. */
#pragma once

#include "paddle/tcmpt/core/dense_tensor.h"
#include "paddle/tcmpt/eigen/common.h"
#include "paddle/tcmpt/kernels/common/eigen/common.h"

// See Note [ Why still include the fluid headers? ]
#include "paddle/fluid/operators/eigen/eigen_function.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License. */
#pragma once

#include "paddle/tcmpt/core/dense_tensor.h"
#include "paddle/tcmpt/eigen/common.h"
#include "paddle/tcmpt/kernels/common/eigen/common.h"

// See Note [ Why still include the fluid headers? ]
#include "paddle/fluid/operators/eigen/eigen_function.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if(WIN32)
set(CURRENT_BINARY_DIR ${PADDLE_BINARY_DIR}/paddle/tcmpt/cpu)
set(CURRENT_BINARY_DIR ${PADDLE_BINARY_DIR}/paddle/tcmpt/kernels/cpu)
kernel_instantiate(creation.cc)
kernel_instantiate(math.cc)
kernel_instantiate(linalg.cc)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "paddle/tcmpt/cpu/creation.h"
#include "paddle/tcmpt/kernels/cpu/creation.h"

#include "paddle/tcmpt/core/kernel_registry.h"
#include "paddle/tcmpt/eigen/fill.h"
#include "paddle/tcmpt/kernels/common/eigen/fill.h"

namespace pt {

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "paddle/tcmpt/cpu/linalg.h"
#include "paddle/tcmpt/kernels/cpu/linalg.h"

#include "paddle/tcmpt/core/kernel_registry.h"

// See Note [ Why still include the fluid headers? ]
#include "paddle/fluid/framework/eigen.h"
#include "paddle/fluid/operators/math/blas.h"
#include "paddle/fluid/platform/complex.h"

namespace pt {
Expand All @@ -44,6 +45,14 @@ void Dot(const CPUContext& dev_ctx,
}
}

template <typename T>
void matmul(const CPUContext& dev_ctx,
const DenseTensor& x,
const DenseTensor& y,
bool transpose_x,
bool transpose_y,
DenseTensor* out) {}

} // namespace pt

PT_REGISTER_MODULE(LinalgCPU);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,12 @@ void Dot(const CPUContext& dev_ctx,
const DenseTensor& y,
DenseTensor* out);

template <typename T>
void matmul(const CPUContext& dev_ctx,
const DenseTensor& x,
const DenseTensor& y,
bool transpose_x,
bool transpose_y,
DenseTensor* out);

} // namespace pt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "paddle/tcmpt/cpu/manipulation.h"
#include "paddle/tcmpt/cpu/utils.h"
#include "paddle/tcmpt/kernels/cpu/manipulation.h"
#include "paddle/tcmpt/infershape/unary.h"
#include "paddle/tcmpt/kernels/cpu/utils.h"

namespace pt {

Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions paddle/tcmpt/cpu/math.cc → paddle/tcmpt/kernels/cpu/math.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "paddle/tcmpt/cpu/math.h"
#include "paddle/tcmpt/kernels/cpu/math.h"

#include "paddle/tcmpt/eigen/mean.h"
#include "paddle/tcmpt/eigen/scale.h"
#include "paddle/tcmpt/eigen/sign.h"
#include "paddle/tcmpt/kernels/common/eigen/mean.h"
#include "paddle/tcmpt/kernels/common/eigen/scale.h"
#include "paddle/tcmpt/kernels/common/eigen/sign.h"

// See Note [ Why still include the fluid headers? ]
#include "paddle/fluid/framework/eigen.h"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */

#include "paddle/tcmpt/cpu/utils.h"
#include "paddle/tcmpt/kernels/cpu/utils.h"
#include "paddle/fluid/memory/memcpy.h"
#include "paddle/tcmpt/core/convert_utils.h"
#include "paddle/tcmpt/core/dtype.h"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if(WIN32)
set(CURRENT_BINARY_DIR ${PADDLE_BINARY_DIR}/paddle/tcmpt/cuda)
set(CURRENT_BINARY_DIR ${PADDLE_BINARY_DIR}/paddle/tcmpt/kernels/cuda)
kernel_instantiate(creation.cu)
kernel_instantiate(math.cu)
kernel_instantiate(linalg.cu)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "paddle/tcmpt/cuda/creation.h"
#include "paddle/tcmpt/kernels/cuda/creation.h"

#include "paddle/tcmpt/core/kernel_registry.h"
#include "paddle/tcmpt/eigen/fill.h"
#include "paddle/tcmpt/kernels/common/eigen/fill.h"

namespace pt {

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "paddle/tcmpt/cuda/linalg.h"
#include "paddle/tcmpt/kernels/cuda/linalg.h"

#include "paddle/tcmpt/core/kernel_registry.h"
#include "paddle/tcmpt/eigen/dot.h"
#include "paddle/tcmpt/kernels/common/eigen/dot.h"

// See Note [ Why still include the fluid headers? ]
#include "paddle/fluid/platform/complex.h"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "paddle/tcmpt/cuda/manipulation.h"
#include "paddle/tcmpt/cuda/utils.h"
#include "paddle/tcmpt/infershape/unary.h"
#include "paddle/tcmpt/kernels/cuda/manipulation.h"
#include "paddle/tcmpt/kernels/cuda/utils.h"

namespace pt {

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */

#include "paddle/tcmpt/cuda/math.h"
#include "paddle/tcmpt/kernels/cuda/math.h"

#include "paddle/tcmpt/eigen/mean.h"
#include "paddle/tcmpt/eigen/scale.h"
#include "paddle/tcmpt/eigen/sign.h"
#include "paddle/tcmpt/kernels/common/eigen/mean.h"
#include "paddle/tcmpt/kernels/common/eigen/scale.h"
#include "paddle/tcmpt/kernels/common/eigen/sign.h"

#ifdef __NVCC__
#include "cub/cub.cuh"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License. */
#include "paddle/tcmpt/core/convert_utils.h"
#include "paddle/tcmpt/core/dtype.h"
#include "paddle/tcmpt/core/kernel_registry.h"
#include "paddle/tcmpt/cuda/utils.h"
#include "paddle/tcmpt/kernels/cuda/utils.h"

namespace pt {

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion paddle/tcmpt/tests/test_copy_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License. */
#include <memory>

#include "paddle/tcmpt/core/kernel_registry.h"
#include "paddle/tcmpt/cpu/utils.h"
#include "paddle/tcmpt/kernels/cpu/utils.h"

#include "paddle/tcmpt/core/dense_tensor.h"

Expand Down

1 comment on commit d3ab655

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on d3ab655 Oct 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕵️ CI failures summary

🔍 PR: #15 Commit ID: d3ab655 contains failed CI.

🔹 Failed: PR-CI-APPROVAL

approve_failed
2021-10-15 22:21:07 正在保存至: “bk.txt”
2021-10-15 22:21:07 0K 100% 2.66M=0s
2021-10-15 22:21:07 2021-10-15 22:21:06 (2.66 MB/s) - 已保存 “bk.txt” [5/5])
2021-10-15 22:21:14 ****************
2021-10-15 22:21:14 0. You must have one RD (lanxianghit (Recommend), phlrain or luotao1) approval for changing the FLAGS, which manages the environment variables.
2021-10-15 22:21:14 1. You must have Dianhai approval for change 20+ files or add than 1000+ lines of content.
2021-10-15 22:21:14 2. You must have one RD (XiaoguangHu01,chenwhql,zhiqiu,Xreki,luotao1) approval for paddle/fluid/framework/operator.h, which manages the underlying code for fluid.
2021-10-15 22:21:14 3. You must have one RD (zhiqiu (Recommend) , phlrain) approval for the changes of paddle/fluid/pybind/op_function_generator.cc, which manages the logic of automatic generating op functions for dygraph.
2021-10-15 22:21:14 4. You must have one RD (XiaoguangHu01,chenwhql,zhiqiu,Xreki,luotao1) approval for the usage of const_cast.
2021-10-15 22:21:14 5. You must have one RD (Avin0323(Recommend) or zhouwei25 or wanghuancoder or luotao1) approval for modifying unity_build_rule.cmake which the rules of Unity Build.
2021-10-15 22:21:14 There are 6 approved errors.
2021-10-15 22:21:14 ****************
2021-10-15 22:21:14 + EXCODE=6
2021-10-15 22:21:14 + echo 'EXCODE: 6'
2021-10-15 22:21:14 EXCODE: 6
2021-10-15 22:21:14 + echo 'ipipe_log_param_EXCODE: 6'
2021-10-15 22:21:14 ipipe_log_param_EXCODE: 6
2021-10-15 22:21:14 + exit 6

🔹 Failed: PR-CI-Kunlun-Inference-Directed-cyclic-graph

Unknown Failed
2021-10-15 23:46:19 [ 29%] Built target scale_loss_grad_op_handle
2021-10-15 23:46:19 [ 29%] Linking CXX static library libfused_all_reduce_op_handle.a
2021-10-15 23:46:19 [ 29%] Built target layer
2021-10-15 23:46:19 [ 29%] Built target fused_all_reduce_op_handle
2021-10-15 23:46:19 [ 29%] Linking CXX static library liball_reduce_op_handle.a
2021-10-15 23:46:19 [ 29%] Built target all_reduce_op_handle
2021-10-15 23:46:19 [ 29%] Linking CXX executable operator_test
2021-10-15 23:46:20 [ 29%] Linking CXX static library libcustom_operator.a
2021-10-15 23:46:20 [ 29%] Built target custom_operator
2021-10-15 23:46:20 [ 29%] Built target operator_test
2021-10-15 23:46:22 [ 29%] Linking CXX static library libbroadcast_op_handle.a
2021-10-15 23:46:22 [ 29%] Built target broadcast_op_handle
2021-10-15 23:46:23 [ 29%] Linking CXX static library libfetch_async_op_handle.a
2021-10-15 23:46:23 [ 29%] Built target fetch_async_op_handle
2021-10-15 23:46:23 [ 29%] Linking CXX static library libfetch_op_handle.a
2021-10-15 23:46:23 [ 29%] Built target fetch_op_handle
2021-10-15 23:46:25 [ 29%] Linking CXX static library libreduce_op_handle.a
2021-10-15 23:46:25 [ 29%] Built target reduce_op_handle
2021-10-15 23:46:25 make64: *** [all] Error 2

🔹 Failed: PR-CE-Framework

Unknown Failed
Unknown Failed

🔹 Failed: PR-CI-OP-benchmark

Unknown Failed
2021-10-16 00:08:26 [tools/test_ci_op_benchmark.sh:271] [ERROR] Missing test script of "mean"(paddle/fluid/operators/mean_op.cu) in benchmark.
2021-10-16 00:08:26 + for op_name in '${!CHANGE_OP_MAP[@]}'
2021-10-16 00:08:26 + '[' -z '' ']'
2021-10-16 00:08:26 + exit_code=8
2021-10-16 00:08:26 + LOG '[ERROR] Missing test script of "fill_any_like"(paddle/fluid/operators/fill_any_like_op.cu) in benchmark.'
2021-10-16 00:08:26 + echo '[tools/test_ci_op_benchmark.sh:271] [ERROR] Missing test script of "fill_any_like"(paddle/fluid/operators/fill_any_like_op.cu) in benchmark.'
2021-10-16 00:08:26 [tools/test_ci_op_benchmark.sh:271] [ERROR] Missing test script of "fill_any_like"(paddle/fluid/operators/fill_any_like_op.cu) in benchmark.
2021-10-16 00:08:26 + for op_name in '${!CHANGE_OP_MAP[@]}'
2021-10-16 00:08:26 + '[' -z matmul,matmul,matmul.json,True ']'
2021-10-16 00:08:26 + '[' 8 -ne 0 ']'
2021-10-16 00:08:26 + LOG '[INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details.'
2021-10-16 00:08:26 + echo '[tools/test_ci_op_benchmark.sh:275] [INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details.'
2021-10-16 00:08:26 [tools/test_ci_op_benchmark.sh:275] [INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details.
2021-10-16 00:08:26 + LOG '[INFO] Or you can apply for one RD (Avin0323(Recommend), Xreki, luotao1) approval to pass this PR.'
2021-10-16 00:08:26 + echo '[tools/test_ci_op_benchmark.sh:276] [INFO] Or you can apply for one RD (Avin0323(Recommend), Xreki, luotao1) approval to pass this PR.'
2021-10-16 00:08:26 [tools/test_ci_op_benchmark.sh:276] [INFO] Or you can apply for one RD (Avin0323(Recommend), Xreki, luotao1) approval to pass this PR.
2021-10-16 00:08:26 + exit 8
2021-10-16 00:08:26 {build code state=8}
2021-10-16 00:08:36 kill agent BUILD_CODE_FAIL

🔹 Failed: PR-CI-Coverage

coverage_failed
2021-10-16 01:27:47 + CURL_OPTS='-s --connect-timeout 600 --retry 10 --retry-delay 10'
2021-10-16 01:27:47 ++ uuid
2021-10-16 01:27:47 ++ curl -s --connect-timeout 600 --retry 10 --retry-delay 10 -u paddle:915eedab953b6f51151f50eb https://xly.bce.baidu.com/ipipe/ipipe-report/uuid
2021-10-16 01:27:47 + UPLOAD_FILE=/tmp/upload-17406054-04c1-4200-9f71-90bf8a5e32cf.tar.gz
2021-10-16 01:27:47 + echo Archiving
2021-10-16 01:27:47 Archiving
2021-10-16 01:27:47 + tar -czvf /tmp/upload-17406054-04c1-4200-9f71-90bf8a5e32cf.tar.gz .
2021-10-16 01:27:47 ./
2021-10-16 01:27:47 + du -hs /tmp/upload-17406054-04c1-4200-9f71-90bf8a5e32cf.tar.gz
2021-10-16 01:27:47 4.0K /tmp/upload-17406054-04c1-4200-9f71-90bf8a5e32cf.tar.gz
2021-10-16 01:27:47 + curl -s --connect-timeout 600 --retry 10 --retry-delay 10 -u paddle:915eedab953b6f51151f50eb -F buildId=8354828 -F path=python-coverage -F file=@/tmp/upload-17406054-04c1-4200-9f71-90bf8a5e32cf.tar.gz https://xly.bce.baidu.com/ipipe/ipipe-report/upload
2021-10-16 01:27:47 + rm -f /tmp/upload-17406054-04c1-4200-9f71-90bf8a5e32cf.tar.gz
2021-10-16 01:27:47 report uploaded
2021-10-16 01:27:47 9
2021-10-16 01:27:47 ipipe_log_param_EXCODE: 9
2021-10-16 01:27:47 Sorry, coverage check failed.
2021-10-16 01:27:47 + exit 9
2021-10-16 01:27:47 {build code state=9}
2021-10-16 01:27:57 kill agent BUILD_CODE_FAIL

🔹 Failed: PR-CI-Windows

test_failed
2021-10-18 10:44:55 The following tests FAILED:
2021-10-18 10:44:55 34 - lodtensor_printer_test (Timeout)
2021-10-18 10:44:55 46 - unroll_array_ops_test (Timeout)
2021-10-18 10:44:55 47 - data_type_test (Timeout)
2021-10-18 10:44:55 64 - program_desc_test (Timeout)
2021-10-18 10:44:55 77 - selected_rows_test (Timeout)
2021-10-18 10:44:55 78 - op_kernel_type_test (Timeout)
2021-10-18 10:44:55 98 - test_seqpool_concat_fuse_pass (Timeout)
2021-10-18 10:44:55 114 - test_conv_bias_mkldnn_fuse_pass (Timeout)
2021-10-18 10:44:55 115 - test_conv_activation_mkldnn_fuse_pass (Timeout)
2021-10-18 10:44:55 117 - test_conv_elementwise_add_mkldnn_fuse_pass (Timeout)
2021-10-18 10:44:55 125 - test_cpu_quantize_pass (Timeout)
2021-10-18 10:44:55 127 - test_reshape_transpose_matmul_mkldnn_fuse_pass (Timeout)
2021-10-18 10:44:55 191 - jit_kernel_test (Timeout)
2021-10-18 10:44:55 Errors while running CTest
2021-10-18 10:44:55 ************************************************************************
2021-10-18 10:44:55 These unittests run 4 job each time with 1 GPU**
2021-10-18 10:44:55 ************************************************************************
2021-10-18 10:44:55 Test project C:/Users/Administrator/Downloads/workspace/031e3ee2-6bfe-4d18-b383-22b7f3d8c75c/Paddle/build
2021-10-18 10:44:55 Start 29: device_context_test
2021-10-18 10:45:03 Start 33: timer_test

Please sign in to comment.