This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch tirx/standalone-package-cleanup
in repository https://gitbox.apache.org/repos/asf/tvm.git

commit 739ffe23c14a527585fedb4709d82a28c9582f6c
Author: Tianqi Chen <[email protected]>
AuthorDate: Thu Oct 15 04:26:11 2026 +0000

    [FIX][Python] Retain parent version and external-module headers
---
 python/tvm/relax/frontend/nn/extern.py | 1 +
 python/tvm/topi/__init__.py            | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/python/tvm/relax/frontend/nn/extern.py 
b/python/tvm/relax/frontend/nn/extern.py
index 3bde6c3b67..999315af36 100644
--- a/python/tvm/relax/frontend/nn/extern.py
+++ b/python/tvm/relax/frontend/nn/extern.py
@@ -316,6 +316,7 @@ class SourceModule(ExternModule):  # pylint: 
disable=too-few-public-methods
             The list of include paths.
         """
         results = [
+            Path(tvm.libinfo.find_include_path()),
             Path(libinfo.find_include_path()),
             Path(tvm_ffi.libinfo.find_include_path()),
             Path(tvm_ffi.libinfo.find_dlpack_include_path()),
diff --git a/python/tvm/topi/__init__.py b/python/tvm/topi/__init__.py
index 918db50510..f0db21581c 100644
--- a/python/tvm/topi/__init__.py
+++ b/python/tvm/topi/__init__.py
@@ -26,7 +26,7 @@ Some of the schedule function may have been specially 
optimized for a
 specific workload.
 """
 
-from tvm_tirx.libinfo import __version__
+from tvm.libinfo import __version__
 
 # Ensure C++ schedules get registered first, so python schedules can
 # override them.

Reply via email to