Skip to content

Commit cac37b0

Browse files
author
Ruinong Tian
committed
fix torchvision unit test
1 parent 39feda0 commit cac37b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/test_artifacts/v2/scripts/run_torchvision_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e
44

5-
torchvision_version=$(micromamba list | grep torchvision | tr -s ' ' | cut -d ' ' -f 3)
5+
torchvision_version=$(micromamba list | awk '$1=="torchvision" {print $2}')
66

77
git checkout tags/v$torchvision_version
88

test/test_artifacts/v3/scripts/run_torchvision_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e
44

5-
torchvision_version=$(micromamba list | grep torchvision | tr -s ' ' | cut -d ' ' -f 3)
5+
torchvision_version=$(micromamba list | awk '$1=="torchvision" {print $2}')
66

77
git checkout tags/v$torchvision_version
88

0 commit comments

Comments
 (0)