Skip to content

SWIGLU xrt error #38

@IllusiveAldebaran

Description

@IllusiveAldebaran

Only test that fails. Changed the XRT and xdna drivers. Using prerelease drivers.

🔄 Running test: swiglu
   Path: /home/myuser/IRON/build/example/swiglu/swiglu.py
❌ swiglu - FAILED
   Stdout: 
   Stderr: terminate called after throwing an instance of 'xrt::runlist::aie_error'
  what():  runlist failed execution (ERT_CMD_STATE_TIMEOUT)
txn_op_idx = 0xFFFFFFFF
ctx_pc = 0x28B04659
fatal_error_type = 0x00000000
fatal_error_exception_type = 0x00000000
fatal_error_exception_pc = 0x00000000
fatal_error_app_module = 0x00000000

Aborted (core dumped)

Env loaded with:

	# xrt (Xilinx Runtime Tools). Communication with AIE on Versal and AI Ryzen
	source /opt/xilinx/xrt/setup.sh

	# needs to activate iron env environment
	source /home/myuser/mlir-aie/ironenv/bin/activate

	source /home/myuser/mlir-aie/utils/env_setup.sh

	# for some reason needed for jit stuff
	MLIR_PYTHON_EXTRAS_SET_VERSION="0.0.8.3" HOST_MLIR_PYTHON_PACKAGE_PREFIX="aie" pip install -r /home/myuser/IRON/requirements.txt

	# add peano to path

	PATH="$PEANO_INSTALL_DIR/bin:$PATH"
	export C_INCLUDE_PATH=/home/myuser/mlir-aie/:/home/myuser/mlir-aie/runtime_lib/test_lib/:$C_INCLUDE_PATH
	export CPLUS_INCLUDE_PATH=/home/myuser/mlir-aie/:/home/myuser/mlir-aie/runtime_lib/test_lib/:$CPLUS_INCLUDE_PATH

Packages installed:

ii  xrt-base                                      2.21.0                                   amd64        Runtime stack for use with AMD platforms
ii  xrt-base-dev                                  2.21.0                                   amd64        Runtime stack for use with AMD platforms
ii  xrt-npu                                       2.21.0                                   amd64        Runtime stack for use with AMD platforms
ii  xrt_plugin-amdxdna                            2.21.1                                   amd64        XDNA driver plugin for Xilinx RunTime

Contents of /opt/xilinx/xrt/version.json

{
  "BUILD_VERSION" : "2.21.0",
  "BUILD_VERSION_DATE" : "Wed, 26 Nov 2025 08:11:47 -0800",
  "BUILD_BRANCH" : "master",
  "VERSION_HASH" : "00525e2c7c11c246553a029384342c94241e7ae5",
  "VERSION_HASH_DATE" : "Tue, 25 Nov 2025 10:26:50 -0800"
}

This is on the AMD Ryzen AI 5 340 w/ Radeon 840M. NPU Krackan Point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions