Commit Graph

7123 Commits

Author SHA1 Message Date
Jirka Borovec 3daa244458
lightning entry point (#13490) 2022-07-01 14:12:52 -04:00
Cyprien Ricque f65aa74719
fix mypy typing errors in pytorch_lightning.__setup__.py (#13472)
Fix typing in _load_py_module function
2022-07-01 08:36:33 -04:00
Adrian Wälchli a80354e3ae
Move deepspeed summary test to correct folder (#13478) 2022-07-01 08:47:04 +00:00
Adrian Wälchli 84d612da10
Remove redundant shebang from source files (#13479) 2022-07-01 09:55:50 +02:00
Jirka Borovec 0b265114ed
ci: drop false download artifact (#13473) 2022-07-01 00:02:57 -04:00
Mansy 2ea35182e0
Add lightning app examples (#13456)
* add lightning app examples

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

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

* fix CI

* rm init

* restucture app examples

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

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

* img

Co-authored-by: mansy <mansy@lightning.ai>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-06-30 16:45:15 -04:00
Sherin Thomas b90525b5b5
adding LAI test (#13321)
* tests

* ci

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

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

* update tests

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

for more information, see https://pre-commit.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>
Co-authored-by: mansy <mansy@lightning.ai>
2022-06-30 16:43:04 -04:00
Gautier Dagan c29deec889
fix mypy typing errors in lightning/trainer/optimizers.py (#13470)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-06-30 23:35:48 +05:30
Wang Ran (汪然) dd9fad42d5
More clear docs for `LightningDataModule` (#13464)
* More clear docs for `LightningDataModule`

More clear docs for the methods `add_argparse_args` and `from_argparse_args` of the class `LightningDataModule`.

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

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

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-30 13:32:53 -04:00
Wang Ran (汪然) 6ee88a1170
Typo in trainer/supporters.py (#13455)
Typo
2022-06-30 13:32:43 -04:00
Wang Ran (汪然) 9d7690ab33
Remove unused argument `model` (#13454)
Remove unused argument `model` in the doc of `verify_loop_configurations`.
2022-06-30 13:32:31 -04:00
Wang Ran (汪然) 68f71634ab
Typo in tuner/lr_finder.py (#13453)
Typo
2022-06-30 13:32:17 -04:00
Wang Ran (汪然) 8f93ea6e6a
Fix typo in `Loop.replace` docstring (#13452)
Typo
2022-06-30 13:32:02 -04:00
Wang Ran (汪然) 74a8f3a26c
Fix typo in `_block_parallel_sync_behavior` docstring (#13451)
Typo
2022-06-30 13:31:45 -04:00
Jirka Borovec b9b2d685eb
CI: abstract and make full pkg check (#13460)
* cut actions
* sequence
* ver
2022-06-30 13:02:57 +00:00
otaj 663d4c9c28
Add BaseModelCheckpoint class to inherit from (#13024)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-06-30 10:07:46 +00:00
Carlos Mocholí a743d96350
Simplify list extension (#13435) 2022-06-30 05:39:25 +00:00
S. Kumano e193b16ae5
fixed doc of timer (#13393)
* fix doc of timer
2022-06-30 02:27:06 +00:00
Ekagra Ranjan fe69a0196e
Add flash[image] dependency in Active learning example (#13442) 2022-06-30 02:03:43 +00:00
dependabot[bot] 0ed1fce3cf
Update wandb requirement from <0.12.19,>=0.8.21 to >=0.8.21,<0.12.20 in /requirements (#13415)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-06-29 22:02:07 -04:00
Wang Ran (汪然) b00d70d507
Remove unused docstring parameter `device` (#13448) 2022-06-30 01:57:03 +00:00
Siyuan Li e0a0d1e4f9
Set timeout for DDPSpawnStrategy (#13383)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-06-29 20:55:06 -04:00
Adrian Wälchli 1f85b6d6a4
Fix validation when accelerator is a string (#13417)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-06-29 22:42:34 +00:00
Rhys Goodall 8c4d640bfc
Convert validation loop config warnings to `PossibleUserWarning` (#13377)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-06-29 22:34:25 +00:00
dependabot[bot] eae92fd3ff
Update comet-ml requirement from <=3.28.2,>=3.1.12 to >=3.1.12,<3.31.6 in /requirements (#13414)
Update comet-ml requirement in /requirements

Updates the requirements on [comet-ml](https://www.comet.ml) to permit the latest version.

---
updated-dependencies:
- dependency-name: comet-ml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-29 19:55:47 +00:00
Adrian Wälchli 2dd332f9c7
Call `set_epoch` for distributed batch samplers (#13396)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-06-29 19:09:35 +00:00
Adrian Wälchli 43635a9a9b
Remove remaining old-style AcceleratorConnector properties (#13412)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-06-29 18:51:48 +00:00
Akihiro Nitta 55e347ba60
Unpin `protobuf` version and update `tensorboard` version (#13259)
* Remove protobuf from base req

* Update tensorboard version

Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-06-29 18:44:46 +00:00
Wang Ran (汪然) 82446d0260
Fix docstring typo (#13447) 2022-06-29 17:52:09 +00:00
Jirka Borovec 30dce29005
fix PL release docker (#13439) 2022-06-29 19:36:36 +02:00
Martino Sorbaro b332b66328
Modified python version check to accommodate for legacy version styles (#13420)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-06-29 19:34:23 +02:00
ananthsub 7fca126749
Update gather_all_tensors to handle tensors of different sizes (#12630)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2022-06-29 17:03:00 +00:00
Keiichi Kuroyanagi 1c05a9e597
[Docs] Fix README.md in lightning/examples/pl_basics (#13380)
* Change the path of the command execution folder from mnist_examples to convert_from_pt_to_pl

* Add a guide to add PYTHONPATH

* Fix Lightning Lite link

* Remove duplicate

* Add note

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-06-30 00:18:07 +09:00
Adrian Wälchli ddbf95516b
Remove support for DDP2 strategy (#12705)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-06-29 15:06:51 +00:00
Sean Naren f145acd2a3
Add model summary when using DeepSpeed Stage 3 (#13427) 2022-06-29 14:49:34 +00:00
Jirka Borovec b137ef7134
CI: fix requirements freeze (#13441)
* allow freeze

* ci

* typo

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

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

* ipu

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-29 09:35:57 -04:00
Adrian Wälchli c71f32a490
Rename old references to training type plugin in tests (#13421) 2022-06-28 14:57:44 -04:00
Carlos Mocholí b1e38bfd79
Better errors for logging corner cases (#13164) 2022-06-28 16:59:31 +01:00
Carlos Mocholí a4750100cf
[CLI] Support custom trainers without callbacks (#13138) 2022-06-28 17:39:17 +02:00
dependabot[bot] ec3c963ea2
Update numpy requirement from <1.22.5,>=1.17.2 to >=1.17.2,<1.23.1 in /requirements (#13413)
Update numpy requirement in /requirements

Updates the requirements on [numpy](https://github.com/numpy/numpy) to permit the latest version.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/HOWTO_RELEASE.rst)
- [Commits](https://github.com/numpy/numpy/compare/v1.17.2...v1.23.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-28 10:31:51 -04:00
dependabot[bot] 59fb0323c2
Update neptune-client requirement from <0.16.3,>=0.10.0 to >=0.10.0,<0.16.4 in /requirements (#13416)
Update neptune-client requirement in /requirements

Updates the requirements on [neptune-client](https://github.com/neptune-ai/neptune-client) to permit the latest version.
- [Release notes](https://github.com/neptune-ai/neptune-client/releases)
- [Changelog](https://github.com/neptune-ai/neptune-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/neptune-ai/neptune-client/compare/0.10.0...0.16.3)

---
updated-dependencies:
- dependency-name: neptune-client
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-28 10:31:38 -04:00
Sean Naren 54f2d44fb8
Remove unnecessary endpoint logic, rename `collaborative` to `hivemind` (#13392)
* Remove endpoint after collaborate app/dht CLI

* Fix references, change filename

* Add CHANGELOG.md

* Address review

Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-06-28 08:41:08 -04:00
lukasugar da2669bf9a
Clarify when and why LearningRateScheduler is called (#13267)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-06-27 22:51:52 +00:00
Jirka Borovec d2e4e7e003
create meta package [RFC] (#13327)
* placeholder

* move setup_tools & abstract about

* adjust lightning-app

* notes

* lightning about

* lightning init

* CI check

* ci

* install

* adjust manifest & mv chlog

* manifest

* pkg

* mv __setup__

* parse_requirements

* lit

* ci - pytorch

* wrap func

* ci

* cd draft

* generate lit

* pkg

* utf-8

* root pkg

* req.

* ver

* mypy

* try check

* meta pkg

* meta pkg - vars

* meta pkg - pruning

* meta pkg - fixing

* fix PL for meta

* multi-line wrapper

* hack manifest

* ci

* fix docstr

* fixing

* ci & mypy

* links
2022-06-27 09:34:18 -04:00
edenlightning 15b64cf8ba
Update README.md 2022-06-24 16:59:40 -04:00
Justus Schock f54abc506f
Merge pull request #13123 from Lightning-AI/mps_accelerator
MPS Accelerator
2022-06-24 08:15:48 -04:00
Akihiro Nitta 5572797bc8
Use workflow name for docs page redirector (#13193)
Fix docs link
2022-06-23 23:21:40 +00:00
Sean Naren 73e7a5d0c2
Rename `CollaborativeStrategy` to `HivemindStrategy` (#13388) 2022-06-23 15:44:48 +00:00
Adrian Wälchli 7a3509decb
Fix mypy errors for model summary utilities (#13384) 2022-06-23 15:21:55 +01:00
awaelchli 511f1a6515 Reroute profiler to profilers (#12308)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-06-22 20:55:39 -04:00