-
Notifications
You must be signed in to change notification settings - Fork 159
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
[onert] Series run of unittest fail on ubuntu 24.04 arm device #14391
Comments
On my RPI4, ubuntu mate 22.04 (armv7l):
|
One more:
|
Two SIGILL caught my eyes. However, I am not sure it is our bug. It may be the case of
(ADD) For example, I got similar SIGILL during ggml,
But it turned out valid. Disammsemble
|
First of all, as you may know that XU4 is armv7 and RPI4 is armv8. So, Then, why does
|
I checked with address sanitizer. But it is not helpful. |
I cannot reproduce error on my RIP4.
But it shows many fails:
It seems not reproducible on RPI4. |
You need OpenCL library to use ARMCompute backend. Unittest try to test all backends. |
Currently, I can reproduce this issue by running I tried to comment out body of --- a/tests/nnfw_api/src/GenModelTests/one_op_tests/Gather.test.cc
+++ b/tests/nnfw_api/src/GenModelTests/one_op_tests/Gather.test.cc
@@ -34,6 +34,7 @@ TEST_F(GenModelTest, OneOp_Gather_Q4_0)
}
auto input_vector = quantData(params, circle::TensorType::TensorType_GGML_Q4_0);
+#if 0
auto input_buf = cgen.addBuffer(input_vector);
int input = cgen.addTensor({{4, 32}, circle::TensorType::TensorType_GGML_Q4_0, input_buf});
int indice = cgen.addTensor({{1, 1}, circle::TensorType::TensorType_INT32});
@@ -49,7 +50,7 @@ TEST_F(GenModelTest, OneOp_Gather_Q4_0)
tc.addOutput<float>(std::vector<float>{params.begin() + 64, params.begin() + 96});
_context->addTestCase(tc);
_context->setBackends({"cpu"});
-
+#endif
SUCCEED();
}
Maybe issue on quantization function. |
I will set up the same environmet of yours. (i.e. ubuntu 24.04 environment on xu4), instead of 22.04 on rip4). and try to reproduce by following your guide. It will take some (it requires cross-build environment setup and so on.) |
@hseok-oh What version of OS did you install? 24.04 (240506)? or 24.04.1 (240911)? |
I don't know exact reason, but #14418 resolves this issue. |
Now, on Ubuntu Mate 24.04.1 odroid xu4, I can reproduce SIGILL by:
where 5.circle has only 5th node (= ggml fully connected) from decblk.circle.
|
Ubuntu 24.04 release binary always gets It doesn't need series run of unittest. ← Seems fixed with #14418. It is another bug. It occurs even with single thread. Backtrace
Only
|
#14436 is merged and it resolves this failure. |
Run all unittests (release build) on xu4 ubuntu 24.04
But
nnfw_api_gtest
run passedThis issue is found on release build only (not on debug build)
The text was updated successfully, but these errors were encountered: