From 28224309791e36dfb806d5a0554d15260585818f Mon Sep 17 00:00:00 2001 From: Nina Drozd Date: Tue, 6 Sep 2022 17:00:34 +0100 Subject: MLECO-3535: update to 22.08 versions of models * update to 22.08 release of ethos-u-vela * update download_dependencies script to new tf revision Signed-off-by: Nina Drozd Change-Id: Ib4cb47ac0881d45fc6766b6b87154584d9db7374 --- docs/quick_start.md | 2 +- docs/sections/building.md | 2 +- docs/sections/troubleshooting.md | 10 +++++----- download_dependencies.py | 2 +- release_notes.txt | 2 +- set_up_default_resources.py | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/quick_start.md b/docs/quick_start.md index 2af0c8e..d7afae7 100644 --- a/docs/quick_start.md +++ b/docs/quick_start.md @@ -71,7 +71,7 @@ mkdir resources_downloaded && cd resources_downloaded python3 -m venv env env/bin/python3 -m pip install --upgrade pip env/bin/python3 -m pip install --upgrade setuptools -env/bin/python3 -m pip install ethos-u-vela==3.4.0 +env/bin/python3 -m pip install ethos-u-vela==3.5.0 cd .. curl -L https://github.com/ARM-software/ML-zoo/raw/7c32b097f7d94aae2cd0b98a8ed5a3ba81e66b18/models/anomaly_detection/micronet_medium/tflite_int8/ad_medium_int8.tflite \ diff --git a/docs/sections/building.md b/docs/sections/building.md index 2306385..de78dce 100644 --- a/docs/sections/building.md +++ b/docs/sections/building.md @@ -712,7 +712,7 @@ After compiling, your custom model has now replaced the default one in the appli > . > The source code is hosted on . -> **Note:** Using the 22.05 versions of software dependencies will require Vela to be at least version 3.4.0 +> **Note:** Using the 22.08 versions of software dependencies will require Vela to be at least version 3.5.0 > or you may encounter issues when trying to run applications on different variants of Ethos-U NPUs. The Vela compiler is a tool that can optimize a neural network model into a version that can run on an embedded system diff --git a/docs/sections/troubleshooting.md b/docs/sections/troubleshooting.md index fd2f393..d5224c4 100644 --- a/docs/sections/troubleshooting.md +++ b/docs/sections/troubleshooting.md @@ -6,7 +6,7 @@ - [NPU configuration mismatch error when running inference](./troubleshooting.md#npu-configuration-mismatch-error-when-running-inference) - [Errors when cloning the repository](./troubleshooting.md#errors-when-cloning-the-repository) - [Problem installing Vela](./troubleshooting.md#problem-installing-vela) - - [No matching distribution found for ethos-u-vela==3.4.0](./troubleshooting.md#no-matching-distribution-found-for-ethos_u_vela) + - [No matching distribution found for ethos-u-vela==3.5.0](./troubleshooting.md#no-matching-distribution-found-for-ethos_u_vela) - [How to update Python3 package to 3.7 version](./troubleshooting.md#how-to-update-python3-package-to-newer-version) - [Error trying to build on Arm Virtual Hardware](./troubleshooting.md#error-trying-to-build-on-arm-virtual-hardware) @@ -127,12 +127,12 @@ To solve this issue install libpython3 on the system. ## No matching distribution found for ethos-u-vela -Vela 3.4.0 increases Python requirement to at least version 3.7, if not installed on your system the following error will occur: +Vela 3.5.0 increases Python requirement to at least version 3.7, if not installed on your system the following error will occur: ```log -python3 -m pip install ethos-u-vela==3.4.0 -ERROR: Could not find a version that satisfies the requirement ethos-u-vela==3.4.0 (from versions: 0.1.0, 1.0.0, 1.1.0, 1.2.0, 2.0.0, 2.0.1, 2.1.1, 3.0.0, 3.1.0, 3.2.0) -ERROR: No matching distribution found for ethos-u-vela==3.4.0 +python3 -m pip install ethos-u-vela==3.5.0 +ERROR: Could not find a version that satisfies the requirement ethos-u-vela==3.5.0 (from versions: 0.1.0, 1.0.0, 1.1.0, 1.2.0, 2.0.0, 2.0.1, 2.1.1, 3.0.0, 3.1.0, 3.2.0) +ERROR: No matching distribution found for ethos-u-vela==3.5.0 ``` Ensure that the minimum Python 3.7 requirement is installed and it's the default version. diff --git a/download_dependencies.py b/download_dependencies.py index 2a81cfb..dccd38d 100755 --- a/download_dependencies.py +++ b/download_dependencies.py @@ -24,7 +24,7 @@ from urllib.request import urlopen from zipfile import ZipFile from pathlib import Path -TF = "https://github.com/tensorflow/tflite-micro/archive/286aeb5ff20d3571556e48a5c1af8527f84d3456.zip" +TF = "https://github.com/tensorflow/tflite-micro/archive/67e9d8f60d3e37ab02f94a93f016179ef5e96cb6.zip" CMSIS = "https://github.com/ARM-software/CMSIS_5/archive/ed78d6b78766d71cfe0431149f2f261d1c7277a1.zip" CMSIS_DSP = "https://github.com/ARM-software/CMSIS-DSP/archive/refs/tags/v1.11.0.zip" ETHOS_U_CORE_DRIVER = "https://git.mlplatform.org/ml/ethos-u/ethos-u-core-driver.git/snapshot/ethos-u-core-driver-22.08.tar.gz" diff --git a/release_notes.txt b/release_notes.txt index f4511ce..59a9d65 100644 --- a/release_notes.txt +++ b/release_notes.txt @@ -1,5 +1,5 @@ Changes in 22.08 - * Support for 22.08 Ethos-U component and dependencies (core-driver, core-platform, CMSIS, TensorFlow Lite Micro). + * Support for 22.08 Ethos-U component and dependencies (core-driver, core-platform, Vela 3.5.0, CMSIS, TensorFlow Lite Micro). * Formal support for ArmĀ® Corstone-310 Arm Virtual Hardware and FPGA implementations. * Added CMake presets. * Bug fix for ArmĀ® Ethos-U65 NPU's default AXI burst length. diff --git a/set_up_default_resources.py b/set_up_default_resources.py index 2d055ef..1d3922a 100755 --- a/set_up_default_resources.py +++ b/set_up_default_resources.py @@ -381,7 +381,7 @@ def set_up_resources( metadata_file_path = download_dir / "resources_downloaded_metadata.json" metadata_dict = dict() - vela_version = "3.4.0" + vela_version = "3.5.0" py3_major_version_minimum = 3 # Python >= 3.7 is required py3_minor_version_minimum = 7 -- cgit v1.2.1