From afdf028a9ae2d0b3c36fda53533e415d489a39db Mon Sep 17 00:00:00 2001 From: Logan Adams <114770087+loadams@users.noreply.github.com> Date: Fri, 23 Feb 2024 14:15:41 -0800 Subject: [PATCH] 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. --- .github/workflows/cpu-inference.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cpu-inference.yml b/.github/workflows/cpu-inference.yml index 90add351f3ec..3e09d3cc1e49 100644 --- a/.github/workflows/cpu-inference.yml +++ b/.github/workflows/cpu-inference.yml @@ -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 \\\