Skip to content

Commit afdf028

Browse files
authored
Switch cpu-inference workflow from --extra-index-url to --index-url (#5182)
This switch should cause no impact to the workflow, but ensures that we only download this package from the correct feed rather than defaulting/falling back to the index-url [default](https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-i) (PyPI) for if a package existed with a higher version there that would be chosen instead.
1 parent 4ec8762 commit afdf028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cpu-inference.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
python -m pip install intel_extension_for_pytorch
6565
# the curl line is for troubleshooting
6666
curl -L https://pytorch-extension.intel.com/release-whl/stable/cpu/us/
67-
python -m pip install oneccl_bind_pt --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/cpu/us/
67+
python -m pip install oneccl_bind_pt --index-url https://pytorch-extension.intel.com/release-whl/stable/cpu/us/
6868
pip install py-cpuinfo
6969
# check installed version
7070
pip list |grep \\\<torch\\\>

0 commit comments

Comments
 (0)