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

Confused about whether my npu is working properly or not. #8145

Open
firstwaterer opened this issue May 7, 2024 · 0 comments
Open

Confused about whether my npu is working properly or not. #8145

firstwaterer opened this issue May 7, 2024 · 0 comments
Assignees

Comments

@firstwaterer
Copy link

  • xbutil validate -d 0000:c7:00.1 runs wrong, how should I use the built-in tools to make sure the hardware is working properly


  • XRT version: 2.17.0 git 8e5c564 branch 2024.1

  • platform: AMD Ryzen™ 7 8845HS


  1. output from: xbutil examine:

System Configuration
  OS Name              : Linux
  Release              : 6.8.7-xdna
  Version              : #2 SMP PREEMPT_DYNAMIC Sun May  5 07:19:19 HKT 2024
  Machine              : x86_64
  CPU Cores            : 16
  Memory               : 27885 MB
  Distribution         : Gentoo Linux
  GLIBC                : 2.38
  Model                : GEM12
  BIOS vendor          : American Megatrends International, LLC.
  BIOS version         : 1.00

XRT
  Version              : 2.17.0
  Branch               : 2024.1
  Hash                 : a09e1a1e8548b8003fb03b8debff92815ee13172
  Hash Date            : 2024-05-06 20:24:28
  XOCL                 : 2.17.0, a09e1a1e8548b8003fb03b8debff92815ee13172
  XCLMGMT              : 2.17.0, a09e1a1e8548b8003fb03b8debff92815ee13172
  AMDXDNA              : 0.1, unknown
  Firmware Version     : N/A

Devices present
BDF             :  Name
---------------------------------
[0000:c7:00.1]  :  RyzenAI-npu1
  1. output from: xbutil validate -d 0000:c7:00.1

------------------------------------------------------------
                        EARLY ACCESS
        This release of xbutil contains early access
         experimental features which may have bugs.
------------------------------------------------------------
Validate Device           : [0000:c7:00.1]
    Platform              : RyzenAI-npu1
    Performance Mode      : Default
-------------------------------------------------------------------------------
[                    ]: Running Test... < 0s >
libc++abi: terminating due to uncaught exception of type std::bad_any_cast: bad any cast
/opt/xilinx/xrt/bin/unwrapped/loader: line 61: 13155 Aborted                 (core dumped) "${XRT_PROG_UNWRAPPED}" "${XRT_LOADER_ARGS[@]}"
  1. build environment:

    • clang version 18.1.4+libcxx with llvm18 toolchain

    • clang built boost include XRT and it' s all dependencies

    • CXXFLAGS="-march=znver4 -pipe -flto -fno-plt -mfpmath=sse -funroll-loops -fomit-frame-pointer -fno-plt -fno-semantic-interposition -ffunction-sections -fdata-sections -O3 -finline-functions

    • LDFLAGS="${CXXFLAGS} -Wl,--hash-style=gnu,--sort-common,--as-needed"

  1. dmesg: https://gist.github.com/firstwaterer/e65d8c7b269dd72356d4c114cf8e683c

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

2 participants