Skip to content

Commit 3707efa

Browse files
authored
Arm backend: Fix test_nss.py (#20373)
Lock down used neural-graphics-model-gym.git to version v0.3.0 Signed-off-by: Zingo Andersen <Zingo.Andersen@arm.com>
1 parent 24d8bab commit 3707efa

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# Copyright 2025 Arm Limited and/or its affiliates.
2+
# Copyright 2025-2026 Arm Limited and/or its affiliates.
33
#
44
# This source code is licensed under the BSD-style license found in the
55
# LICENSE file in the root directory of this source tree.
@@ -8,7 +8,8 @@ set -e
88
pip install -r backends/arm/requirements-arm-models-test.txt
99

1010
# Install model gym repository
11-
git clone https://github.com/arm/neural-graphics-model-gym.git
11+
MODEL_GYM_REF="${MODEL_GYM_REF:-v0.3.0}"
12+
git clone --depth 1 --branch "$MODEL_GYM_REF" https://github.com/arm/neural-graphics-model-gym.git
1213
cd neural-graphics-model-gym
1314
# Remove model-converter installation from model-gym repository (to prevent overwriting executorch version)
1415
if [[ "$(uname)" == "Darwin" ]]; then
@@ -18,4 +19,4 @@ else
1819
fi
1920
pip install . --no-deps
2021
cd ..
21-
rm -rf neural-graphics-model-gym
22+
rm -rf neural-graphics-model-gym

0 commit comments

Comments
 (0)