Age | Commit message (Collapse) | Author |
|
- Change logic for parameter "-b/--backend" to
avoid dependency between CLI options
Change-Id: Ic98cb4eb6340cf249fcaa8ec55d17d21b5664b81
|
|
Breaking change in the CLI and API: Sub-commands "optimization",
"operators", and "performance" were replaced by "check", which
incorporates compatibility and performance checks, and "optimize" which
is used for optimization. "get_advice" API was adapted to these CLI
changes.
API changes:
* Remove previous advice category "all" that would perform all three
operations (when possible). Replace them with the ability to pass a
set of the advice categories.
* Update api.get_advice method docstring to reflect new changes.
* Set default advice category to COMPATIBILITY
* Update core.common.AdviceCategory by changing the "OPERATORS" advice
category to "COMPATIBILITY" and removing "ALL" enum type.
Update all subsequent methods that previously used "OPERATORS" to use
"COMPATIBILITY".
* Update core.context.ExecutionContext to have "COMPATIBILITY" as
default advice_category instead of "ALL".
* Remove api.generate_supported_operators_report and all related
functions from cli.commands, cli.helpers, cli.main, cli.options,
core.helpers
* Update tests to reflect new API changes.
CLI changes:
* Update README.md to contain information on the new CLI
* Remove the ability to generate supported operators support from MLIA
CLI
* Replace `mlia ops` and `mlia perf` with the new `mlia check` command
that can be used to perform both operations.
* Replace `mlia opt` with the new `mlia optimize` command.
* Replace `--evaluate-on` flag with `--backend` flag
* Replace `--verbose` flag with `--debug` flag (no behaviour change).
* Remove the ability for the user to select MLIA working directory.
Create and use a temporary directory in /temp instead.
* Change behaviour of `--output` flag to not format the content
automatically based on file extension anymore. Instead it will simply
redirect to a file.
* Add the `--json` flag to specfy that the format of the output should
be json.
* Add command validators that are used to validate inter-dependent
flags (e.g. backend validation based on target_profile).
* Add support for selecting built-in backends for both `check` and
`optimize` commands.
* Add new unit tests and update old ones to test the new CLI changes.
* Update RELEASES.md
* Update copyright notice
Change-Id: Ia6340797c7bee3acbbd26601950e5a16ad5602db
|
|
Change-Id: Ibdc5d32e6c0a472fe36186f5d35434b379e02ff4
|
|
Change-Id: If2156a4a4224f54875fb35c95062fde0a6dca907
|
|
- Add new type of the backend based on python packages
- Add installation class for TOSA checker
- Update documentation
- Extend support of the parameter "force" in the
"install" command
Change-Id: I95567b75e1cfe85daa1f1c3d359975bb67b2504e
|
|
* add entry point for mlia-backend in setup.cfg and main.py
* add --force option for install from path: uninstall existing backend
in ML Inference Advisor and install from given path
* add uninstall and list program parameters: uninstall has
backend_name as input arg, install has backend_name as a mandatory argument
* add unit tests in test_cli_commands.py, test_cli_main.py,
test_tools_metadata_common.py, test_tools_metadata_corstone.py
* updated README.md
* remove --download option for installing backend
* add new lines for the display section when we do mlia-backen list
* add case insensitive support for backend names in command line argument
Change-Id: Icb89d8957fa6be4b767710e24fa074f26472674b
|
|
Change-Id: I35b225d6140223fa2ebc7343691da67a99382177
|
|
Check input model for Arm NN TensorFlow Lite Delegate 22.08 support.
Change-Id: I1253c4c0b294c5283e08f0a39561b922ef0f62e6
|
|
Change-Id: I212c9cad5f2ac28b75b1d9e2fb8f1f8b444b8397
|
|
* Fix minor typo
* Position inclusive language section at the top of the README.md
Change-Id: I90538a497d1acbac3463e9af7eb00091337c69d3
|
|
Change-Id: If922df0eb21b988da2fa377008c1777499a266c1
|
|
* Update setup.py to replace relative paths in README.md with links
to files on review.mlplatform.org
* Add a mechanism that replaces relative paths to images with the link
to the plain image on review.mlplatform.org
Change-Id: Ifeb17e3c03e8366bd12665eb9f4a630fc9933e26
|
|
* Add `api.generate_supported_operators_report` that calls
a report generator based on given target profile.
* Update `--supported-ops-report` cli flag help section and README.md
info by specifying that it is currently only supported for Ethos-U.
* Add tests for `generate_supported_operators_report` method.
* Add stub methods `report` for Cortex-A
and Tosa operators.py module that throw a "Not supported" exception.
Change-Id: Iaf373fe48299d807e48fd6a0e6c029ce32203f4f
|
|
* Add link to SECURITY.md and RELEASES.md in the Resources section of
README.md
Change-Id: I16c5d31f11297c4f62cb62a586b3aaf6f7363e44
|
|
* Add Cortex-A device skeleton
* Add unit tests for the Cortex-A device skeleton
* Update profiles.json by adding the new "cortex-a" profile
* Add new cortex-a factory to the get_advisor method in api.py
* Disable performance and optimization commands for the cortex-a
profile.
* Update trademarks section in README.md
* Update pyproject.toml to not run similarity check in imports
Change-Id: I2e228aaada1e2d3c5cc329d70572b51962ff517f
|
|
Use "TensorFlow Lite" instead of "TFLite" in
documentation and comments
Change-Id: Ie4450d72fb2e5261d152d72ab8bd94c3da914c46
|
|
- added the target profile for ethos-u65-256
- modified the unit tests regarding target profiles
- updated the README.md
Change-Id: I0f6b50199e735a18f0b436d291c871e1fa0460dd
|
|
Fix formatting of Trademarks and Copyrights section in README.
Change-Id: Idd9663fd05cdc9921908ea4a0781b48d19541b32
|
|
Change-Id: I9f2ee03a5db79fcb14464c5f276d8790b1788bbd
|
|
- Remove `--layers-to-optimize` option from README as it is no longer
available in the CLI.
- Add `--evaluate-on` option in README for `mlia optimization` and
`mlia performance` commands.
- Update tosa_checker link with the correct one.
Change-Id: Ifc19d244f3e11c24bfbcfd9838c671c13cf91d39
|
|
Add repository and pypi urls of TOSA checker in the README.
Change-Id: I83f73d72533485519d79ab8f44aaf80fa313e6b0
|
|
Change-Id: I364527fd2d7990d37c6754907dd3609916e0a31c
|
|
Change-Id: I00669320303020b1953b3ba505d108b87cb89327
|
|
Address the feedback from the review during out-of-box testing.
Change-Id: Ib70fce58240284ca39392988e2321743c5c02600
|
|
Add MLIA codebase including sources and tests.
Change-Id: Id41707559bd721edd114793618d12ccd188d8dbd
|