ci: upgrade pip in the venv before installing torch #26

Merged
branderson merged 1 commits from ci-pip into main 2026-10-10 21:50:59 -07:00
+3
View File
@@ -70,6 +70,9 @@ jobs:
apt-get update
apt-get install -y --no-install-recommends python3 python3-venv
python3 -m venv /opt/venv
# bookworm's pip 23.0 rejects the PyTorch index's typing_extensions
# wheel over its name's spelling, then cannot build it from source
/opt/venv/bin/pip install --retries 5 --upgrade pip
echo /opt/venv/bin >> "$GITHUB_PATH"
# The CPU build first: torch from PyPI is the CUDA build, several GB of