This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm-ffi.git
The following commit(s) were added to refs/heads/main by this push:
new 8d237f3 Change log level from info to debug for JIT initialization
(#303)
8d237f3 is described below
commit 8d237f334194e978790ef394c8e433c5180388ff
Author: Lianmin Zheng <[email protected]>
AuthorDate: Tue Dec 2 13:00:14 2025 -0800
Change log level from info to debug for JIT initialization (#303)
Otherwise, it prints some annoying messages during server startup
---
python/tvm_ffi/_optional_torch_c_dlpack.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/tvm_ffi/_optional_torch_c_dlpack.py
b/python/tvm_ffi/_optional_torch_c_dlpack.py
index 7756926..f3d0119 100644
--- a/python/tvm_ffi/_optional_torch_c_dlpack.py
+++ b/python/tvm_ffi/_optional_torch_c_dlpack.py
@@ -116,7 +116,7 @@ def load_torch_c_dlpack_extension() -> Any: # noqa:
PLR0912, PLR0915
libname =
f"libtorch_c_dlpack_addon_torch{major}{minor}-{device}{suffix}"
lib_path = addon_output_dir / libname
if not lib_path.exists():
- logger.info("JIT-compiling torch-c-dlpack-ext to cache...")
+ logger.debug("JIT-compiling torch-c-dlpack-ext to cache...")
build_script_path = (
Path(__file__).parent / "utils" /
"_build_optional_torch_c_dlpack.py"
)