mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
faster CI testing (#1323)
* MNIST digits * increase test acc * smaller parity * drone builds * increase GH action timeout * drone format * fix paths * drone cache * circle cache * fix test * lower nb epochs * circleCI * user orb * fix test * fix test * circle cache * circle cache * circle cache * comment caches * benchmark batch size * cache dataset * smaller dataset * smaller dataset * fix nb samples * batch size * fix test
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
||||
requires: 'minimal'
|
||||
|
||||
# Timeout: https://stackoverflow.com/a/59076067/4521646
|
||||
timeout-minutes: 20
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
@@ -61,15 +61,15 @@ jobs:
|
||||
- name: Cache datasets
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: tests/datasets # This path is specific to Ubuntu
|
||||
path: tests/Datasets # This path is specific to Ubuntu
|
||||
# Look to see if there is a cache hit for the corresponding requirements file
|
||||
key: mnist-dataset
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
# python -m pip install --upgrade --user pip
|
||||
pip install -r requirements.txt -U -f https://download.pytorch.org/whl/torch_stable.html
|
||||
pip install -r ./tests/requirements.txt
|
||||
pip install -r requirements.txt -U -f https://download.pytorch.org/whl/torch_stable.html -q
|
||||
pip install -r ./tests/requirements.txt -q
|
||||
# pip install tox coverage
|
||||
python --version
|
||||
pip --version
|
||||
|
||||
Reference in New Issue
Block a user