gromero opened a new pull request #8086: URL: https://github.com/apache/tvm/pull/8086
Hi, Could I get reviews for the following change, please? It adds support for the Model Library Format (MLF) to 'tvmc' so users can output compilation artifacts to a MLF archive passing the new flag '--output-format mlf'. For instance: $ python3 -m tvm.driver.tvmc compile ./sine_model.tflite --target="c" --output sine.tar --output-format mlf will generate a sine.tar archive that is serialized accordingly to the MLF. Since the MLF is currently meant to be used only on micro targets, an error is generated if one tries to run a MLF outside a micro context: $ python3 -m tvm.driver.tvmc run ./sine.tar Error: You're trying to run a model saved using the Model Library Format (MLF). MLF can only be used to run micro targets (µTVM). The micro context does not exist yet but will be later introduced as part of the [RFC] "TVMC: Add support for µTVM". Signed-off-by: Gustavo Romero <[email protected]> -- 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. For queries about this service, please contact Infrastructure at: [email protected]
