Age | Commit message (Collapse) | Author |
|
Adds support for unstructured polynomial decay pruning rewrites
Resolves: MLIA-1171
Signed-off-by: Nathan Bailey <nathan.bailey@arm.com>
Change-Id: I9e753f35f8afe53aa24b87d794ff6986a571168f
|
|
Adds the kernel size as a user input parameter for conv2D to add flexibility
Signed-off-by: Nathan Bailey <nathan.bailey@arm.com>
Change-Id: If8fa70e79a64dffafd5cf6b1c3e482e89ac6f8de
|
|
Signed-off-by: Benjamin Klimczak <benjamin.klimczak@arm.com>
Change-Id: I0f708c69cb504cb056bc2808e214ca0a3425e658
|
|
Allow the user to specify an activation function for conv2d rewrites
Enable automatic detection of most common activation function in rewrite in the case that the user does not specify one
Resolves: MLIA-1163
Signed-off-by: Nathan Bailey <nathan.bailey@arm.com>
Change-Id: Icbf6f4c6f8eaba6d78b88bdf62448f1d30aed1ae
|
|
Adds support for rewrite-specific parameters
Resolves: MLIA-1114
Signed-off-by: Nathan Bailey <nathan.bailey@arm.com>
Change-Id: I290c326af3356033a916a43b28027819c876c3dd
|
|
Enable clustering and fully connected rewrites for conv2D layers.
Resolves: MLIA-1159 and MLIA-1160
Signed-off-by: Nathan Bailey <nathan.bailey@arm.com>
Change-Id: I640b8a7e79e455b12fb68d02ac1c33213b8de9c6
|
|
- Enables user to specify augmentations via the --optimization-profile switch
- Can specify from pre-given examples or can provide each parameter manually
- Updates README
Resolves: MLIA-1147
Signed-off-by: Nathan Bailey <nathan.bailey@arm.com>
Change-Id: I9cbe71d85def6a8db9dc974adc4bcc8d90625505
|
|
- Rename "fully_connected" to "fully-connected"
- This will resolve issues with upstreaming rewrite library changes
Signed-off-by: Madeleine Dunn <madeleine.dunn@arm.com>
Change-Id: I2f24ae4917a556fd0bd44f0db6ee4e0f7a68cd24
|
|
Enables user to provide a toml or default profile to change training settings for rewrite optimization
Resolves: MLIA-1004
Signed-off-by: Nathan Bailey <nathan.bailey@arm.com>
Change-Id: I3bf9f44b9a2062fb71ef36eb32c9a69edcc48061
|
|
- Add support for Corstone-300 download on AArch64
- Add support for Corstone-310 download on AArch64
- Add support for Corstone-310 download on x86
- Add e2e tests and unit tests
- Edited README.md to reflect updates
Resolves: MLIA-1017
Signed-off-by: Benedetta Delfino <benedetta.delfino@arm.com>
Change-Id: I8d54a721f91d67123f65c076313cef12b7df92bd
|
|
- New overview on Arm MLIA
Signed-off-by: Annie Tallund <annie.tallund@arm.com>
Change-Id: I7da120aefb23ac6434c99c41e65a051f4a0bd8fa
|
|
* Add flags for rewrite (--rewrite, --rewrite-start,
--rewrite-end, --rewrite-target)
* Refactor CLI interfaces to accept tflite models with optimize for
rewrite, keras models with optimize for clustering and pruning
* Refactor and move common.py and select.py out of the folder
nn/tensorflow/optimizations
* Add file nn/rewrite/core/rewrite.py as placeholder
* Update/add unit tests
* Refactor OptimizeModel in ethos_u/data_collection.py
for accepting tflite model case
* Extend the logic so that if "--rewrite" is specified, we don't add
pruning to also accept TFLite models.
* Update README.md
Resolves: MLIA-750, MLIA-854, MLIA-865
Signed-off-by: Benjamin Klimczak <benjamin.klimczak@arm.com>
Change-Id: I67d85f71fa253d2bad4efe304ad8225970b9622c
|
|
- Update dependencies in .pre-commit.yaml
- Fix code issues with new linters
Change-Id: I36964ecf1a405dd8faac01b4470b56122a7cad17
Signed-off-by: Benjamin Klimczak <benjamin.klimczak@arm.com>
|
|
Update the compatibility information of the backend for ArmNN TensorFlow
Lite Delegate (classic) to version 23.05.
Change-Id: I84693842d1a883f7083a6faf7d5ddcd5ecc34e5d
Signed-off-by: Benjamin Klimczak <benjamin.klimczak@arm.com>
|
|
There is an issue with Python 3.8.0 that makes it impossible to use
MLIA. It is fixed from Python 3.8.1 onwards.
https://github.com/python/cpython/issues/82019
Change-Id: I48c0a5f103fb29561be483875ba706928b7e77d1
|
|
- Provide "pretty names" to print information for targets and backends.
- Use 'target_config' instead of 'target' if a target profile is
used.
- Fix minor issue in output regarding the output directory.
Change-Id: Ib38231f30b4d609a0d1e8f9c52b2fb547c69cb6a
|
|
Change-Id: I7dda9c2b99a1464d9682074245584d8c518a9c13
|
|
- 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
|