Skip to content

Commit

Permalink
Switch cpu-inference workflow from --extra-index-url to --index-url (m…
Browse files Browse the repository at this point in the history
…icrosoft#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.
  • Loading branch information
loadams authored and rraminen committed May 9, 2024
1 parent c704fc1 commit 139e981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cpu-inference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
python -m pip install intel_extension_for_pytorch
# the curl line is for troubleshooting
curl -L https://pytorch-extension.intel.com/release-whl/stable/cpu/us/
python -m pip install oneccl_bind_pt --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/cpu/us/
python -m pip install oneccl_bind_pt --index-url https://pytorch-extension.intel.com/release-whl/stable/cpu/us/
pip install py-cpuinfo
# check installed version
pip list |grep \\\<torch\\\>
Expand Down

0 comments on commit 139e981

Please sign in to comment.