GithubHelp home page GithubHelp logo

Unitests failed about armnn HOT 3 CLOSED

wxmwy avatar wxmwy commented on July 22, 2024
Unitests failed

from armnn.

Comments (3)

Colm-in-Arm avatar Colm-in-Arm commented on July 22, 2024

Hello wxmwy,

Obviously I don't have access to a yitian710 but I'll ask in Arm Compute Library is they've seen any problems with BinaryOperation::Power, UnaryOperation::Rsqrt or armnn::UnaryOperation::Log operators on their v9 devices.

Colm.

from armnn.

Colm-in-Arm avatar Colm-in-Arm commented on July 22, 2024

Hello wxmwy,

Have you run the ACL validation tests? This will eliminate Arm NN as a source of the problem. You can build it by adding validation_tests=1 to the scons build. This will create test program "arm_compute_validation".

Could you also tell me the full command line you're using to build ACL please.

Colm.

from armnn.

wxmwy avatar wxmwy commented on July 22, 2024

Hello colm,

build with:

scons arch=arm64-v8.2-a-sve extra_cxx_flags="-fPIC" benchmark_tests=1 validation_tests=1 neon=1

run arm_compute_validation got:

Running [1021] 'CPP/TopKV/Validate@PredictionsInfo=Shape=10,20,DataLayout=NCHW,DataType=F16:TargetsInfo=Shape=10,DataLayout=NCHW,DataType=U32:OutputInfo=Shape=10,DataLayout=NCHW,DataType=U8:k=1:Expected=false'
  Wall clock/Wall clock time:    AVG=5.0000 us
Running [1022] 'CPP/TopKV/Validate@PredictionsInfo=Shape=20,10,DataLayout=NCHW,DataType=S8:TargetsInfo=Shape=10,DataLayout=NCHW,DataType=U32:OutputInfo=Shape=10,DataLayout=NCHW,DataType=U8:k=2:Expected=false'
  Wall clock/Wall clock time:    AVG=3.0000 us
Running [1023] 'CPP/TopKV/Validate@PredictionsInfo=Shape=10,10,10,DataLayout=NCHW,DataType=F32:TargetsInfo=Shape=10,DataLayout=NCHW,DataType=U32:OutputInfo=Shape=10,DataLayout=NCHW,DataType=U8:k=3:Expected=false'
  Wall clock/Wall clock time:    AVG=1.0000 us
Running [1024] 'CPP/TopKV/Validate@PredictionsInfo=Shape=20,10,DataLayout=NCHW,DataType=F32:TargetsInfo=Shape=10,DataLayout=NCHW,DataType=U32:OutputInfo=Shape=1,DataLayout=NCHW,DataType=U8:k=4:Expected=false'
  Wall clock/Wall clock time:    AVG=1.0000 us
Running [1025] 'CPP/TopKV/Float'
  Wall clock/Wall clock time:    AVG=31.0000 us
Running [1026] 'CPP/TopKV/QASYMM8'
  Wall clock/Wall clock time:    AVG=11.0000 us
Running [1027] 'CPP/TopKV/QASYMM8_SIGNED'
  Wall clock/Wall clock time:    AVG=10.0000 us
Running [1028] 'CL/UNIT/CompileContext/CompileContextCache'
ERROR: ERROR: clGetDeviceInfo
CONTEXT:
Error code: -5
Running [1029] 'CL/UNIT/DynamicTensor/DynamicTensorType3Single@Level0Shape=12,11,3:Level1Shape=67,31,15'
ERROR: in generate_build_options src/core/CL/CLCompileContext.cpp:284: Non uniform workgroup size is not supported!!
Running [1030] 'CL/UNIT/DynamicTensor/DynamicTensorType3Single@Level0Shape=256,8,12:Level1Shape=11,2,3'
ERROR: in generate_build_options src/core/CL/CLCompileContext.cpp:284: Non uniform workgroup size is not supported!!
Running [1031] 'CL/UNIT/DynamicTensor/DynamicTensorType3Complex@InputShape=[12,12,16, 64,64,16]:WeightsManager=3,3,16,5:BiasShape=5:OutputShape=[12,12,5, 64,64,5]:PadStrideInfo=1,1;1,1,1,1'
ERROR: ERROR: clGetDeviceInfo
CONTEXT:
Error code: -5
Running [1032] 'CL/UNIT/DynamicTensor/DynamicTensorType2Pipeline@InputShape=[12,12,6, 128,128,6]'
ERROR: in generate_build_options src/core/CL/CLCompileContext.cpp:284: Non uniform workgroup size is not supported!!
Running [1033] 'CL/UNIT/GetClContext'
  Wall clock/Wall clock time:    AVG=1.0000 us
