Skip to content

Commit db49614

Browse files
pytorchbotArmRyan
andauthored
Arm backend: Update MLSDK dependencies to use gitlab (#14992)
Updates the mlsdk manifest to point tosa_mlir_translator subdependencies to gitlab instead of ml_platform Change-Id: Idb2c032be31ee820c22b25be9f11d4bf9b0e8dce cc @freddan80 @per @zingo @oscarandersson8218 @digantdesai Signed-off-by: Ryan O'Shea <[email protected]> Co-authored-by: Ryan OShea <[email protected]>
1 parent 3a3d0e3 commit db49614

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

backends/arm/scripts/mlsdk_utils.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,28 @@ function download_ai_mlsdk_manifest() {
3838
--manifest-url ${mlsdk_manifest_url} \
3939
--manifest-branch ${mlsdk_manifest_tag} \
4040
-g model-converter,emulation-layer,vgf-library
41+
42+
# Update dependencies to use gitlab tosa-mlir-translator
43+
# Do not indent the xml. Heredoc indentation is significant.
44+
mkdir -p .repo/local_manifests/
45+
cat > ".repo/local_manifests/tosa_gitlab.xml" <<'XML'
46+
<manifest>
47+
<remote name="gitlab" fetch="https://git.gitlab.arm.com/"/>
48+
49+
<!-- remove the mlplatform entry -->
50+
<remove-project name="tosa/tosa_mlir_translator"/>
51+
52+
<!-- re-add with GitLab repo and pin the SHA -->
53+
<project
54+
name="tosa/tosa-mlir-translator"
55+
path="dependencies/tosa_mlir_translator"
56+
remote="gitlab"
57+
revision="refs/tags/v2025.07.1"
58+
groups="all model-converter"
59+
sync-s="true"/>
60+
</manifest>
61+
XML
62+
4163
./repo sync -j$(nproc)
4264

4365
popd

0 commit comments

Comments
 (0)