From 3d908a90a59d9f6087a97f40f897183b30880ad8 Mon Sep 17 00:00:00 2001 From: Francisco Javier Arceo Date: Tue, 7 Jul 2026 23:10:16 -0400 Subject: [PATCH] ci: Use uv torch backend for CPU installs Signed-off-by: Francisco Javier Arceo --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c7496208f96..ac6b0b5a8bb 100644 --- a/Makefile +++ b/Makefile @@ -112,7 +112,7 @@ install-python-dependencies-ci: ## Install Python CI dependencies using uv pip s # Install CPU-only torch first to prevent CUDA dependency issues (Linux only) @if [ "$$(uname -s)" = "Linux" ]; then \ echo "Installing dependencies with torch CPU index for Linux..."; \ - uv pip sync --extra-index-url https://download.pytorch.org/whl/cpu --index-strategy unsafe-best-match sdk/python/requirements/py$(PYTHON_VERSION)-ci-requirements.txt; \ + uv pip sync --torch-backend cpu sdk/python/requirements/py$(PYTHON_VERSION)-ci-requirements.txt; \ else \ echo "Installing dependencies from PyPI for macOS..."; \ uv pip sync sdk/python/requirements/py$(PYTHON_VERSION)-ci-requirements.txt; \