Running [1034] 'CL/UNIT/MLGOHeuristics/CorrectDotMLGOShouldLoadCorrectly'
  Wall clock/Wall clock time:    AVG=212.0000 us
Running [1035] 'CL/UNIT/MLGOHeuristics/InvalidDotmlgoSyntaxShouldReturnInvalidStatus'
  Wall clock/Wall clock time:    AVG=5.0000 us
Running [1036] 'CL/UNIT/MLGOHeuristics/InvalidDotmlgoSemanticsShouldReturnInvalidStatus/MismatchesBetweenHeuristicsTableEntriesAndHeuristicTrees'
  Wall clock/Wall clock time:    AVG=29.0000 us
Running [1037] 'CL/UNIT/MLGOHeuristics/InvalidDotmlgoSemanticsShouldReturnInvalidStatus/RepeatedHeuristicsTableEntriesId'
  Wall clock/Wall clock time:    AVG=13.0000 us
Running [1038] 'CL/UNIT/MLGOHeuristics/InvalidDotmlgoSemanticsShouldReturnInvalidStatus/RepeatedHeuristicsTableEntriesIndex'
  Wall clock/Wall clock time:    AVG=13.0000 us
Running [1039] 'CL/UNIT/MLGOHeuristics/InvalidDotmlgoSemanticsShouldReturnInvalidStatus/RepeatedHeuristicTreesId'
  Wall clock/Wall clock time:    AVG=28.0000 us
Running [1040] 'CL/UNIT/MLGOHeuristics/InvalidDotmlgoSemanticsShouldReturnInvalidStatus/EmptyTree'
  Wall clock/Wall clock time:    AVG=11.0000 us
Running [1041] 'CL/UNIT/MLGOHeuristics/InvalidDotmlgoSemanticsShouldReturnInvalidStatus/InvalidTreeMissingRoot'
  Wall clock/Wall clock time:    AVG=27.0000 us
Running [1042] 'CL/UNIT/MLGOHeuristics/InvalidDotmlgoSemanticsShouldReturnInvalidStatus/InvalidTreeMissingNodes'
  Wall clock/Wall clock time:    AVG=20.0000 us
Running [1043] 'CL/UNIT/MLGOHeuristics/InvalidDotmlgoSemanticsShouldReturnInvalidStatus/InvalidTreeRepeatedNodeIds'
  Wall clock/Wall clock time:    AVG=23.0000 us
Running [1044] 'CL/UNIT/MLGOHeuristics/InvalidDotmlgoSemanticsShouldReturnInvalidStatus/InvalidTreeDisjointNodes'
  Wall clock/Wall clock time:    AVG=94.0000 us
Running [1045] 'CL/UNIT/MLGOHeuristics/InvalidDotmlgoSemanticsShouldReturnInvalidStatus/InvalidTreeLoop'
  Wall clock/Wall clock time:    AVG=20.0000 us
Running [1046] 'CL/UNIT/MLGOHeuristics/InvalidDotmlgoSemanticsShouldReturnInvalidStatus/InvalidTreeCycle'
  Wall clock/Wall clock time:    AVG=35.0000 us
Running [1047] 'CL/UNIT/MLGOHeuristics/InvalidDotmlgoSemanticsShouldReturnInvalidStatus/InvalidTreeInvalidFeatures'
  Wall clock/Wall clock time:    AVG=14.0000 us
Running [1048] 'CL/UNIT/MLGOHeuristics/InvalidUsageOfHeuristicsShouldReturnInvalidStatus'
  Wall clock/Wall clock time:    AVG=28.0000 us
Running [1049] 'CL/UNIT/MemoryManager/BlobMemoryManagerSimpleWithinFunctionLevel'
ERROR: in generate_build_options src/core/CL/CLCompileContext.cpp:284: Non uniform workgroup size is not supported!!
Running [1050] 'CL/UNIT/RuntimeContext/MultipleThreadedScheduller'
terminate called after throwing an instance of 'std::runtime_error'
  what():  in generate_build_options src/core/CL/CLCompileContext.cpp:284: Non uniform workgroup size is not supported!!
Aborted (core dumped)

I decided to go straight to the precompiled version. Seems to be working fine. Thanks.

from armnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.