Skip to content

Commit 2760ae1

Browse files
ethanwee1AMD AMD
authored andcommitted
[release/2.6] Remove --no-index and --no-deps flags (#2103)
Removing --no-deps and --no-index flags because the old setuptools was installing the requirements of the torch wheel along with those of the torchvision wheel when using the old setuptools version (<80.0.1) and in versions greater than setuptools 80.0.1, the new setuptools does not install the requirements of the torch wheel and torchvision wheel. Resolves https://ontrack-internal.amd.com/browse/SWDEV-531011 Validation: http://rocm-ci.amd.com/job/framework-pytorch-2.6-ub22-py3.10-ci_rel-6.4-preview/60/
1 parent f717b2a commit 2760ae1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/pytorch/common_utils.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ function pip_install_whl() {
6767
# Loop through each path and install individually
6868
for path in "${paths[@]}"; do
6969
echo "Installing $path"
70-
python3 -mpip install --no-index --no-deps "$path"
70+
python3 -mpip install "$path"
7171
done
7272
else
7373
# Loop through each argument and install individually
7474
for path in "${args[@]}"; do
7575
echo "Installing $path"
76-
python3 -mpip install --no-index --no-deps "$path"
76+
python3 -mpip install "$path"
7777
done
7878
fi
7979
}

0 commit comments

Comments
 (0)