Skip to main content
Question

InferenceStream terminates during sample inference

  • February 10, 2026
  • 2 replies
  • 59 views

Hi,

I just finished setting up everything and now I’m trying to run an example pipeline using

.\inference.py yolov7-640x480-coco cars_clip.mp4

Building the model seems to work fine but when the inference starts, it either crashes after some images with


Detecting... : 2%|█▋ | 37/1802 [00:01<00:39, 44.29frames/s][ERROR][axeCommandQueueExecuteCommandListsAsync]: Wait kernel failed with return code -1.
terminate called after throwing an instance of 'std::runtime_error'
what(): axr_run_model failed with Error at zeCommandQueueExecuteCommandLists(cmdqueue, n_cmdlists, cmdlists, nullptr): cmdqueue_run_cmdlists: 319: Exit with error code: 0x7FFFFFFE : ZE_RESULT_ERROR_UNKNOWN
Aborted (core dumped)

or instantly with


INFO : Could not exec vainfo: Command '['vainfo']' returned non-zero exit status 3.
WARNING : Timeout for querying an inference
ERROR : InferenceStream terminated due to Timeout for querying an inference
ERROR : Exception in inference thread: InferenceThread
ERROR : ['RuntimeError: Timeout for querying an inference\n']
[libdmabuf.c:434] Failed to wait for MSI 0: Connection timed out
[ERROR][axeCommandQueueExecuteCommandListsAsync]: Wait kernel failed with return code -110.
terminate called after throwing an instance of 'std::runtime_error'
what(): axr_run_model failed with Error at zeCommandQueueExecuteCommandLists(cmdqueue, n_cmdlists, cmdlists, nullptr): cmdqueue_run_cmdlists: 319: Exit with error code: 0x7FFFFFFE : ZE_RESULT_ERROR_UNKNOWN
Aborted (core dumped)

 

I also tried updating the firmware but the error still persists.

 

Best,

Martin

2 replies

Spanner
Axelera Team
Forum|alt.badge.img+3
  • Axelera Team
  • February 10, 2026

Hi there ​@mle ! Looks a bit like a communication error between the host and Metis.

Could you share a few more details on your system? M.2 or PCIe, the host system, your OS and kernal. That might help us drill down a bit 👍


Forum|alt.badge.img+2
  • Community Manager
  • February 18, 2026

Hi ​@mle

As ​@Spanner mentioned, can you please share the following details with us.

 

Follow troubleshooting guide: https://support.axelera.ai/hc/en-us/articles/26261515755538-PCIe-Troubleshooting-Guide

and provide (as many as possible from this list):

  • Exact steps to reproduce issue
  • Host used
  • OS used
  • Metis Driver version used
  • Voyager SDK version used
  • Loaded FW version
  • Flashed FW version
  • Board Controller (BC) version
  • Serial number of Metis card used
  • PCIe or M.2
  • Run sudo dmesg and provide as txt file
  • As much output as possible from running the different steps in the troubleshooting guide
  • Output of lspci and lspci -tv

Let us know if you have any trouble, the Troubleshooting guide should give you the info needed to get the specific info about Metis we asked for.

Best,

Victor