Commit Graph

3447 Commits

Author SHA1 Message Date
William Falcon dbfe2b6129
ref: decouple apex second attemp part 9/n (#4063)
* ref: decouple apex second attemp part 9/n

* ref: decouple apex second attemp part 9/n
2020-10-10 18:44:24 -04:00
William Falcon e3717ed36e
ref: decouple apex second attemp part n/n (#4062)
* ref: decouple apex second attemp part 8/n

* ref: decouple apex second attemp part 8/n

* ref: decouple apex second attemp part 8/n

* ref: decouple apex second attemp part 8/n
2020-10-10 17:25:45 -04:00
Jeff Yang ad828b5909
use automethod for LightningModule method (#4025)
* autofunction -> automethod

* Update pytorch_lightning/core/lightning.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

Co-authored-by: William Falcon <waf2107@columbia.edu>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2020-10-10 17:01:28 -04:00
William Falcon 5ce9fc6bb3
ref: decouple apex second attemp part 7/n (#4061)
* ref: decouple apex second attemp part 7/n

* ref: decouple apex second attemp part 7/n

* ref: decouple apex second attemp part 7/n
2020-10-10 16:44:15 -04:00
William Falcon dca86c310e
ref: decouple apex second attemp part 6/n (#4060)
* ref: decouple apex second attemp part 6/n

* ref: decouple apex second attemp part 6/n
2020-10-10 15:28:25 -04:00
William Falcon d1bbb449a3
ref: decouple apex second attemp part 5/n (#4058) 2020-10-10 14:35:25 -04:00
Ananya Harsh Jha ae8772490d
classification metrics (#4043)
* docs + precision + recall + f_beta + refactor

Co-authored-by: Teddy Koker <teddy.koker@gmail.com>

* rebase

Co-authored-by: Teddy Koker <teddy.koker@gmail.com>

* fixes

Co-authored-by: Teddy Koker <teddy.koker@gmail.com>

* added missing file

* docs

* docs

* extra import

Co-authored-by: Teddy Koker <teddy.koker@gmail.com>
2020-10-10 12:31:00 -04:00
Rohit Gupta bdbf846029
Fix to print scaler value in progress bar (#4053)
* Fix to print scaler value in progress bar

* chlog

* Fix to print scaler value in progress bar

* Fix to print scaler value in progress bar
2020-10-10 12:20:11 -04:00
William Falcon ce2edf1192
ref: decouple apex second attemp part 4/n (#4056)
* ref: decouple apex second attemp part 4/n

* ref: decouple apex second attemp part 4/n

* Update lightning.py

* ref: decouple apex second attemp part 4/n
2020-10-10 12:19:22 -04:00
William Falcon 3a6717ca34
ref: decouple apex second attemp part 3/n (#4055) 2020-10-10 11:05:57 -04:00
William Falcon 7285613974
ref: decouple apex second attemp part 2/n (#4054)
* ref: decouple apex second attemp part 2/n

* ref: decouple apex second attemp part 2/n
2020-10-10 10:24:20 -04:00
William Falcon e854d3744c
ref: decouple apex second attemp part 1/n (#4052) 2020-10-10 09:53:02 -04:00
William Falcon 5b261a230e
enable passing in custom accelerators (#4050)
* enable custom accelerators

* ref: finish decoupling apex, LM and backward

* ref: finish decoupling apex, LM and backward

* ref: finish decoupling apex, LM and backward
2020-10-10 09:21:08 -04:00
William Falcon 2b255a3df4
ref: enable custom clusters (1/n) (#4048)
* enable cluster plugins

* enable cluster plugins + test backend choices

* enable cluster plugins + test backend choices

* enable cluster plugins + test backend choices

* enable cluster plugins + test backend choices

* enable cluster plugins + test backend choices

* enable cluster plugins + test backend choices
2020-10-10 08:09:29 -04:00
Nathan Raw efec8c7c88
add trainer flags nb (#4018)
*  add trainer flags nb

* fix typos

* fix typos

Co-authored-by: edenlightning <66261195+edenlightning@users.noreply.github.com>
2020-10-10 06:10:47 -04:00
William Falcon 0c42aa03fd
enables plugins (#4041)
* plugin hardware

* plugin hardware

* plugin hardware
2020-10-09 22:03:46 -04:00
William Falcon 05e0b4e5a1
Revert "Remove limitation of batch scaler (#4006)" (#4040)
This reverts commit 7e756ca11f.
2020-10-09 21:03:23 -04:00
Jirka Borovec e4237963d7
hotfix Drone install Horovod (#4038)
* hotfix Drone install Horovod

* notes
2020-10-09 20:46:27 -04:00
Jirka Borovec baf4f35027
add parsing OS env vars (#4022)
* add parsing OS env vars

* fix env

* Apply suggestions from code review

* overwrite init

* Apply suggestions from code review
2020-10-09 19:34:09 -04:00
Nicki Skafte 8a3c800641
Update explained variance metric (#4024)
* update metrics

* pep8

* Update pytorch_lightning/metrics/regression/explained_variance.py

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* add typing for testing utils

* change from assert to raise exception

* add test for raised shape error

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-10-09 19:23:12 -04:00
Jirka Borovec 1b4209bc35
swap example (#4029) 2020-10-09 19:11:54 -04:00
Paul Baumstark 9e91976323
Removed broken link (#4031)
module index link in documentation is broken.

Co-authored-by: pbmstrk <pbmstrk@users.noreply.github.com>
2020-10-09 19:10:48 -04:00
edenlightning 627cae9483
[Docs] checkpoints (#4034)
* Update __init__.py

* Update weights_loading.rst

* docs for checkpoints
2020-10-09 19:10:25 -04:00
edenlightning b33655982d
Update README.md (#4036) 2020-10-09 19:09:02 -04:00
ananthsub ba2b532ee9
[rfc] Make Result.unpack_batch_size a static method (#4019)
This could be a useful utility elsewhere in lightning for calculating the batch size
2020-10-09 19:05:45 -04:00
Jeff Yang d41ffafa87
add on_train_batch_start/end, chpt hooks in hooks docs (#4023) 2020-10-09 16:00:03 -04:00
Nicki Skafte 7e756ca11f
Remove limitation of batch scaler (#4006)
* working code

* add tests

* fix scaling

* move patch dataloader to utils

* renaming

* fix tests

* add changelog

* update docs

* pep8
2020-10-09 14:53:01 -04:00
Paul Baumstark 01f131665a
Minor edit in README (#3959)
Align the number of steps in README to the documentation

Update README

Fix grammar

Update README.md

typos

Co-authored-by: pbmstrk <pbmstrk@users.noreply.github.com>
2020-10-09 10:43:31 +02:00
s-rog 1f73c01ed2
add s-rog to core (#4017) 2020-10-09 13:41:57 +05:30
Hervé BREDIN a8573b0052
Fixes #3993 (#3996) 2020-10-08 23:02:23 -04:00
Teddy Koker b961e12f50
Implement Explained Variance Metric + metric fix (#4013)
* metric fix, explained variance

* one more test

* pep8

* remove comment

* fix add_state condition

Co-authored-by: ananyahjha93 <ananya@pytorchlightning.ai>
2020-10-08 22:58:33 -04:00
Teddy Koker 7db26a913b
Add Metric <-> Lightning Module integration tests (#4008)
* lightning module metric tests

* whitespace

* pep8
2020-10-08 22:58:17 -04:00
William Falcon bfdea3ea28
Multi opts tests and clarification (#4016)
* ref: clean up opts docs

* ref: clean up opts docs
2020-10-08 22:55:59 -04:00
Nicki Skafte 342fc7d506
[skip ci] metric docs (#3992)
* update metric docs

* doc fix

* add assert desc

* update based on suggestion
2020-10-08 21:26:39 -04:00
Jirka Borovec 9fb5f4340e
try update horovod (#4004) 2020-10-08 18:44:35 -04:00
William Falcon e68b949772
docs (#4003) 2020-10-08 15:54:52 -04:00
Jeff Yang 6e7f51cbfa
add myself (#3999) 2020-10-08 20:19:42 +02:00
William Falcon 53e056612c
Update __init__.py 2020-10-08 10:21:33 -04:00
Nrupatunga fcfa587492
Bugfix/update trainer properties (#3975)
* make current_epoch and global_step to be same as trainer, after model restore.

* remove assignment here

* test

* minor modification

* merge with parent's master

* [bug-fix]: update trainer properties

* minor comment fix

* minor comment fix

* reset train loader in `on_train_epoch_start` hook

* makes sure the changes work

* minor chane

* update changelog

* adding unit test for reload_dataloaders_every_epoch arg

* modified changelog, to add PR number

* revert imports

* changes to unit test

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-10-08 10:20:55 -04:00
Adrian Tofting e513fc6919
Change reference to depricated result object to self (#3989) 2020-10-08 10:00:04 -04:00
William Falcon cf04bc53a7
Update README.md 2020-10-08 09:20:32 -04:00
William Falcon 98399044cc
Update README.md 2020-10-08 09:19:51 -04:00
William Falcon 298c884390
Update README.md 2020-10-08 09:19:14 -04:00
edenlightning 6e5e385188
Update README.md (#3986) 2020-10-08 09:17:51 -04:00
William Falcon 933ca4a0ad
Update README.md 2020-10-08 07:29:57 -04:00
William Falcon 19a7f1c5fd
Update README.md 2020-10-08 07:28:32 -04:00
William Falcon c7cd989789
Update __init__.py 2020-10-08 07:27:43 -04:00
William Falcon 89973b6f44
Update README.md 2020-10-08 07:27:13 -04:00
William Falcon 28733fdd90
Update README.md 2020-10-08 07:21:10 -04:00
William Falcon c13ef21cbb
Update README.md 2020-10-08 07:20:43 -04:00