Merge pull request 'ci: upgrade pip in the venv before installing torch' (#26) from ci-pip into main

Reviewed-on: #26
Reviewed-by: branderson <brad@branderson.io>
This commit is contained in:
2026-10-10 21:50:58 -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