Skip to content

Commit

Permalink
CI, pip, retry download
Browse files Browse the repository at this point in the history
  • Loading branch information
albertz committed Jun 26, 2024
1 parent a251471 commit 855b4cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ jobs:
pip install --user nose
pip install --user -r requirements.txt
pip install --user --upgrade --progress-bar=off tensorflow==${{ matrix.tf-version }}
# Retry several times in case download breaks. https://github.com/pypa/pip/issues/4796
for ((i=0; i<3; i++)); do
if pip install --user --upgrade --progress-bar=off tensorflow==${{ matrix.tf-version }}; then break; fi
end
pip install --user --progress-bar=off torch torchdata
- name: Test Python/Numpy/TF versions.
Expand Down

0 comments on commit 855b4cd

Please sign in to comment.