Age | Commit message (Collapse) | Author |
|
- Create module "compat" for tosa_checker backend
- Move TOSA checker functions into new module
- Update tests
Change-Id: Ia07034515fe43b2061b8892535067d21315cc721
|
|
- Move backend management/executor code into module backend_core
- Create separate module for each backend in "backend" module
- Move each backend into corresponding module
- Split Vela wrapper into several submodules
Change-Id: If01b6774aab6501951212541cc5d7f5aa7c97e95
|
|
- Add new tox environments 'e2e' and 'e2e_setup'
- Move the extra 'dev' requirements to the tox environments
Change-Id: I7db80f48a7a4ef81f931c0ef307d9bcf5906af19
|
|
Update RELEASES.md with a known issue when running TOSA operator
compatibility with some models.
Change-Id: Ic1d0d34d6ef0b8876e2e7331b46cd6f00b9939a0
|
|
Resolves: MLIA-719, MLIA-720
Change-Id: Ib697046f5090260437f3b1ab5fe8c5b4975abae2
|
|
File docs/source/conf.py is autogenerated by sphinx and it needs to
carry Sphinx copyright notice and license.
Change-Id: I6f506326e876e03515e2f6b4c5986f4f12b93302
|
|
Change-Id: Ibdc5d32e6c0a472fe36186f5d35434b379e02ff4
|
|
- Enable previously disabled test for clustering
- Remove fix made in the test for the previous TFMOT version
Change-Id: I46b87ce5bcccccca3c9703741dcde7f1ba9fa192
|
|
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
|
|
- Add new error types for the TensorFlow Lite compatibility
check
- Try to detect custom operators in SavedModel/Keras models
- Add warning to the advice about models with custom operators
Change-Id: I2f65474eecf2788110acc43585fa300eda80e21b
|
|
Change-Id: I35b225d6140223fa2ebc7343691da67a99382177
|
|
- Update TensorFlow dependencies for x86_64
- Adapt unit tests to new TensorFlow version
- Update linters (including pre-commit hooks) and fix issues
- Use conditional import to fix tflite compat code for aarch64
Change-Id: I1a9b080b900ab65e38f7f2552562822bbfdcd259
|
|
Check input model for Arm NN TensorFlow Lite Delegate 22.08 support.
Change-Id: I1253c4c0b294c5283e08f0a39561b922ef0f62e6
|
|
Update RELEASES.md for upcoming 0.5.0 release
Change-Id: I3179aeda828d8cdb2a9977adcfa6aeb9517186c0
|
|
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
|
|
* Update commands that use pip to install python packages by mounting
a pip.conf file (where available).
Change-Id: Id76c03d6970ea927cea1078f4954f0733534e257
|
|
- Add ability to intercept low level TensorFlow output
- Produce advice for the models that could not be
converted to the TensorFlow Lite format
- Refactor utility functions for TensorFlow Lite
conversion
- Add TensorFlow Lite compatibility checker
Change-Id: I47d120d2619ced7b143bc92c5184515b81c0220d
|
|
Due to the new version of Corstone-310, the generic inference runner
has been updated to 22.08:
* The inference runner 22.08 doesn't have timing adapters because
incompatible with new version of Corstone-310
* Remove some memory mode logic which is not needed anymore
* Corstone-310 allows to run Ethos-U65 simulation hence adding the
binary for enabling this case
* Delete the inference runner 22.05
* Fix codebase and tests to cope with changes above
Change-Id: I3dc894d7cb49b09102a19b0d7f588694a0f3b99f
|
|
* 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
|
|
- Add new environment 'lint_setup' to set up the pre-commit hooks used
by the environment 'lint' without running the actual tests.
- Add docker file for linting and testing to the project root.
- Add helper script 'install_python_versions.sh' for docker creation.
Change-Id: I5f264df72a72d7a118ab798eddcf0febd4e1125b
|
|
Use "TensorFlow Lite" instead of "TFLite" in
documentation and comments
Change-Id: Ie4450d72fb2e5261d152d72ab8bd94c3da914c46
|
|
Replace --global-option flag with --build-option flag to pass the
platform name when building MLIA.
Change-Id: I4b66a6480e0713070c5db35d4301a0129c5af330
|
|
Change TOSA checker dependency in setup.cfg from "tosa_checker" to
"tosa-checker".
Change-Id: I52f7e545c3e4c0d8e70118b85c7c549568f17bc4
|
|
Change-Id: I2ce8ccebf8a9972d9936164ae52912044c682633
|
|
- Update configuration for inclusive language linter
- Fix reported issues
Change-Id: If0f8b6e20c17d8ee1c6179c61040fc351437f036
|
|
- Create separate test for the application execution,
update test application configuration file
- Use simple mock object in the test for the backend manager
Change-Id: Ia0f7f29d43a55223d7b2fb47348b0779a26e2268
|
|
- Remove the extra 's' character which broke the path detection
mechanism when installed from /opt/VHT location on AVH instances
- Add unit tests to make sure we fixed the problem
Change-Id: Ic33a3c6c4d2b33181268d0efbc0324962e741dd4
|
|
- added the target profile for ethos-u65-256
- modified the unit tests regarding target profiles
- updated the README.md
Change-Id: I0f6b50199e735a18f0b436d291c871e1fa0460dd
|
|
- Use pyupgrade tool for the syntax upgrade
Change-Id: I3b9ae6cc5da193329e37028cde967ae049388361
|
|
- Remove coverage from the pre-commit hooks as it takes too long and is
not really suited to be a pre-commit hook
- Added tox environments:
- 'coverage': Run the code coverage.
The code coverage was moved from the pre-commit hooks to tox.
- 'lint': Run the pre-commit hooks
- 'build': Build a distribution of MLIA
- 'docs': Create documentation from the source code.
Directory docs/ was added and copyright and license information
add to files.
Change-Id: Ife92b68043295ce41a0f2352ee2b2878329f4953
|
|
- Enable deferred annotations evaluation
- Use builtin types for type hints whenever possible
- Use | syntax for union types
- Rename mlia.core._typing into mlia.core.typing
Change-Id: I3f6ffc02fa069c589bdd9e8bddbccd504285427a
|
|
Apply the same formatting rules for each section in the
output of the command "backend status"
Change-Id: I253c513f99826ef1eb916285ca4c2cc1840633ac
|
|
- Add a SECURITY markdown file containing information about how to
report securty issues.
Change-Id: Iea9aaefa9f9676142f6d5fc0b432cc3c32cc4038
|
|
Use option "find_namespace" for the package discovery
Change-Id: I22af45d348d6f56adcf0ce05219fbec820c559d1
|
|
- mypy issue: to make the comment #type: ignore platform specific,
flags like platform.machine() cannot be recognized by mypy, so we
cannot isolate the specific lines of code that fail mypy tests
- numpy issue: for numpy version < 1.20, the function np.unique
has not been type annotated, which caused mypy throwing the error
when we run our unit tests in aarch64
- because of the above two reasons, we use function decorator to
turn off type checking for entire functions to remove all
annotations so that the mypy error for certain lines can be silented
Change-Id: Id91e65ef7677b78b4c9c85b8412229e3672e3a66
|
|
Add conditional dependencies in setup.cfg so that the mlia package can be built in aarch64
Change-Id: I4d878255757818449ba0bda209233c6f9ba9f7d0
|
|
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
|
|
Change-Id: If664be64246d3ca1821ef386828afd9eb419391b
|
|
Add repository and pypi urls of TOSA checker in the README.
Change-Id: I83f73d72533485519d79ab8f44aaf80fa313e6b0
|
|
Change-Id: I364527fd2d7990d37c6754907dd3609916e0a31c
|
|
Change-Id: I9dfa9f17a93ac24be0aa9ad68e4a72b79aecfb9d
|