Jirka Borovec
c09317e68f
cleaning ( #2030 )
...
* cleaning
* optim imports
* fix
* typo
* on
* mergify
2020-06-04 11:25:07 -04:00
Jirka Borovec
5d93d57573
Tests/drop macos py38 ( #2061 )
...
* tests drop macOS py38
* ignore single test
* try freeze env
* drop
* drop
* drop
* drop
* drop skips
* imports
* fix
2020-06-03 08:38:56 -04:00
Jirka Borovec
c438d0dd90
increase acc ( #2039 )
...
* increase acc
* try 0.45
* @pytest
* @pytest
* try .50
* duration
* pytest
2020-06-03 08:28:19 -04:00
Jirka Borovec
b4eb6ef5a1
tests drop macOS py38 ( #2054 )
...
* tests drop macOS py38
* ignore single test
* try freeze env
* drop
* drop
* drop
* drop
* drop skips
* drop macOS py38
* imports
2020-06-03 06:48:20 -04:00
Jirka Borovec
fd38f52e55
sooner CI testing ( #2037 )
2020-06-01 10:21:52 -04:00
Jirka Borovec
d610f3bb53
set min PT 1.3 ( #1917 )
...
* set min PT 1.3
* circleCI
* mergify
* min
* chlog
* skip
2020-05-22 07:14:08 -04:00
Jirka Borovec
c717873d26
fix syntax issue ( #1900 )
2020-05-20 07:46:18 -04:00
Justus Schock
9b629637b8
New metric classes ( #1326 ) ( #1877 )
...
* New metric classes (#1326 )
* Create metrics package
* Create metric.py
* Create utils.py
* Create __init__.py
* add tests for metric utils
* add docstrings for metrics utils
* add function to recursively apply other function to collection
* add tests for this function
* update test
* Update pytorch_lightning/metrics/metric.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* update metric name
* remove example docs
* fix tests
* add metric tests
* fix to tensor conversion
* fix apply to collection
* Update CHANGELOG.md
* Update pytorch_lightning/metrics/metric.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* remove tests from init
* add missing type annotations
* rename utils to convertors
* Create metrics.rst
* Update index.rst
* Update index.rst
* Update pytorch_lightning/metrics/convertors.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* Update pytorch_lightning/metrics/convertors.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* Update pytorch_lightning/metrics/convertors.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* Update pytorch_lightning/metrics/metric.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* Update tests/utilities/test_apply_to_collection.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* Update tests/utilities/test_apply_to_collection.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* Update tests/metrics/convertors.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* Apply suggestions from code review
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* add doctest example
* rename file and fix imports
* added parametrized test
* replace lambda with inlined function
* rename apply_to_collection to apply_func
* Separated class description from init args
* Apply suggestions from code review
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* adjust random values
* suppress output when seeding
* remove gpu from doctest
* Add requested changes and add ellipsis for doctest
* forgot to push these files...
* add explicit check for dtype to convert to
* fix ddp tests
* remove explicit ddp destruction
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
* move dtype device mixin to more general place
* refactor to general device dtype mixin
* add initial metric package description
* change default to none for mac os
* pep8
* fix import
* Update index.rst
* Update ci-testing.yml
* Apply suggestions from code review
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
* Update CHANGELOG.md
* Update pytorch_lightning/metrics/converters.py
* readme
* Update metric.py
* Update pytorch_lightning/metrics/converters.py
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: William Falcon <waf2107@columbia.edu>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Jirka <jirka@pytorchlightning.ai>
2020-05-19 11:05:07 -04:00
Travis Addair
f90afa29b8
Fix disabling progress bar on non-zero ranks using Horovod backend ( #1709 )
...
* Fix Horovod backend to disable progress bar on all ranks except 0
* Add join barriers
* Added changelog
* Make protected and add verbosity
* Refactor to disable progress bar callback in train
* Removed vebose setting
* Add cache check for Horovod
* Test run again
* Updated comment
* Always skip cache for Horovod
* Only reinstall when necessary
* Added separate step
* Fixed spacing
* Skip Python 3.8
2020-05-04 13:02:57 -04:00
Jirka Borovec
281a73ccf7
specify cache matrix ( #1725 )
2020-05-04 07:13:11 -04:00
Jirka Borovec
994b77721c
Merge branch 'master' into new-master
2020-04-27 22:13:42 +02:00
J. Borovec
2180aa19ad
Remove warning ( #1634 )
...
Remove warning
Update CHANGELOG.md
2020-04-27 15:53:01 +02:00
J. Borovec
813e37916d
try GH actions cache ( #1558 , #1624 )
...
spec cache
spec cache
trigger
extras
revert
refactor
cache
cache
cache
cache
2020-04-27 15:48:58 +02:00
J. Borovec
b19d61c251
cache
2020-04-27 00:09:10 +02:00
J. Borovec
e8de5282f0
cache
2020-04-27 00:07:35 +02:00
J. Borovec
a7ccd55372
cache
2020-04-27 00:00:22 +02:00
J. Borovec
f76b1125e2
cache
2020-04-26 23:52:13 +02:00
J. Borovec
0c285cd76f
refactor
2020-04-26 23:47:59 +02:00
J. Borovec
b672fff564
revert
2020-04-26 23:35:08 +02:00
J. Borovec
c13da418b5
extras
2020-04-26 21:14:41 +02:00
J. Borovec
f083995279
trigger
2020-04-26 21:11:47 +02:00
J. Borovec
ea5e51c330
spec cache
2020-04-26 21:11:47 +02:00
J. Borovec
9f52e00bb4
spec cache
2020-04-26 21:11:47 +02:00
Jirka Borovec
0b22b64a10
Tests/docker ( #1573 )
...
* devel image
* try parallel
* new image
2020-04-23 12:52:59 -04:00
Travis Addair
7024177f7d
Added Horovod distributed backend ( #1529 )
...
* Initial commit of Horovod distributed backend implementation
* Update distrib_data_parallel.py
* Update distrib_data_parallel.py
* Update tests/models/test_horovod.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* Update tests/models/test_horovod.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* Fixed tests
* Added six
* tests
* Install tox for GitHub CI
* Retry tests
* Catch all exceptions
* Skip cache
* Remove tox
* Restore pip cache
* Remove the cache
* Restore pip cache
* Remove AMP
Co-authored-by: William Falcon <waf2107@columbia.edu>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: J. Borovec <jirka.borovec@seznam.cz>
2020-04-22 17:39:08 -04:00
Jirka Borovec
4d24032ea5
tests for pytorch 1.5 ( #1552 )
...
* tests for pytorch 1.5
* up Win
* win
* win
* win
* win
* win
* win
2020-04-22 10:10:23 -04:00
Jirka Borovec
b3fe17ddeb
fix flushing loggers ( #1459 )
...
* flushing loggers
* flushing loggers
* flushing loggers
* flushing loggers
* changelog
* typo
* fix trains
* optimize imports
* add logger test all
* add logger test pickle
* flake8
* fix benchmark
* hanging loggers
* try
* del
* all
* cleaning
2020-04-14 20:32:33 -04:00
Jirka Borovec
724b787cd1
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
2020-04-02 12:28:44 -04:00
Jirka Borovec
e73dcb8cbe
add python 3.8 testing ( #915 )
...
* add python 3.8 test
* update info
* py38 >> torch 1.2
* skip py38 minimal
* changelog
Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-04-02 12:20:45 -04:00
Jirka Borovec
45d671a4a8
CI: split tests-examples ( #990 )
...
* CI: split tests-examples
* tests without template
* comment depends
* CircleCI typo
* add doctest
* update test req.
* CI tests
* setup macOS
* longer train
* lover pred acc
* fix model
* rename default model
* lower tests acc
* typo
* imports
* fix test optimizer
* update calls
* fix Win
* lower Drone image
* fix call
* pytorch image
* fix test
* add dev image
* add dev image
* update image
* drone volume
* lint
* update test notes
* rename tests/models >> tests/base
* group models
* conftest
* optim imports
* typos
* fix import
* fix tests
* install AMP
* tests
* fix import
2020-03-25 07:46:27 -04:00
Jirka Borovec
3be81cb54e
test deprecated - model ( #1074 )
...
* pylint
* model API
* update test
* formatting
* disable logger
* fix checking overwrite
* fix test
* typo
* deprecated model
* fix for DDP
* drop Flake8 in GH actions
* Update pytorch_lightning/trainer/evaluation_loop.py
* fix imports
Co-authored-by: Nic Eggert <nic@eggert.io>
2020-03-20 20:51:14 +01:00
Jirka Borovec
0cdfb9af41
reduce nb CI builds ( #1078 )
2020-03-06 19:19:19 -05:00
Jirka Borovec
fd53d434c7
fix GH CI ( #1052 )
2020-03-05 20:44:28 -05:00
Jirka Borovec
d856989120
split trainer tests ( #956 )
...
* split trainer tests
* Apply suggestions from code review
* format string
* add CI timeout
2020-02-26 20:31:40 -05:00
Jirka Borovec
5dd2afeab1
Fixing tests ( #936 )
...
* abs import
* rename test model
* update trainer
* revert test_step check
* move tags
* fix test_step
* clean tests
* fix template
* update dataset path
* fix parent order
2020-02-25 13:06:24 -05:00
Donal Byrne
9854084136
Caching MNIST dataset for testing ( #917 )
...
* Caching MNIST dataset for testing
* Added MNIST datset to the tests directory
* Caches dataset based off hash of the test.pt file
* Cleaned Up yml file
* Cleaned Up yml file
* Removed MNIST Data from framework
* Set cache key for dataset to 'mnist'
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-02-25 09:20:41 -05:00
Aljoscha Steffens
9eb1907151
separate requirements for logger dependencies ( #792 )
...
* added file that contains information on the minimal versions needed for the supported loggers
* copied minimal version, combined files, deleted duplicates
* sorted functions in tests/test_loggers.py to be consistent
* expanded wandb logging test; added minimal versions for requirements-extra.txt; increased the amount of training data that is used for tests
* formatting
* added requirements-extra.txt to MANIFEST.in
* reverted wandb test; ensured minimal version for dependencies in requirements-extra.txt in ci-testing.yml
2020-02-21 13:30:27 -05:00
Jirka Borovec
21d0f32047
Add GitHub Actions build ( #823 )
...
* init GH building
* try run
* circleci: install
* add cache
* add artifacts
* fix cache
* update
2020-02-12 11:28:47 -05:00