Skip to main content
Question

InferenceStream terminates during sample inference

  • February 10, 2026
  • 1 reply
  • 8 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

1 reply

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 👍