tvm_tirx.libinfo.package_lib_paths

tvm_tirx.libinfo.package_lib_paths#

tvm_tirx.libinfo.package_lib_paths()#

Return search directories for TVM’s shared libraries.

Anchored on this file’s location (python/tvm_tirx/libinfo.py), the list covers the wheel-install layout (python/tvm_tirx/lib/) and the in-tree dev build layouts (<worktree>/build/lib/ and <worktree>/lib/). TVM_TIRX_LIBRARY_PATH is prepended when set so it takes priority. Callers pick the basenames they want (e.g. libtvm_runtime.so) and the load mode; this function only returns the search path.

Return type:

list[Path]