ROCm / MIVisionX

MIVisionX toolkit is a set of comprehensive computer vision and machine intelligence libraries, utilities, and applications bundled into a single toolkit. AMD MIVisionX also delivers a highly optimized open-source implementation of the Khronos OpenVX™ and OpenVX™ Extensions.
https://rocm.docs.amd.com/projects/MIVisionX/en/latest/
MIT License
186 stars 73 forks source link

[Issue]: VX_AMD_MIGRAPHX - GDF Sample Error #1410

Open kiritigowda opened 2 months ago

kiritigowda commented 2 months ago

Problem Description

ONNX MNIST failure

Start 3: vx_amd_migraphx_test

3: Test command: /opt/rocm/bin/runvx "-dump-profile" "file" "/home/kiriti/develop/mivisionx-kiriti/MIVisionX/tests/amd_migraphx_tests/gdf/vx_migraphx_test.gdf"
3: Test timeout computed to be: 1500
3: runvx 1.0.0
3: OK: using AMD OpenVX 1.3.0
3: OK: loaded 1 kernels from libvx_amd_migraphx.so
3: OK: loaded 39 kernels from libvx_nn.so
3: OK: OpenVX using GPU device - 0: Radeon RX 7900 XT [gfx1100] with 84 CUs on PCI bus 03:00.0
3: MIGraphX Error: /long_pathname_so_that_rpms_can_package_the_debug_info/src/extlibs/AMDMIGraphX/src/include/migraphx/op/convolution.hpp:100: normalize_compute_shape: CONVOLUTION: mismatched channel numbers
3: terminate called after throwing an instance of 'std::runtime_error'
3:   what():  Failed to call function
1/1 Test #3: vx_amd_migraphx_test .............Subprocess aborted***Exception:   2.52 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   2.53 sec

The following tests FAILED:
      3 - vx_amd_migraphx_test (Subprocess aborted)

Operating System

Ubuntu

CPU

ALL

GPU

AMD Radeon Pro W7900

Other

No response

ROCm Version

ROCm 6.0.0

ROCm Component

MIVisionX

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

kiritigowda commented 2 months ago

@LakshmiKumar23 any updates on this?

kiritigowda commented 1 month ago

@LakshmiKumar23 add fix for issue #1415 here

Needed to run migraphx on Ubuntu22, which needs -lcrypto. QA had some issues with running the tests and this fixed it

sudo apt install libssl-dev