Skip to content

Commit

Permalink
fix the tensor_utils.cc, test=develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Shixiaowei02 committed Oct 25, 2021
1 parent 93422e5 commit ef6bba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/pten/hapi/lib/utils/tensor_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ std::unique_ptr<pten::TensorBase> MakePtenTensorBaseFromVar(
pten::TransToProtoVarType(arg_def.dtype));
// TODO(chenweihang): adapt SelectedRows by xiaowei's design,
// here the row and height will lost in output!
MakePtenDenseTensor(tensor->value());
return MakePtenDenseTensor(tensor->value());
} else {
PADDLE_THROW(platform::errors::Unimplemented(
"Unsupported shared output `%s` type now when call pt kernel.",
Expand Down

1 comment on commit ef6bba2

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on ef6bba2 Oct 25, 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: #30 Commit ID: ef6bba2 contains failed CI.

🔹 Failed: PR-CI-APPROVAL

approve_failed
2021-10-25 18:40:21 正在保存至: “bk.txt”
2021-10-25 18:40:21 0K 100% 3.02M=0s
2021-10-25 18:40:21 2021-10-25 18:40:21 (3.02 MB/s) - 已保存 “bk.txt” [5/5])
2021-10-25 18:40:30 ****************
2021-10-25 18:40:30 0. You must have one RD (lanxianghit (Recommend), phlrain or luotao1) approval for changing the FLAGS, which manages the environment variables.
2021-10-25 18:40:30 1. You must have Dianhai approval for change 20+ files or add than 1000+ lines of content.
2021-10-25 18:40:30 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-25 18:40:30 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-25 18:40:30 4. You must have one RD (XiaoguangHu01,chenwhql,zhiqiu,Xreki,luotao1) approval for the usage of const_cast.
2021-10-25 18:40:30 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-25 18:40:30 There are 6 approved errors.
2021-10-25 18:40:30 ****************
2021-10-25 18:40:30 + EXCODE=6
2021-10-25 18:40:30 + echo 'EXCODE: 6'
2021-10-25 18:40:30 EXCODE: 6
2021-10-25 18:40:30 + echo 'ipipe_log_param_EXCODE: 6'
2021-10-25 18:40:30 ipipe_log_param_EXCODE: 6
2021-10-25 18:40:30 + exit 6

🔹 Failed: PR-CI-Windows

test_failed
2021-10-25 20:54:00 The following tests FAILED:
2021-10-25 20:54:00 1068 - test_fuse_all_reduce_pass (Failed)
2021-10-25 20:54:00 1276 - test_fit_a_line (Failed)
2021-10-25 20:54:00 1068 - test_fuse_all_reduce_pass (Failed)
2021-10-25 20:54:00 1276 - test_fit_a_line (Failed)
2021-10-25 20:54:00 1068 - test_fuse_all_reduce_pass (Failed)
2021-10-25 20:54:00 1276 - test_fit_a_line (Failed)
2021-10-25 20:54:00 C:\Users\Administrator\Downloads\workspace\40bed638-3ed5-47a8-9f7a-4c66d57fc361\Paddle\build>goto:eof
2021-10-25 20:54:00 C:\Users\Administrator\Downloads\workspace\40bed638-3ed5-47a8-9f7a-4c66d57fc361\Paddle\build>for /F %# in ('wmic os get localdatetime|findstr 20') do set end=%#
2021-10-25 20:54:00 C:\Users\Administrator\Downloads\workspace\40bed638-3ed5-47a8-9f7a-4c66d57fc361\Paddle\build>set end=20211025205400.927000+480
2021-10-25 20:54:00 C:\Users\Administrator\Downloads\workspace\40bed638-3ed5-47a8-9f7a-4c66d57fc361\Paddle\build>set end=1025205400
2021-10-25 20:54:00 C:\Users\Administrator\Downloads\workspace\40bed638-3ed5-47a8-9f7a-4c66d57fc361\Paddle\build>call :timestamp "1025192524" "1025205400" "1 card TestCases Total"
2021-10-25 20:54:00 C:\Users\Administrator\Downloads\workspace\40bed638-3ed5-47a8-9f7a-4c66d57fc361\Paddle\build>setlocal enabledelayedexpansion
2021-10-25 20:54:00 2229924
2021-10-25 20:54:00 "Windows 1 card TestCases Total Time: 5316s"
2021-10-25 20:54:00 ipipe_log_param_Windows_1_card_TestCases_Total_Time: 5316s
2021-10-25 20:54:01 2229924
2021-10-25 20:54:01 "Windows TestCases Total Time: 5316s"
2021-10-25 20:54:01 ipipe_log_param_Windows_TestCases_Total_Time: 5316s
2021-10-25 20:54:01 Running unit tests failed, will exit
2021-10-25 20:54:06 EXCODE: 8

Please sign in to comment.