dev-python/apache-tvm-ffi
Lightweight, framework-agnostic FFI module from Apache TVM
ChangeLog
commit 83fce5d07d8691ac08438e723f055d15e9e9667e
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu May 7 14:14:43 2026 +0200
dev-python/apache-tvm-ffi: new package, 0.1.9
First Tier-0 leaf for the vllm CUDA target packaging cycle. The
"apache-tvm-ffi" package on PyPI is the lightweight, framework-agnostic
FFI module used by tilelang and flashinfer-python — *not* the full
Apache TVM compiler. Pure standalone build with vendored DLPack and
libbacktrace.
Build is scikit-build-core + Cython. Upstream's pyproject.toml sets
cmake.args including -DTVM_FFI_BUILD_PYTHON_MODULE=ON, but Gentoo's
PEP517 helper writes its own --config-json with a cmake.args value
that replaces the pyproject.toml list rather than merging. The CMake
option then falls back to its CMakeLists default of OFF and the cython
core extension is silently skipped, leaving an unimportable installed
package. DISTUTILS_ARGS re-passes the option so it survives the
override. Verified 2026-05-07 against 0.1.9: with the override,
core.abi3.so is built and `import tvm_ffi` succeeds; without it, the
build still passes from emerge's view but import fails with a
misleading "circular import" error referencing the missing core
extension.
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu May 7 14:14:43 2026 +0200
dev-python/apache-tvm-ffi: new package, 0.1.9
First Tier-0 leaf for the vllm CUDA target packaging cycle. The
"apache-tvm-ffi" package on PyPI is the lightweight, framework-agnostic
FFI module used by tilelang and flashinfer-python — *not* the full
Apache TVM compiler. Pure standalone build with vendored DLPack and
libbacktrace.
Build is scikit-build-core + Cython. Upstream's pyproject.toml sets
cmake.args including -DTVM_FFI_BUILD_PYTHON_MODULE=ON, but Gentoo's
PEP517 helper writes its own --config-json with a cmake.args value
that replaces the pyproject.toml list rather than merging. The CMake
option then falls back to its CMakeLists default of OFF and the cython
core extension is silently skipped, leaving an unimportable installed
package. DISTUTILS_ARGS re-passes the option so it survives the
override. Verified 2026-05-07 against 0.1.9: with the override,
core.abi3.so is built and `import tvm_ffi` succeeds; without it, the
build still passes from emerge's view but import fails with a
misleading "circular import" error referencing the missing core
extension.


View
Download
Browse