Commit Graph

630 Commits

Author SHA1 Message Date
William Falcon 1dbc6ffbc1
added templates (#4077)
* docs

* docs
2020-10-11 09:35:51 -04:00
William Falcon 3227ba89f3
docs clean up (#4068)
* docs

* docs
2020-10-10 22:48:50 -04:00
William Falcon a4b9221fc5
ref: decouple apex second attemp part n/n (#4065)
* ref: decouple apex second attemp part n/n

* ref: decouple apex second attemp part n/n
2020-10-10 22:04:50 -04:00
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
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 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
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
William Falcon 05e0b4e5a1
Revert "Remove limitation of batch scaler (#4006)" (#4040)
This reverts commit 7e756ca11f.
2020-10-09 21:03:23 -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
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
s-rog 1f73c01ed2
add s-rog to core (#4017) 2020-10-09 13:41:57 +05:30
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
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
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 dcaa89b468 docs 2020-10-08 07:15:12 -04:00
William Falcon 31c0ef6661 docs 2020-10-08 07:15:07 -04:00
William Falcon db7997c38c docs 2020-10-08 07:05:26 -04:00
Alexander a0200e6a69
Fix valid accuracy computed with train accuracy in docs (#3983) 2020-10-08 06:40:42 -04:00
Jirka Borovec 0719dd7d68
remove deprecated model hooks (#3980) 2020-10-08 06:34:23 -04:00
edenlightning 6dfa748ce3
Add video tutorials to docs (#3977)
* videos in trainer api

* videos in docs

* videos in docs

* videos in trainer api

* videos in docs

* videos in docs

* videos in docs

* videos in docs

* Update new-project.rst

* docs

* Update new-project.rst
2020-10-08 05:49:56 -04:00
Ananya Harsh Jha 6f1a2ce517
integrate metrics API with self.log (#3961)
* metrics integration into self.log

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

* ddp and regualr test for self.log + metrics

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

* pep8

* fix log tests

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

* docs

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

Co-authored-by: Teddy Koker <teddy.koker@gmail.com>
2020-10-07 22:54:32 -04:00
William Falcon 048a816be3
added tests for the training epoch end (#3967) 2020-10-07 22:27:36 -04:00
William Falcon 4c0d063c86
outputs in __batch_end hooks (#3966)
* train_batch_end outputs

* added tests for the output hooks
2020-10-07 21:48:38 -04:00
William Falcon 65b6a6a497
0.10.0 (#3965) 2020-10-07 20:41:56 -04:00
Jeff Yang 9be26d0c1b
Use `viewcode` extension instead of `linkcode` (#3503)
* use viewcode instead of linkcode

* use viewcode instead of linkcode

* Apply suggestions from code review

Co-authored-by: William Falcon <waf2107@columbia.edu>

* Apply suggestions from code review

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-10-07 23:55:24 +02:00
irene50288 f9a9a5f298
[CI SKIP] Sequential data & TPU support docs fix (#3956)
* sequential data docs fix

* TPU support docs fix

Co-authored-by: Iryna Koroliuk <irynakoroliuk@Irynas-MacBook-Pro.local>
2020-10-07 16:11:03 -04:00
Caroline Adams 3aef67c8dc
Documentation Fixes [skip ci] (#3955)
* Documentation Fixes

Just did some scanning for errors. Fixed indentation spelling, and grammar changes.

* Apply suggestions from code review

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2020-10-07 16:10:41 -04:00
Eric Harper 0a3aa8b6ce
[ci skip] NeMo Documentation for PyTorch Lightning (#3707)
* initial commit

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* updated

Signed-off-by: ericharper <complex451@gmail.com>

* doc clean up

Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-10-07 15:26:21 -04:00
Justus Schock bd5621dc79
Add functional metric docs [skip ci] (#3946)
* add functional docs

* drop

* format

Co-authored-by: Jirka Borovec <jirka@pytorchlightning.ai>
2020-10-07 21:12:15 +02:00
Jirka Borovec fef9b7777f
missing logs [to be merged before release][skip ci] (#3131)
* missing logs

* chlog

* add chlo to docs

* Apply suggestions from code review

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* chlog

* docs

* log

* metrics

* logs

* log

* format

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-10-07 14:51:35 -04:00
Juan Pablo Carzolio 186fc130cf
Minor formatting & grammar fixes in docs [CI SKIP] (#3952)
* Minor formatting & grammar fixes in docs

* Few more tentative doc fixes
2020-10-07 14:25:52 -04:00
irene50288 0c4b22e28a
LightingDataModule doc fix (#3948)
Co-authored-by: Iryna Koroliuk <irynakoroliuk@Irynas-MacBook-Pro.local>
2020-10-07 13:54:21 -04:00
edenlightning 27f536b2ce
[CI SKIP] Fix early stop docs (#3940)
* Update early_stopping.rst

* Update __init__.py

* Update new-project.rst

* Update early_stopping.rst

* Update __init__.py

* Update early_stopping.rst

* Update __init__.py

Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-10-07 13:01:50 -04:00
edenlightning 7c36c4a413
remove logging from callback (#3939) 2020-10-07 10:42:40 -04:00
William Falcon 9c415d2c71
moves configure ddp to each backend (#3924)
* moves configure ddp to each backend

* moves configure ddp to each backend

* moves configure ddp to each backend

* added torch manual seed in test_mean_error

* test for complicated batch structure

* test for complicated batch structure

* test for complicated batch structure

Co-authored-by: ananyahjha93 <ananya@pytorchlightning.ai>
2020-10-07 00:50:16 -04:00
Adrian Wälchli d65b037a40
Mocking Loggers Part 5/5 (final) (#3926)
* base

* add xfail

* new test

* import

* missing import

* xfail if not installed


include mkpatch


fix test

* mock comet


comet mocks


fix test


remove dep


undo merge duplication

* line

* line

* convert doctest

* doctest

* docs

* prune Results usage in notebooks (#3911)

* notebooks

* notebooks

* revamp entire metrics (#3868)

* removed metric

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

* added new metrics

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

* pep8

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

* pep8

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

* docs

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

* docs

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

* win ddp tests skip

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

* win ddp tests skip

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

* win ddp tests skip

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

* win ddp tests skip

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

* reset in compute, cache compute

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

* reduce_ops handling

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

* sync -> sync_dist, type annotations

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

* wip docs

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

* mean squared error

* docstring

* added mean ___ error metrics

* added mean ___ error metrics

* seperated files

* accuracy doctest

* gpu fix

* remove unnecessary mixin

* metric and accuracy docstring

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

* metric docs

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

* pep8, changelog

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

* refactor dist utils, pep8

* refactor dist utils, pep8

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

* Callback docs with autosummary (#3908)

* callback docs with autosummary

* do not show private methods

* callback base docstring

* skip some docker builds (temporally pass) (#3913)

* skip some docker builds

* todos

* skip

* use badges only with push (#3914)

* testtube

* mock test tube

* mock mlflow

* remove mlflow

* clean up

* test

* test

* test

* test

* test

* test

* code blocks

* remove import

* codeblock

* logger

* wandb causes stall

Co-authored-by: William Falcon <waf2107@columbia.edu>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Ananya Harsh Jha <ananya@pytorchlightning.ai>
Co-authored-by: Teddy Koker <teddy.koker@gmail.com>
Co-authored-by: Jeff Yang <ydcjeff@outlook.com>
2020-10-06 23:49:06 -04:00
William Falcon e3007ffe0c
moves sync bn to each backend (#3925) 2020-10-06 22:42:33 -04:00
William Falcon d71ed277d4
moves init apex from LM to apex connector (#3923) 2020-10-06 21:31:56 -04:00
edenlightning 335bb75356
update docs on logging (#3916)
* Update loggers.rst

* Update loggers.rst

* Update index.rst

* Create logging.rst

* Delete experiment_reporting.rst

* Delete experiment_logging.rst

* Update __init__.py
2020-10-06 18:53:39 -04:00
Jeff Yang fe5b943965
Callback docs with autosummary (#3908)
* callback docs with autosummary

* do not show private methods

* callback base docstring
2020-10-06 17:28:45 -04:00
Ananya Harsh Jha f76bc5254e
revamp entire metrics (#3868)
* removed metric

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

* added new metrics

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

* pep8

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

* pep8

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

* docs

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

* docs

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

* win ddp tests skip

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

* win ddp tests skip

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

* win ddp tests skip

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

* win ddp tests skip

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

* reset in compute, cache compute

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

* reduce_ops handling

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

* sync -> sync_dist, type annotations

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

* wip docs

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

* mean squared error

* docstring

* added mean ___ error metrics

* added mean ___ error metrics

* seperated files

* accuracy doctest

* gpu fix

* remove unnecessary mixin

* metric and accuracy docstring

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

* metric docs

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

* pep8, changelog

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

* refactor dist utils, pep8

* refactor dist utils, pep8

Co-authored-by: Teddy Koker <teddy.koker@gmail.com>
2020-10-06 17:03:24 -04:00
Nicki Skafte f745c4a773
doc update (#3894) 2020-10-06 09:13:29 -04:00
edenlightning 2119184801
Fix docs for auto_lr_find (#3883)
* Fix docs for auto_lr_find

* change testcode to codeblock

we are not showing a complete example here
2020-10-05 22:28:38 -04:00
Paul Baumstark e2437ebf3f
Update lightning_module.rst (#3854)
`*_epoch_out` methods expects a return of None.
2020-10-04 23:34:27 -04:00
William Falcon 093535d433
ref: adding compute environments (1/n) (#3837)
* ref: adding compute environments (1/n)

* ref: adding compute environments (1/n)

* ref: adding compute environments (1/n)
2020-10-04 07:31:19 -04:00
Daniel Li a3503ce3fd
Explicitly point out where should we set the random seed (#3839)
* Explicitly point out where should we set the random seed

* Update docs/source/multi_gpu.rst

Co-authored-by: Jeff Yang <ydcjeff@outlook.com>

Co-authored-by: Qinru Li <q4li@eng.ucsd.edu>
Co-authored-by: William Falcon <waf2107@columbia.edu>
Co-authored-by: Jeff Yang <ydcjeff@outlook.com>
2020-10-04 07:30:45 -04:00