Skip to content

Importing from aie.util triggers "Failed to import PyXRT: No module named 'pyxrt', proceeding without runtime libraries." although XRT is neither expected nor needed #2833

@ypapadop-amd

Description

@ypapadop-amd

A message was added that prints

Failed to import PyXRT: No module named 'pyxrt', proceeding without runtime libraries.

if pyxrt is not available.

In my case, pyxrt is neither needed nor installed. I am importing functions and classes that do not need pyxrt.

If pyxrt is installed, then it's loaded even if not used. Depending on the overhead of this, it will increase time to import packages from mlir-aie.

A mechanism is requested that ideally pyxrt is never loaded or at least the message is not displayed.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions