Commit Graph

1320 Commits

Author SHA1 Message Date
Adrian Wälchli b08259d536
Add `XLAEnvironment` plugin (#11330)
* add xla environment class
* add api reference
* integrate
* use xenv
* remove properties

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kaushik B <kaushikbokka@gmail.com>
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-06-22 10:57:50 +02:00
Mauricio Villegas 0ae9627bf8
Deprecate CLI registries and update documentation (#13221)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-06-21 17:12:04 +02:00
Carlos Mocholí ad87d2cad0
Future 5/n: Move requirements (#13306)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-06-21 17:11:33 +02:00
Rohit Gupta e21490b9bb
Update old PL links (#13349) 2022-06-21 16:38:04 +02:00
Jerome Anand cd44512ab9
Added multi-optimizer tests with hpu (#13217)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-21 09:07:31 +02:00
Adrian Wälchli 602ee65f74
Docs for LAI (#13312)
* edit

* docs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fixing

* clean generated

* ignore

* pre-commit

* ci

* ci

Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-16 23:07:30 -04:00
Jirka Borovec 8ceab223c0
Fix repository links (#13304)
* GH org rename Lightning-AI

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* repo name

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-15 19:33:43 -04:00
Jirka Borovec b58577fd4d
Future 3/n: docs adjustment (#13299)
* docs: rename source >> source-PL

* docs: fix typing

* readthedocs

* update paths & codeowners

* source-pytorch

* ci

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-06-15 10:54:53 -04:00
Jirka Borovec 9cc714cdd1
Future 2/n: stand-alone examples (#13294)
* move: pl_examples >> src/

* convert pl_examples package to plain examples

* update CI for examples

* ci

* missing

* install
2022-06-15 08:53:51 -04:00
Jirka Borovec 759e89df21
Future 1/n: package in src/ folder (#13293)
* move: pytorch_lightning >> src/

* update setup & install

* update CI

* ci

* update CI for examples

* Self review

* mypy

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>

* ci

* make

* docs

* typo

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* ci: gpu

* .

* hpu

* typing

* docs

* tpu

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-14 20:54:55 -04:00
Ekagra Ranjan 5e4b712062
Fix deploy production intermediate doc (#13204) 2022-06-14 19:18:38 +02:00
Carlos Mocholí a8a6a5b721 Rename `loops/base.py` to `loops/loop.py` (#13043) 2022-06-02 21:23:14 +02:00
Patrick Haller 5a5b616110
Explicitly mention disabling validation in trainer docs (#13148)
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-06-02 16:49:40 +00:00
Mauricio Villegas 79de6a95fb
LightningCLI natively support callback list append (#13129)
* LightningCLI natively support callback list append.

* Update jsonargparse version

* Handle case where callbacks is not a list.

* Fix PEP8 issue.

* Handle mypy false positive

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-06-02 10:00:02 +09:00
Jack Morris 4f81d6f794
Fix typo in cluster_advanced.rst (#13173) 2022-06-01 02:53:37 +00:00
Sebastian Raschka 2876ab0ac3
Updates docs to clarify train_dataloader usage by batch_size_finder (#13171)
* batchfinder clarification

* fix according to precommit hook
2022-06-01 00:22:31 +00:00
Nikhil Shenoy f4f14bb5d8
Removed `weights_summary` argument from Trainer (#13070)
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-31 20:31:39 +00:00
Carlos Mocholí 01ebb1f2f5
Avoid changing the current `cudnn.benchmark` value (#13154) 2022-05-31 19:22:19 +00:00
Nikhil Shenoy dd47518322
Removed `flush_logs_every_n_steps` argument from Trainer (#13074)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-25 12:47:15 +02:00
Jinyeong chae 29fe1dad15
Fix import statement in tutorial (#13130)
fix tutorial

Co-authored-by: Jiny491 <jiny491@gmail.com>
2022-05-24 19:39:43 +00:00
shantam-8 ddff6c1c7e Rename callbacks/base.py to callbacks/callback.py (#13031) 2022-05-19 13:25:25 +02:00
Carlos Mocholí 42f27c2a34
Update docs about `reduce_fx` (#13101) 2022-05-19 07:24:09 -04:00
rohitgr7 a68fe66705 Update core/lightning.py to core/module.py (#12740) 2022-05-18 08:03:55 +05:30
Nikhil Shenoy 830da2c4a4
Removed `process_position` argument from Trainer Class (#13071) 2022-05-16 13:05:50 +02:00
Igor Gadelha db5e9ce2cc
Fix typo ddp_spawn_sharded -> ddp_sharded_spawn (#13062) 2022-05-13 13:32:18 +02:00
Jirka Borovec fec9a09672
add freeze for development and full range for install (#12994)
* freeze versions

* unfreeze

* dependabot

* Apply suggestions from code review

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>

* fix all req

* ...

* use base

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix refs

* Apply suggestions from code review

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>

* Apply suggestions from code review

* dockers

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-05-12 09:14:18 -04:00
wangherr 01df4543f6
Fix docs' TensorBoardLogger instantiation (#13038)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-11 23:02:57 -04:00
Geo Jolly 5ab9d53fc1
Remove the deprecated `on_{train,val,test,predict}_dataloader` hooks (#13033)
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-11 23:02:39 -04:00
Andrei Alexandru 80b332cddc
Fix typo: "optimizeres" -> "optimizers" (#13030) 2022-05-11 10:42:59 -04:00
Sean Naren 1ca7330e17
Docs for Collaborative Training (#12996)
* Add documentation for collaborative_training

* Add strategies

* Fix formatting

* use accelerator API

* Apply suggestions from code review

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>

* Fix link

* Try to fix label

* Apply suggestions from code review

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

* Fix sequence

* Apply suggestions from code review

Co-authored-by: RobertLaurella <99420295+RobertLaurella@users.noreply.github.com>

* Address reviews

* Address code reviews

* Update docs/source/strategies/collaborative_training_expert.rst

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>

* Update docs/source/strategies/collaborative_training_intermediate.rst

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: RobertLaurella <99420295+RobertLaurella@users.noreply.github.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-05-11 09:31:33 -04:00
Nikhil Shenoy b7959e3f51
Remove deprecated `checkpoint_callback` flag in Trainer (#13027)
* Removed lines pertinent to checkpoint_callback

* removed checkpoint callback flag

* Updated Change Log

* Removed deprecation test for checkpoint_callback argument

* updated line in the simple_classif_training.py

* Updated docs

* updated simple_classif_training.py removing enable_checkpointing
2022-05-11 08:01:00 -04:00
Eric Wiener 3f78c4ca7a
Track CPU stats with DeviceStatsMonitor (#11795)
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kaushik B <kaushikbokka@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-10 10:57:38 +00:00
Jerome Anand fb40cbce2e
HPU & TPU doesn't support torch.inference_mode (#13014)
* HPU doesn't support torch.inference_mode

Signed-off-by: Jerome <janand@habana.ai>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update doc and changelog

Signed-off-by: Jerome <janand@habana.ai>

* Update pytorch_lightning/trainer/trainer.py

* Revert back to HPU available

* Address reviews

Signed-off-by: Jerome <janand@habana.ai>

* Update pytorch_lightning/trainer/trainer.py

* Update pytorch_lightning/trainer/trainer.py

* Add TPU accelerator condition

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Kaushik B <kaushikbokka@gmail.com>
2022-05-09 10:27:09 -04:00
otaj e2ea9f045f
Add support for reloading the last checkpoint saved by passing `ckpt_path="last"` (#12816)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-05 08:32:58 +00:00
Kaushik B 5bb265e18b
Update Strategy doc (#12950)
* Update Strategy doc

* Update strategy references
2022-05-04 12:05:18 -04:00
Adrian Wälchli 5641836b96
Callback collection through entry points (#12739)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
2022-05-03 16:54:41 +00:00
Rohit Gupta cd01856ffc
Add `LightningDataModule.load_from_checkpoint` to load datamodules directly from checkpoint (#12550)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: otaj <ota@grid.ai>
2022-05-03 12:27:06 +00:00
Carlos Mocholí 917918ade3
Remove duplicate boring classes (#12951) 2022-05-02 17:42:12 +02:00
Na Young Jun 0e4c4424fd
fix enumerate usage (#12949) 2022-05-02 15:29:56 +02:00
Na Young Jun 0f418a8640
Add missing `super().__init__()` calls (#12948) 2022-05-02 15:20:02 +02:00
Kaushik B 0fe2ae74e9
Remove reference to genindex and search in index.rst (#12919) 2022-04-28 10:48:31 -04:00
Kaushik B 7271095b7b
Merge pull request #12920 from PyTorchLightning/rename/lightning_extension
Update docs conf with renamed lightning extension
2022-04-28 10:48:09 -04:00
Fork my Git 0b87bfc65c
Update the link to jsonargparse's link_arguments (#12898) 2022-04-28 04:27:27 +09:00
Kaushik B a95bbe6953
Update TPU Accelerator docs (#12850)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-04-27 22:38:26 +05:30
William Falcon c781a9ea59
clean up side menu (#12892)
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: Kaushik B <kaushikbokka@gmail.com>
2022-04-27 22:38:13 +05:30
Kaushik B f541481da6
Fix reference to basic level doc (#12848) 2022-04-26 11:59:29 -04:00
Carlos Mocholí 2a60161d49
Clarify `fast_dev_run` docs (#12751)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-04-25 16:41:23 +00:00
stanbiryukov 8034919c44
Remove deprecated `TestTubeLogger` (#12859)
* remove deprecated test_tube logger

* remove testube from logger __init__

* remove relevant testtube tests

* update CHANGELOG with removal of deprecated `TestTubeLogger`
2022-04-24 20:05:48 +02:00
Adrian Wälchli 63ad92efda
Fix formatting issue in Trainer docs (#12777) 2022-04-22 11:45:20 +01:00
William Falcon 9d2773ff50
docs refactor 4/n (fix broken links) (#12825)
* docs refactor 4/n (fix broken links)

* docs refactor 4/n (fix broken links)

* docs refactor 4/n (fix broken links)
2022-04-21 08:03:21 -04:00