This is an automated email from the ASF dual-hosted git repository.
mshr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new bf24cab232 [Python] Fix library lookup path for pip installed packages
(#18026)
bf24cab232 is described below
commit bf24cab232c288eff48c0780819a070adcf7ba34
Author: Ruihang Lai <[email protected]>
AuthorDate: Sat May 31 07:53:07 2025 -0400
[Python] Fix library lookup path for pip installed packages (#18026)
---
python/tvm/libinfo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/tvm/libinfo.py b/python/tvm/libinfo.py
index c344315334..d05f448540 100644
--- a/python/tvm/libinfo.py
+++ b/python/tvm/libinfo.py
@@ -65,7 +65,7 @@ def get_dll_directories():
dll_path.extend(split_env_var("PATH", ";"))
# Pip lib directory
- dll_path.append(os.path.join(ffi_dir, ".."))
+ dll_path.append(ffi_dir)
# Default cmake build directory
dll_path.append(os.path.join(source_dir, "build"))
dll_path.append(os.path.join(source_dir, "build", "Release"))