Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/call once #5553

Closed
wants to merge 3 commits into from
Closed

Conversation

dzhwinter
Copy link
Contributor

No description provided.

Copy link
Contributor

@qingqing01 qingqing01 left a comment

Choose a reason for hiding this comment

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

LGTM.

@qingqing01
Copy link
Contributor

There is error:

[14:46:47] :	 [Step 1/1]  86/283 Test  #91: device_context_test .........................***Failed    1.50 sec
[14:46:47] :	 [Step 1/1] Running main() from gtest_main.cc
[14:46:47] :	 [Step 1/1] [==========] Running 2 tests from 1 test case.
[14:46:47] :	 [Step 1/1] [----------] Global test environment set-up.
[14:46:47] :	 [Step 1/1] [----------] 2 tests from Device
[14:46:47] :	 [Step 1/1] [ RUN      ] Device.Init
[14:46:47] :	 [Step 1/1] unknown file: Failure
[14:46:47] :	 [Step 1/1] C++ exception with description "std::exception at [/paddle/paddle/platform/device_context.cc:106]
[14:46:47] :	 [Step 1/1] PaddlePaddle Call Stacks: 
[14:46:47] :	 [Step 1/1] 0             0x432129p paddle::platform::EnforceNotMet::EnforceNotMet(std::__exception_ptr::exception_ptr, char const*, int) + 761
[14:46:47] :	 [Step 1/1] 1             0x42c71cp paddle::platform::CUDADeviceContext::CUDADeviceContext(paddle::platform::GPUPlace) + 3068
[14:46:47] :	 [Step 1/1] 2             0x428567p Device_Init_Test::TestBody() + 199
[14:46:47] :	 [Step 1/1] 3             0x45ba33p void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 67
[14:46:47] :	 [Step 1/1] 4             0x4516dap testing::Test::Run() + 186
[14:46:47] :	 [Step 1/1] 5             0x451828p testing::TestInfo::Run() + 280
[14:46:47] :	 [Step 1/1] 6             0x451935p testing::TestCase::Run() + 229
[14:46:47] :	 [Step 1/1] 7             0x453dd7p testing::internal::UnitTestImpl::RunAllTests() + 583
[14:46:47] :	 [Step 1/1] 8             0x454109p testing::UnitTest::Run() + 89
[14:46:47] :	 [Step 1/1] 9             0x4261c2p main + 50
[14:46:47] :	 [Step 1/1] 10      0x7fcb743bb830p __libc_start_main + 240
[14:46:47] :	 [Step 1/1] 11            0x4283c9p _start + 41
[14:46:47] :	 [Step 1/1] " thrown in the test body.
[14:46:47] :	 [Step 1/1] [  FAILED  ] Device.Init (818 ms)
[14:46:47] :	 [Step 1/1] [ RUN      ] Device.CUDADeviceContext
[14:46:47] :	 [Step 1/1] unknown file: Failure
[14:46:47] :	 [Step 1/1] C++ exception with description "std::exception at [/paddle/paddle/platform/device_context.cc:105]
[14:46:47] :	 [Step 1/1] PaddlePaddle Call Stacks: 
[14:46:47] :	 [Step 1/1] 0             0x432129p paddle::platform::EnforceNotMet::EnforceNotMet(std::__exception_ptr::exception_ptr, char const*, int) + 761
[14:46:47] :	 [Step 1/1] 1             0x42c356p paddle::platform::CUDADeviceContext::CUDADeviceContext(paddle::platform::GPUPlace) + 2102
[14:46:47] :	 [Step 1/1] 2             0x428921p Device_CUDADeviceContext_Test::TestBody() + 577
[14:46:47] :	 [Step 1/1] 3             0x45ba33p void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 67
[14:46:47] :	 [Step 1/1] 4             0x4516dap testing::Test::Run() + 186
[14:46:47] :	 [Step 1/1] 5             0x451828p testing::TestInfo::Run() + 280
[14:46:47] :	 [Step 1/1] 6             0x451935p testing::TestCase::Run() + 229
[14:46:47] :	 [Step 1/1] 7             0x453dd7p testing::internal::UnitTestImpl::RunAllTests() + 583
[14:46:47] :	 [Step 1/1] 8             0x454109p testing::UnitTest::Run() + 89
[14:46:47] :	 [Step 1/1] 9             0x4261c2p main + 50
[14:46:47] :	 [Step 1/1] 10      0x7fcb743bb830p __libc_start_main + 240
[14:46:47] :	 [Step 1/1] 11            0x4283c9p _start + 41
[14:46:47] :	 [Step 1/1] " thrown in the test body.
[14:46:47] :	 [Step 1/1] [  FAILED  ] Device.CUDADeviceContext (0 ms)

@dzhwinter
Copy link
Contributor Author

Yes, this PR trigger a very strange error, I will dig into the reason after I finish my current work...

@paddle-bot-old
Copy link

Since you haven't replied for a long time, we have closed this issue/pr.
If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up.
由于您长期未回复,我们将关闭这个issue/pr。
若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants