Open ghost opened 5 years ago
@opti-mix Right, but that isn't needed anymore given your fix. In other words, we don't need any special modifications anymore. Everything works as expected out of the box.
Right, but that isn't needed anymore given your fix. In other words, we don't need any special modifications anymore. Everything works as expected out of the box.
Good to hear. But even if everything works out of the box, I don't think that this whole cross-compilation topic and how you use it is really covered anywhere in the docs. A small example in AOT.md with e.g. a short description of a scenario and a command-line to be used could be really helpful to other users.
@opti-mix Agreed.
I have tried emitting bundles for targets other than x86_64 to no avail. Even i386 is failing. It has something to do with tensor types. I suppose different targets expect/support different tensor types; however, I made sure that my network is using Float32. So this shouldn’t be a problem for i386. The network looks like this:
The traceback that I get when trying to build is:
In case there are any questions about
x-model-runner
: it is a custom runner that I built based on theimage-classifier.
The runner itself is working as expected forx86_64
-- it emits bundles that I'm able to link to and run inference.