The GitHub Actions job "CI" on tvm-ffi.git/revert-406-revert-395-2026-01-09/py-func-enhance has succeeded. Run started by GitHub user junrushao (triggered by junrushao).
Head commit for run: 8cf37564d9e0790d62f758e4f8b953120b54546f / Junru Shao <[email protected]> feat: Support direct construction of `tvm_ffi.Function` from callables Add `__init__` to the Cython `Function` class so users can write: fadd = tvm_ffi.Function(add) instead of going through `tvm_ffi.convert_to_tvm_func`. The constructor: - Validates that the argument is callable - Copies the handle (with incref) if the input is already a Function - Otherwise converts via `_convert_to_ffi_func_handle` Also adds the corresponding type stub in `core.pyi` and a test in `test_function.py`. Re-lands the original change reverted in #406. Report URL: https://github.com/apache/tvm-ffi/actions/runs/22026148195 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
