diff --git a/BUGS.md b/BUGS.md index 3ed6b12dc5a8b530a70385d1b436e8081ce0107d..00eac29d12346e2c007575ffec5f539f0d867c12 100644 --- a/BUGS.md +++ b/BUGS.md @@ -1,5 +1,5 @@ # Vela -## New repository - -The Vela compiler has moved to [Arm's GitLab Instance](https://gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-vela). - -## Introduction - This tool is used to compile a [TensorFlow Lite for Microcontrollers](https://www.tensorflow.org/lite/microcontrollers) neural network model into an optimised version that can run on an embedded @@ -111,7 +105,7 @@ toolchains are also required Vela is available to install as binary wheels or a source distribution from [PyPi](https://pypi.org/project/ethos-u-vela/), or as source code from -[ML Platform](https://review.mlplatform.org/plugins/gitiles/ml/ethos-u/ethos-u-vela). +[Arm's GitLab Instance](https://gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-vela). Both methods will automatically install all the required dependencies. ### PyPi @@ -122,15 +116,15 @@ Install Vela from PyPi using the following command: pip3 install ethos-u-vela ``` -### ML Platform +### Arm's GitLab Instance First obtain the source code by either downloading the desired TGZ file from: - + Or by cloning the git repository: ```bash -git clone https://review.mlplatform.org/ml/ethos-u/ethos-u-vela.git +git clone https://git.gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-vela.git ``` Once you have the source code, Vela can be installed using the following diff --git a/ethosu/vela/test/test_build.py b/ethosu/vela/test/test_build.py index 5dd7fe1bb5433adb714c0bd7df58960e47120683..f3a9977aa857330c77dbca77fec1911af44b135e 100644 --- a/ethosu/vela/test/test_build.py +++ b/ethosu/vela/test/test_build.py @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright 2023 Arm Limited and/or its affiliates +# SPDX-FileCopyrightText: Copyright 2023-2024 Arm Limited and/or its affiliates # # SPDX-License-Identifier: Apache-2.0 # @@ -59,7 +59,7 @@ def fixture_source_readme(vela_path: Path) -> str: def test_build_correct_readme_links(built_sdist: TarFile, source_readme: str): """Test that PKG-INFO file contains README.md metadata with correct links.""" md_link_pattern = r"(!?\[.+?\]\((.+?)\))" - url = "https://review.mlplatform.org/plugins/gitiles/ml/ethos-u/ethos-u-vela/+/refs/tags/3.7.0/" + url = "https://gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-vela/-/blob/3.7.0/" # Extract the name of the package dist_tar_name = str(built_sdist.name).replace(".gz", "") package_name = Path(dist_tar_name).stem diff --git a/ethosu/vela/weight_compressor.py b/ethosu/vela/weight_compressor.py index b87a2bfb0e6f73678f241b565661b3a87ca48872..c1753aeceefbf4088f54d24004f4730c7f11561a 100644 --- a/ethosu/vela/weight_compressor.py +++ b/ethosu/vela/weight_compressor.py @@ -56,8 +56,8 @@ except RuntimeError as ex: "\nThis is a known issue most likely caused by a change in the API " "version in NumPy after installing ethos-u-vela.\nYou can find more " "information about the issue and possible solutions in the " - "'Known Issues' section at https://review.mlplatform.org/" - "plugins/gitiles/ml/ethos-u/ethos-u-vela/+/refs/heads/main/" + "'Known Issues' section at https://gitlab.arm.com/" + "artificial-intelligence/ethos-u/ethos-u-vela/-/blob/main/" "README.md#known-issues" ) raise diff --git a/pyproject.toml b/pyproject.toml index 1ee0e3747fe51fcee49664c0d1edfb4f9ed2c229..ca7b60a579320718a884adb8b64d66f2db011cd6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ dev = [ ] [project.urls] -Homepage = "https://review.mlplatform.org/plugins/gitiles/ml/ethos-u/ethos-u-vela" +Homepage = "https://gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-vela" [project.scripts] vela = "ethosu.vela.vela:main" diff --git a/setup.py b/setup.py index 22321ce903b4f5866fdd00c2aef7ee35b5fdb84e..f57669208e34f5aa884861f8d0c4c0d0439a7abd 100644 --- a/setup.py +++ b/setup.py @@ -223,7 +223,7 @@ this_directory = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f: long_description = f.read() tag = get_version() - url = f"https://review.mlplatform.org/plugins/gitiles/ml/ethos-u/ethos-u-vela/+/refs/tags/{tag}/" + url = f"https://gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-vela/-/blob/{tag}/" # Find all markdown links that match the format: [text](link) for match, link in re.findall(r"(\[.+?\]\((.+?)\))", long_description): # If the link is a file that exists, replace it with the web link to the file instead