tqchen commented on PR #18226:
URL: https://github.com/apache/tvm/pull/18226#issuecomment-3218414475
In #17920 , we introduce the new TVM FFI system, after various evolutions
and refactoring, we are getting to a state that the ffi component is ready to
be isolated out. This marks a major milestone of our ffi refactoring.
Summary of the Change
- Now all ffi related components(including python binding) are isolated
under the ffi folder
- The ffi part is now moves into its own package minimal that contains the
core ABI hopefully we start to become stable over time
- We modernize the package using `scikit-build-core` and the package can
be readily installed via ```pip install ./ffi```
- An alpha version can also be tried via `pip install apache-tvm-ffi`
- TVM compiler and runtime will depend on the the new ffi module
- For extensions that only needs to expose certain functions, they can
directly depend on tvm-ffi only
- Dynamic libraries(such as libtvm) that build on top of tvm-ffi will not be
impacted by the python ABI or torch ABI, so wheels can be created independent
from python/torch version
We will continue to evolve tvm-ffi a bit, but it should be at a reasonable
stable state. The change would pave path for us to further modularize the
stable part of components that can eable broad interactions, while continuously
improving the compiler
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]