Skip to content

Commit 536b2af

Browse files
authored
Use --index-url instead of --extra-index-url for oneccl_bind_pt (#2273)
Signed-off-by: chensuyue <[email protected]>
1 parent e8d64bf commit 536b2af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.azure-pipelines/scripts/install_nc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [[ $1 = *"3x_pt"* ]]; then
1111
else
1212
echo -e "\n Install torch CPU ... "
1313
pip install torch==2.7.0 torchvision --index-url https://download.pytorch.org/whl/cpu
14-
python -m pip install intel-extension-for-pytorch==2.7.0 oneccl_bind_pt==2.7.0 --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/cpu/us/
14+
python -m pip install intel-extension-for-pytorch==2.7.0 oneccl_bind_pt==2.7.0 --index-url https://pytorch-extension.intel.com/release-whl/stable/cpu/us/
1515
python -m pip install --no-cache-dir -r requirements.txt
1616
python setup.py bdist_wheel
1717
fi

examples/3.x_api/pytorch/nlp/huggingface_models/language-modeling/quantization/transformers/weight_only/text-generation/requirements_cpu_woq.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ huggingface_hub
1616
numba
1717
tbb
1818
intel-extension-for-pytorch==2.4.0
19-
--extra-index-url https://pytorch-extension.intel.com/release-whl/stable/cpu/us/
19+
--index-url https://pytorch-extension.intel.com/release-whl/stable/cpu/us/
2020
oneccl_bind_pt==2.4.0

0 commit comments

Comments
 (0)