Skip to content

Commit 5a33c16

Browse files
committed
remove specific index-url for torch installation to avoid conflict
Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>
1 parent 7aeeeca commit 5a33c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.azure-pipelines/scripts/install_nc.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [[ $1 = *"3x_pt"* ]]; then
99
python setup.py pt bdist_wheel
1010
else
1111
echo -e "\n Install torch CPU ... "
12-
pip install torch==2.5.1 --index-url https://download.pytorch.org/whl/cpu
12+
pip install torch==2.5.1
1313
python -m pip install intel-extension-for-pytorch==2.5.0 oneccl_bind_pt==2.5.0 --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/cpu/us/
1414
python -m pip install --no-cache-dir -r requirements.txt
1515
python setup.py bdist_wheel

0 commit comments

Comments
 (0)