Open mehrdadh opened 2 years ago
I guess the fix for this is in TVM, similar to what we do with other support files directories?
https://github.com/apache/tvm/blob/a1c371f46cf77dcdffa6f0ab55f5036bff1c5624/python/setup.py#L73-L78
@leandron that's one aspect of the problem, the other thing is that Hexagon is not enabled by default. I don't know how we are going to release package with support for other hardware. The same question exists for microTVM but I think enabling microTVM by default is not that hard
@leandron that's one aspect of the problem, the other thing is that Hexagon is not enabled by default. I don't know how we are going to release package with support for other hardware. The same question exists for microTVM but I think enabling microTVM by default is not that hard
I see. Just to clarify, this is what is currently enabled in the apache-tvm
packaging.
@leandron that's good to know! So I tried to make microtvm to be ON by default and that turns out to be an issue with building the hexagon_api: https://github.com/apache/tvm/pull/12227 You don't see the error on the CI because I disabled MICROTVM in this file: https://github.com/apache/tvm/pull/12227/files#diff-725711af3d7d48c0b3b970e966fc424796739f3714e1a63f8f40968de5cddd6aR91
If we can fix this issue then we can enable hexagon in the pip package.
I was trying to use hexagon launcher from the apache-tvm pip package and I got this error:
I think the reason is that for hexagon we are building hexaong_api which generates some files in
HEXAGON_RPC_LIB_DIR
direcotory, but they are not included in this build.cc @areusch