Skip to content

Commit

Permalink
remove two funcs, test=develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Shixiaowei02 committed Oct 18, 2021
1 parent a6ef0f0 commit 864e602
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions paddle/fluid/framework/tcmpt_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,20 +74,6 @@ std::shared_ptr<pt::DenseTensor> MakeTensorImpl<pt::DenseTensor>(
pt::TransToPtLayout(tensor.layout()));
}

template <>
void ShareTensorImpl<pt::DenseTensor>(pt::DenseTensor* tensor_impl,
LoDTensor* out) {
out->ResetHolderWithType(tensor_impl->allocation(),
pt::TransToProtoVarType(tensor_impl->data_type()));
}

template <>
void ShareTensorImpl<pt::DenseTensor>(pt::DenseTensor* tensor_impl,
Tensor* out) {
out->ResetHolderWithType(tensor_impl->allocation(),
pt::TransToProtoVarType(tensor_impl->data_type()));
}

std::shared_ptr<tcmpt::TensorBase> InputVariableToPtTensor(
const framework::Variable& variable, const pt::TensorArgDef& arg_def) {
auto expected_place = pt::TransToFluidPlace(arg_def.backend);
Expand Down

1 comment on commit 864e602

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 864e602 Oct 18, 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: #17 Commit ID: 864e602 contains failed CI.

🔹 Failed: PR-CI-Windows-OPENBLAS

test_failed
2021-10-18 17:58:40 The following tests FAILED:
2021-10-18 17:58:40 71 - tcmpt_utils_test (Failed)
2021-10-18 17:58:40 71 - tcmpt_utils_test (Failed)
2021-10-18 17:58:40 71 - tcmpt_utils_test (Failed)
2021-10-18 17:58:40 C:\home\workspace\Paddle\build>goto:eof
2021-10-18 17:58:40 C:\home\workspace\Paddle\build>for /F %# in ('wmic os get localdatetime|findstr 20') do set end=%#
2021-10-18 17:58:40 C:\home\workspace\Paddle\build>set end=20211018175840.147000+480
2021-10-18 17:58:40 C:\home\workspace\Paddle\build>set end=1018175840
2021-10-18 17:58:40 C:\home\workspace\Paddle\build>call :timestamp "1018174107" "1018175840" "1 card TestCases Total"
2021-10-18 17:58:40 C:\home\workspace\Paddle\build>setlocal enabledelayedexpansion
2021-10-18 17:58:40 1618867
2021-10-18 17:58:40 "Windows 1 card TestCases Total Time: 1053s"
2021-10-18 17:58:40 ipipe_log_param_Windows_1_card_TestCases_Total_Time: 1053s
2021-10-18 17:58:40 1618867
2021-10-18 17:58:40 "Windows TestCases Total Time: 1053s"
2021-10-18 17:58:40 ipipe_log_param_Windows_TestCases_Total_Time: 1053s
2021-10-18 17:58:40 Running unit tests failed, will exit
2021-10-18 17:58:40 EXCODE: 8

🔹 Failed: PR-CI-Mac-Python3

test_failed
2021-10-18 18:20:26 The following tests FAILED:
2021-10-18 18:20:26 73 - tcmpt_utils_test (Failed)
2021-10-18 18:20:26 EXCODE: 8
2021-10-18 18:20:26 ipipe_log_param_EXCODE: 8
2021-10-18 18:20:26 Sorry, some tests failed.
2021-10-18 18:20:26 + exit 8

🔹 Failed: PR-CE-Framework

Unknown Failed
Unknown Failed

🔹 Failed: PR-CI-OP-benchmark

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

🔹 Failed: PR-CI-Coverage

coverage_failed
2021-10-18 22:33:50 + CURL_OPTS='-s --connect-timeout 600 --retry 10 --retry-delay 10'
2021-10-18 22:33:50 ++ uuid
2021-10-18 22:33:50 ++ curl -s --connect-timeout 600 --retry 10 --retry-delay 10 -u paddle:915eedab953b6f51151f50eb https://xly.bce.baidu.com/ipipe/ipipe-report/uuid
2021-10-18 22:33:50 + UPLOAD_FILE=/tmp/upload-958b86f0-9a14-4dc3-9c70-c8ab26e69be7.tar.gz
2021-10-18 22:33:50 + echo Archiving
2021-10-18 22:33:50 Archiving
2021-10-18 22:33:50 + tar -czvf /tmp/upload-958b86f0-9a14-4dc3-9c70-c8ab26e69be7.tar.gz .
2021-10-18 22:33:50 ./
2021-10-18 22:33:50 + du -hs /tmp/upload-958b86f0-9a14-4dc3-9c70-c8ab26e69be7.tar.gz
2021-10-18 22:33:50 4.0K /tmp/upload-958b86f0-9a14-4dc3-9c70-c8ab26e69be7.tar.gz
2021-10-18 22:33:50 + curl -s --connect-timeout 600 --retry 10 --retry-delay 10 -u paddle:915eedab953b6f51151f50eb -F buildId=8425855 -F path=python-coverage -F file=@/tmp/upload-958b86f0-9a14-4dc3-9c70-c8ab26e69be7.tar.gz https://xly.bce.baidu.com/ipipe/ipipe-report/upload
2021-10-18 22:33:50 + rm -f /tmp/upload-958b86f0-9a14-4dc3-9c70-c8ab26e69be7.tar.gz
2021-10-18 22:33:50 report uploaded
2021-10-18 22:33:50 9
2021-10-18 22:33:50 ipipe_log_param_EXCODE: 9
2021-10-18 22:33:50 Sorry, coverage check failed.
2021-10-18 22:33:50 + exit 9
2021-10-18 22:33:50 {build code state=9}
2021-10-18 22:34:00 kill agent BUILD_CODE_FAIL

🔹 Failed: PR-CI-ROCM-Compile

Unknown Failed
2021-10-18 23:08:48 + echo 'ipipe_log_param_Ccache_Hit_Rate: 93.62%'
2021-10-18 23:08:48 + '[' 2 '!=' 0 ']'
2021-10-18 23:08:48 + exit 7
2021-10-18 23:08:48 + EXCODE=7
2021-10-18 23:08:48 + export current_dir=/paddle
2021-10-18 23:08:48 + current_dir=/paddle
2021-10-18 23:08:48 + set +x
2021-10-18 23:08:48 No such file or directory: /paddle/build/coverage-diff
2021-10-18 23:08:48 + SOURCE=/paddle/build/coverage-diff
2021-10-18 23:08:48 + [[ -d /paddle/build/coverage-diff ]]
2021-10-18 23:08:48 + [[ -f /paddle/build/coverage-diff ]]
2021-10-18 23:08:48 + echo 'No such file or directory: /paddle/build/coverage-diff'
2021-10-18 23:08:48 + exit 0
2021-10-18 23:08:48 report uploaded
2021-10-18 23:08:48 ===================================================================
2021-10-18 23:08:48 c++-coverage
2021-10-18 23:08:48 https://xly.bce.baidu.com/ipipe/ipipe-report/report/8431451/c++-coverage/
2021-10-18 23:08:48 ===================================================================
2021-10-18 23:08:48 Sorry, build failed.

Please sign in to comment.