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

make test failed with AutogradTest etc. #71

Closed
golfbears opened this issue Oct 8, 2019 · 1 comment
Closed

make test failed with AutogradTest etc. #71

golfbears opened this issue Oct 8, 2019 · 1 comment

Comments

@golfbears
Copy link

I build with "cmake .. -DCMAKE_BUILD_TYPE=Release -DFLASHLIGHT_BACKEND=CPU"
after making, I make test, unfortunately, I got many failed items, the logs as follow:

  Start  1: AutogradTest

1/11 Test #1: AutogradTest .....................***Failed 70.15 sec
Start 2: OptimTest
2/11 Test #2: OptimTest ........................***Failed 0.04 sec
Start 3: ModuleTest
3/11 Test #3: ModuleTest .......................***Failed 1.01 sec
Start 4: SerializationTest
4/11 Test #4: SerializationTest ................***Failed 2.79 sec
Start 5: NNUtilsTest
5/11 Test #5: NNUtilsTest ...................... Passed 0.04 sec
Start 6: DatasetTest
6/11 Test #6: DatasetTest ...................... Passed 0.84 sec
Start 7: DatasetUtilsTest
7/11 Test #7: DatasetUtilsTest ................. Passed 0.01 sec
Start 8: MeterTest
8/11 Test #8: MeterTest ........................ Passed 0.03 sec
Start 9: AllReduceTest
9/11 Test #9: AllReduceTest ....................***Exception: Other 0.51 sec
Start 10: ContribModuleTest
10/11 Test #10: ContribModuleTest ................***Failed 0.17 sec
Start 11: ContribSerializationTest
11/11 Test #11: ContribSerializationTest ......... Passed 0.04 sec

45% tests passed, 6 tests failed out of 11

Total Test time (real) = 75.65 sec

The following tests FAILED:
1 - AutogradTest (Failed)
2 - OptimTest (Failed)
3 - ModuleTest (Failed)
4 - SerializationTest (Failed)
9 - AllReduceTest (OTHER_FAULT)
10 - ContribModuleTest (Failed)
Errors while running CTest
Makefile:71: recipe for target 'test' failed

But I didn't find any abnormal information when configuring and making, could anyone help me fix it?

@golfbears
Copy link
Author

When I run ./AutogradTest in ./build/test directory, I got the trace information as follow, which looks like related to CPU backend.

Value of: jacobianTestImpl(func_weightNorm_in, in, 1E-1)
Actual: false
Expected: true
[ FAILED ] AutogradTest.WeightNormConv (2669 ms)
[ RUN ] AutogradTest.Rnn
unknown file: Failure
C++ exception with description "rnn not yet implemented on CPU" thrown in the test body.
[ FAILED ] AutogradTest.Rnn (0 ms)
[ RUN ] AutogradTest.Lstm
unknown file: Failure
C++ exception with description "rnn not yet implemented on CPU" thrown in the test body.
[ FAILED ] AutogradTest.Lstm (0 ms)
[ RUN ] AutogradTest.Gru
unknown file: Failure
C++ exception with description "rnn not yet implemented on CPU" thrown in the test body.
[ FAILED ] AutogradTest.Gru (0 ms)

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

No branches or pull requests

1 participant