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.git
The following commit(s) were added to refs/heads/main by this push:
new bf752dc403 [Fix] Fix ExecBuilderDeclareFunction method name in
exec_builder.py (#18092)
bf752dc403 is described below
commit bf752dc4033d4244def5a5a59f5558698a966bc0
Author: ConvolutedDog <[email protected]>
AuthorDate: Thu Jun 26 01:47:44 2025 +0800
[Fix] Fix ExecBuilderDeclareFunction method name in exec_builder.py (#18092)
Align it with the backend implementation in
https://github.com/apache/tvm/blob/main/src/relax/backend/vm/exec_builder.cc#L349
---
python/tvm/relax/exec_builder.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/tvm/relax/exec_builder.py b/python/tvm/relax/exec_builder.py
index 0939dabe16..4c5647daf7 100644
--- a/python/tvm/relax/exec_builder.py
+++ b/python/tvm/relax/exec_builder.py
@@ -87,7 +87,7 @@ class ExecBuilder(Object):
def declare_function(self, func_name: str, kind: VMFuncKind =
VMFuncKind.PACKED_FUNC) -> None:
"""Declare a function"""
- _ffi_api.ExecBuilderDecalreFunction(self, func_name, kind) # type:
ignore
+ _ffi_api.ExecBuilderDeclareFunction(self, func_name, kind) # type:
ignore
def function(
self, func_name: str, num_inputs: Optional[int] = 0, param_names:
List[str] = None