Skip to content

ContextProjectionOpTest和test_matrixCompare在GPU环境下,单测失败 #1769

@luotao1

Description

@luotao1

Apr 11, 2017的最新develop分支,有两个单测在gpu环境下失败:

    Start 6: ContextProjectionOpTest

6: Test command: /home/luotao/Paddle/build/paddle/function/ContextProjectionOpTest
6: Test timeout computed to be: 9.99988e+06
6: I0411 16:26:33.918200 29887 Util.cpp:166] commandline: /home/luotao/Paddle/build/paddle/function/ContextProjectionOpTest 
6: [==========] Running 1 test from 1 test case.
6: [----------] Global test environment set-up.
6: [----------] 1 test from ContextProjection
6: [ RUN      ] ContextProjection.Projection
6: F0411 16:26:35.131664 29887 Function.h:41] Cannot get key begin_pad with error bad any cast
6: *** Check failure stack trace: ***
6:     @           0x8cc88d  google::LogMessage::Fail()
6:     @           0x8d033c  google::LogMessage::SendToLog()
6:     @           0x8cc3b3  google::LogMessage::Flush()
6:     @           0x8d184e  google::LogMessageFatal::~LogMessageFatal()
6:     @           0x6efdd0  paddle::FuncConfig::get<>()
6:     @           0x6f0976  paddle::ContextProjectionForwardFunc<>::init()
6:     @           0x5a190f  paddle::FunctionCompare::FunctionCompare()
6:     @           0x59e0eb  testMatrixProjectionForward()
6:     @           0x59e79d  ContextProjection_Projection_Test::TestBody()
6:     @           0x9b77c3  testing::internal::HandleExceptionsInMethodIfSupported<>()
6:     @           0x9aa9d7  testing::Test::Run()
6:     @           0x9aaa7e  testing::TestInfo::Run()
6:     @           0x9ab2bd  testing::TestCase::Run()
6:     @           0x9af0a5  testing::internal::UnitTestImpl::RunAllTests()
6:     @           0x9af350  testing::UnitTest::Run()
6:     @           0x59ceb0  main
6:     @       0x318ae1ecdd  (unknown)
6:     @           0x59d1f1  (unknown)
test 23
    Start 23: test_matrixCompare

23: Test command: /home/luotao/Paddle/build/paddle/math/tests/test_matrixCompare
23: Test timeout computed to be: 9.99988e+06
23: I0411 16:27:20.541667   888 Util.cpp:166] commandline: /home/luotao/Paddle/build/paddle/math/tests/test_matrixCompare 
23: [==========] Running 14 tests from 3 test cases.
23: [----------] Global test environment set-up.
23: [----------] 11 tests from Matrix
23: [ RUN      ] Matrix.maxSequence
23: [       OK ] Matrix.maxSequence (221 ms)
23: [ RUN      ] Matrix.unary
23: F0411 16:27:22.011467   888 MathFunctions.cpp:95] Not implemented
23: *** Check failure stack trace: ***
23:     @           0x8d6b1d  google::LogMessage::Fail()
23:     @           0x8da5cc  google::LogMessage::SendToLog()
23:     @           0x8d6643  google::LogMessage::Flush()
23:     @           0x8dbade  google::LogMessageFatal::~LogMessageFatal()
23:     @           0x726815  paddle::getrf<>()
23:     @           0x73d43f  paddle::CpuMatrix::inverse()
23:     @           0x5a515d  testMatrixInverse()
23:     @           0x5a53b2  Matrix_unary_Test::TestBody()
23:     @           0x9c5293  testing::internal::HandleExceptionsInMethodIfSupported<>()
23:     @           0x9b8597  testing::Test::Run()
23:     @           0x9b863e  testing::TestInfo::Run()
23:     @           0x9b8e7d  testing::TestCase::Run()
23:     @           0x9bcc65  testing::internal::UnitTestImpl::RunAllTests()
23:     @           0x9bcf10  testing::UnitTest::Run()
23:     @           0x5a0c40  main
23:     @       0x318ae1ecdd  (unknown)
23:     @           0x5a0fe1  (unknown)
1/1 Test #23: test_matrixCompare ...............***Exception: Other  2.17 sec

另,请问GPU环境下的单测系统什么时候可以用呢?@helinwang

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions