tlopex opened a new pull request, #19822: URL: https://github.com/apache/tvm/pull/19822
`SourceModule.get_includes()` hardcoded `tvm_home()/3rdparty/tvm-ffi/...` paths that only exist in a source checkout. In a wheel the tvm-ffi/DLPack headers ship in the separate `tvm_ffi` package, so the existence assert failed and `nn.SourceModule` could not compile extern sources. This pr resolves includes via libinfo (`libinfo.find_include_path()`, `tvm_ffi.libinfo.find_include_path()`, `find_dlpack_include_path()`), matching `runtime/module.py` and `rpc/minrpc.py`. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
