Skip to content

Commit

Permalink
Torch install using pip timeout with retries (#827)
Browse files Browse the repository at this point in the history
* trying pip timeout with retries

* changing for automerge job
  • Loading branch information
deirdre-k authored Jun 12, 2024
1 parent 25170de commit 32e3ed2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ before_install:
# download large files
- pip install awscli
install:
- travis_wait pip install --no-cache-dir torch
- travis_wait pip install --no-cache-dir torchvision
- pip install --no-cache-dir torch torchvision --default-timeout=1000 --retries=5
- pip install --no-cache-dir -e ".[test]"
# install conda for plugin runner
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
Expand Down Expand Up @@ -44,8 +43,7 @@ jobs:
- stage: "Automerge check"
python: '3.7'
install:
- travis_wait pip install --no-cache-dir torch
- travis_wait pip install --no-cache-dir torchvision
- pip install --no-cache-dir torch torchvision --default-timeout=1000 --retries=5
- pip install --no-cache-dir -e ".[test]"
if: type = pull_request
script:
Expand Down

0 comments on commit 32e3ed2

Please sign in to comment.