Commit Graph

3211 Commits

Author SHA1 Message Date
Jeff Yang 05e5f03fd7
Enable PyTorch 1.7 in conda CI (#3541)
* enable pt 1.7

* readme

* nightly diff version testing, will delete later

* nightly diff version testing, will delete later

* back to normal [ci skip]

* use __ignored_properties__

* define __ignored_properties__ in respective modules

* change log

* formatting

Co-authored-by: Jirka Borovec <jirka@pytorchlightning.ai>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-09-25 16:20:15 +02:00
Jirka Borovec 7fd8ac6671
update stale config (#3509)
* update stale conf

* labels
2020-09-25 16:00:51 +02:00
Adrian Wälchli 3ff5327e83
Mocking loggers (part 1, wandb) (#3596)
* mocking for wandb

* remove wandb import in amp test

* mock loggers in sphinx

* check tests

* Update extra.txt

* setup

* dev

* min

* revert

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Jirka Borovec <jirka@pytorchlightning.ai>
2020-09-25 16:00:02 +02:00
Jirka Borovec 0784cf3ab4
dockers nightly (#3615)
* dockers nightly

* typo

* Apply suggestions from code review

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

Co-authored-by: Jeff Yang <ydcjeff@outlook.com>
2020-09-25 15:58:01 +02:00
Carlos Mocholí e70aea7642
Allow ModelCheckpoint monitor to be None (#3633)
* Fix ModelCheckpoint period

* Test for less epochs
2020-09-25 15:54:04 +02:00
Carlos Mocholí ed12e422a4
Fix incorrect "Saving latest checkpoint" warning (#3588)
* Fix incorrect "Saving latest checkpoint" warning

* Replace warning with info. Run PyCharm's optimize imports

* Remove unused class variable. Refactor logic. Improve test

* Fix De Morgan's
2020-09-25 14:18:06 +02:00
Jirka Borovec a25cb300d8
fix building nightly (#3642) 2020-09-25 08:15:06 -04:00
Antoine Broyelle 17c8c95fbc
Wrap prepare_data and setup only once inside DataModule (#3654)
Fix #3652
2020-09-25 07:09:50 -04:00
Carlos Mocholí 908382f196
Split GPUStatsMonitor function (#3644)
* Split function

* Add docstrings

* Add typing annotations

* Minor refactor

* Make static to add a test
2020-09-25 07:30:30 +02:00
William Falcon b5f0af182d
Update __init__.py 2020-09-24 21:55:59 -04:00
Jeff Yang a2120130ed
Lightning docker image based on base-cuda (#3637)
* use lightning CI docker

* exclude py3.8 and torch1.3

* torch 1.7

* mergify

* Apply suggestions from code review

Co-authored-by: Jirka Borovec <jirka@pytorchlightning.ai>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-09-24 23:14:15 +02:00
JackCaster 618eb913da
Update docstring for early_stop_callback default Trainer argument (#3641) 2020-09-24 22:15:01 +02:00
Jirka Borovec aa52c930f4
test examples (#3643)
* test examples

* testing

* testing

* typo

* req

* exception

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

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2020-09-24 17:33:11 +02:00
William Falcon c94c0a2b1e
fix examples (#3631)
* fix examples

* fix examples
2020-09-23 17:58:03 -04:00
ananthsub c61e1e697d
Add stronger typing to gradient accumulation scheduler callback (#3558)
* Update gradient_accumulation_scheduler.py

add types for gradient accumulation scheduler callback

* Update gradient_accumulation_scheduler.py
2020-09-23 20:22:10 +02:00
Adrian Wälchli 3affa0e49a
use tmpdir in tests when writing predictions to disk (#3561)
* save to tmpdir

* path
2020-09-23 07:44:15 -04:00
William Falcon 2db86381c6
Update README.md 2020-09-23 07:39:46 -04:00
William Falcon c0e26b8766
fix examples (#3623)
* fix examples

* fix examples
2020-09-23 07:36:51 -04:00
Jamie Morton a2574d7dd2
Adding clarifying documentation on the usage of second_order_closure (#3551)
* Adding clarifying documentation on the usage of second_order_closure

* oops typo

* making functions more sane

* fixing spacing issues - I think

* Apply suggestions from code review

* suggestions

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2020-09-23 10:43:10 +02:00
s-rog 49767e424f
fix on_fit_start (#3616)
* init

* fix call_hook args
2020-09-23 10:38:33 +02:00
William Falcon 12184854f9
Update README.md 2020-09-23 00:21:53 -04:00
William Falcon 031274c25d
fix dp issues + update examples and test examples (#3618)
* fix dp

* fix dp

* fix dp

* fix dp

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples

* fix examples
2020-09-23 00:19:46 -04:00
Jirka Borovec 37a59be21b
build more docker configs (#3533)
* update build cases

* list

* matrix

* matrix

* builds

* docker

* -j1

* -q

* -q

* sep

* docker

* docker

* mergify

* -j1

* -j1

* horovod

* copy
2020-09-23 01:41:35 +02:00
William Falcon c591013708
enable any logged metric to be accessible in callbacks (#3598)
* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* clarify forward

* clarify forward

* clarify forward

* clarify forward
2020-09-22 18:00:23 -04:00
Adrian Wälchli d2a3d6aa8e
update ambiguous info (#3613) 2020-09-22 16:57:01 -04:00
edenlightning b4c553b9e6
update readme with new notebooks (#3608) 2020-09-22 20:27:52 +02:00
William Falcon f53e739637
clarify forward (#3611)
* clarify forward

* clarify forward

* clarify forward

* clarify forward
2020-09-22 14:00:02 -04:00
William Falcon 2a10cfaf3d
clarify forward (#3609)
* clarify forward

* clarify forward
2020-09-22 13:37:11 -04:00
Nathan Raw ba01ec9dbf
Edited using Colaboratory (#3601) 2020-09-22 13:15:25 -04:00
Adrian Wälchli 0b222fc6cf
fix warning (#3538) 2020-09-22 09:46:00 -04:00
Aditya Oke 96ccde9d7a
Small documentation fix (#3589)
* fixes resnet

* Fixes formatting and resnet
2020-09-22 09:45:01 -04:00
Nicki Skafte 88e6b29bba
faster tests (#3604) 2020-09-22 07:37:34 -04:00
edenlightning 02ce7e86a6
Docs- update lightning 2 steps guide (#3602)
* new-project

* Update new-project.rst

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

* enable any logged or written metric to be accessible in callbacks

Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-09-22 06:00:54 -04:00
ananthsub d68e1bcc63
Add torch log API usage for lightning module instantiation (#3603)
* Split out changes from #3563 to make that PR easier to review. This formats the file according to the Black formatter

* support checkpoint hooks for datamodule

refactor on_{save/load}_checkpoint to a separate hook class that both the lightning module and data module inherit
add spots in callback connector to call new datamodule hooks if available

* hooks formatting

* Update hooks.py

* Update hooks.py

* Update checkpoint_connector.py

* Update lightning.py

* update based on upstream/master

checkout upstream/master

* Update lightning.py

* Update lightning.py

Co-authored-by: William Falcon <waf2107@columbia.edu>
2020-09-22 05:05:33 -04:00
Carlos Mocholí 1223cdbaa1
Add missing line. Add a test (#3594) 2020-09-21 22:17:51 -04:00
Carlos Mocholí 402b5fc346
Update gitignore (#3595)
* Update gitignore

* Update .gitignore

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-09-21 22:14:39 -04:00
Nathan Raw f9cc8cb7fb
fix notebooks/README.md colab links (#3599) 2020-09-21 22:05:33 -04:00
Nathan Raw 6685b49db3
add lightning colab tutorial notebooks (#3591)
*  add lightning colab tutorial notebooks

* Update notebooks/01-mnist-hello-world.ipynb

* Update notebooks/03-basic-gan.ipynb

* Update notebooks/04-transformers-text-classification.ipynb

* Update notebooks/02-datamodules.ipynb

* add jupytext

* 🐛 comment ipynb related things in conf.py

* 🔥 remove .py files

Co-authored-by: Jirka Borovec <jirka@pytorchlightning.ai>
2020-09-21 19:31:59 -06:00
William Falcon 674d33061f
Update README.md 2020-09-21 17:06:40 -04:00
William Falcon 3bfd2edb08
Update README.md 2020-09-21 17:04:05 -04:00
William Falcon 8238f687c6
Update README.md 2020-09-21 16:45:25 -04:00
William Falcon 3cfa448e88
Update README.md 2020-09-21 16:44:44 -04:00
William Falcon 6aad8adfa3
Update README.md 2020-09-21 16:42:38 -04:00
William Falcon 6309a0dbb8
Update README.md 2020-09-21 16:37:26 -04:00
William Falcon 1957de371a
Update README.md 2020-09-21 16:36:22 -04:00
William Falcon 90b9194ade
Update README.md 2020-09-21 16:34:55 -04:00
William Falcon 726b589ecb
Update README.md 2020-09-21 16:33:29 -04:00
William Falcon 35cc3b2269
Update README.md 2020-09-21 16:31:54 -04:00
William Falcon ae5e28f9d9
Update README.md 2020-09-21 16:29:44 -04:00
William Falcon 656972cd37
Update README.md 2020-09-21 11:25:13 -04:00