Skip to content

Commit 66547dc

Browse files
ci: Use uv torch backend for CPU installs (#6588)
Signed-off-by: Francisco Javier Arceo <[email protected]>
1 parent 7e4beb2 commit 66547dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ install-python-dependencies-ci: ## Install Python CI dependencies using uv pip s
112112
# Install CPU-only torch first to prevent CUDA dependency issues (Linux only)
113113
@if [ "$$(uname -s)" = "Linux" ]; then \
114114
echo "Installing dependencies with torch CPU index for Linux..."; \
115-
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; \
115+
uv pip sync --torch-backend cpu sdk/python/requirements/py$(PYTHON_VERSION)-ci-requirements.txt; \
116116
else \
117117
echo "Installing dependencies from PyPI for macOS..."; \
118118
uv pip sync sdk/python/requirements/py$(PYTHON_VERSION)-ci-requirements.txt; \

0 commit comments

Comments
 (0)