Skip to content

Commit 7a31095

Browse files
Arm backend: Remove setup flag for model test deps (pytorch#19366)
Remove the setup.sh --setup-test-dependency option and document calling the model test dependency installer directly instead. Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>
1 parent 7fc33ab commit 7a31095

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎backends/arm/README.md‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,15 @@ Some tests, with `u55`, `u85` and `vgf` in the name require external dependencie
249249
```
250250

251251
In addition, some model tests in the Arm backend require third-party libraries or packages.
252-
To run these tests, you need to install the required dependencies by running the script `examples/arm/setup.sh` with the flag `--setup-test-dependency`.
252+
To run these tests, install the required dependencies directly:
253253

254-
Please note that installing model test dependencies is a standalone process. When using the `--setup-test-dependency` flag,
255-
the script will install only the necessary dependencies for model tests, skipping all other setup procedures.
254+
```
255+
bash backends/arm/scripts/install_models_for_test.sh
256+
```
257+
258+
Installing model test dependencies is a standalone process. The script installs
259+
only the dependencies needed for model tests, skipping all other setup
260+
procedures.
256261

257262
## Using git hooks
258263

‎examples/arm/setup.sh‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,6 @@ function check_options() {
188188
enable_vulkan_sdk=1
189189
shift
190190
;;
191-
--setup-test-dependency)
192-
log_step "deps" "Installing test dependency..."
193-
source $et_dir/backends/arm/scripts/install_models_for_test.sh
194-
exit 0
195-
;;
196191
--help)
197192
print_usage "$@"
198193
exit 0

0 commit comments

Comments
 (0)