Closed ranjitshs closed 2 days ago
@edgchen1 @snnn FYI.
@edgchen1, https://github.com/microsoft/onnxruntime/pull/22460 need update those tests to check whether pointer is 4 bytes to align with the code.
Thanks for reporting this. @ranjitshs can you try this branch and see if it fixes the test failures?
https://github.com/microsoft/onnxruntime/tree/edgchen1/fix_cpu_allocator_tests
@edgchen1 yes. Failed tests are passing in above mentioned branch.
(0) root @ aixoss1-lp6: /home/buildusr/onnxruntime/build/Linux/Release
# ./onnxruntime_test_all "--gtest_filter=TensorTest.EmptyTensorTest"
Note: Google Test filter = TensorTest.EmptyTensorTest
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from TensorTest
[ RUN ] TensorTest.EmptyTensorTest
[ OK ] TensorTest.EmptyTensorTest (0 ms)
[----------] 1 test from TensorTest (0 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (0 ms total)
[ PASSED ] 1 test.
(0) root @ aixoss1-lp6: /home/buildusr/onnxruntime/build/Linux/Release
# ./onnxruntime_test_all "--gtest_filter=AllocatorTest.CPUAllocatorTest"
Note: Google Test filter = AllocatorTest.CPUAllocatorTest
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from AllocatorTest
[ RUN ] AllocatorTest.CPUAllocatorTest
[ OK ] AllocatorTest.CPUAllocatorTest (0 ms)
[----------] 1 test from AllocatorTest (0 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (0 ms total)
[ PASSED ] 1 test.
(0) root @ aixoss1-lp6: /home/buildusr/onnxruntime/build/Linux/Release
# git branch
* (HEAD detached at upstream/edgchen1/fix_cpu_allocator_tests)
aix-build-break
gh-pages
main
Describe the issue
I think, with https://github.com/microsoft/onnxruntime/pull/22460 changes, in AIX below test failures are introduced. In 1.20.0 branch and older branch, alloc_type value is 0 , but in main branch it's getting updated as 1 causing test failure. is there any env settings/compiler defines for env to fix this ?
Urgency
No response
Target platform
AIX
Build script
https://onnxruntime.ai/docs/build/inferencing.html is having build steps.
Error / output
it's mention in describe section.
Visual Studio Version
No response
GCC / Compiler Version
10.3