Commit Graph

7107 Commits

Author SHA1 Message Date
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
awaelchli fc1559e41c Rename 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
Ekagra Ranjan 36dffb888d
Fix typo in CI/CD doc (#13196)
* fix typo in ci cd doc
* fix path to release-docker.yaml
* Update instance type
* Update gpu instance type

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-06-22 17:48:04 +00:00
Patrick Haller 887dc0ff8c
DummyLogger can be called with unknown methods (#13224)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-06-22 17:51:42 +02:00
dependabot[bot] 038d076fd4
Update fsspec[http] requirement from !=2021.06.0,<=2022.2.0,>=2021.05.0 to >=2021.05.0,!=2021.06.0,<2022.6.0 in /requirements (#13366)
Update fsspec[http] requirement in /requirements

Updates the requirements on [fsspec[http]](https://github.com/fsspec/filesystem_spec) to permit the latest version.
- [Release notes](https://github.com/fsspec/filesystem_spec/releases)
- [Commits](https://github.com/fsspec/filesystem_spec/compare/2021.05.0...2022.5.0)

---
updated-dependencies:
- dependency-name: fsspec[http]
  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-22 17:22:16 +02:00
Atharva Phatak 63a9ab4ae2
Improved Deepspeed Imports (#13223)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-06-22 11:09:33 -04:00
dependabot[bot] 90d2f3e787
Update numpy requirement from <=1.22.3,>=1.17.2 to >=1.17.2,<1.22.5 in /requirements (#13361)
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.22.4)

---
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-22 13:15:55 +00:00
dependabot[bot] 3fe4874cec
Update omegaconf requirement from <=2.1.*,>=2.0.5 to >=2.0.5,<2.3.0 in /requirements (#13167)
Update omegaconf requirement in /requirements

Updates the requirements on [omegaconf](https://github.com/omry/omegaconf) to permit the latest version.
- [Release notes](https://github.com/omry/omegaconf/releases)
- [Changelog](https://github.com/omry/omegaconf/blob/master/NEWS.md)
- [Commits](https://github.com/omry/omegaconf/compare/v2.0.5...v2.2.1)

---
updated-dependencies:
- dependency-name: omegaconf
  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-22 12:58:43 +00:00
dependabot[bot] dc6143cd8f
Update hydra-core requirement from <=1.1.*,>=1.0.5 to >=1.0.5,<1.3.0 in /requirements (#13309)
Update hydra-core requirement in /requirements

Updates the requirements on [hydra-core](https://github.com/facebookresearch/hydra) to permit the latest version.
- [Release notes](https://github.com/facebookresearch/hydra/releases)
- [Changelog](https://github.com/facebookresearch/hydra/blob/main/NEWS.md)
- [Commits](https://github.com/facebookresearch/hydra/compare/v1.0.5...v1.2.0)

---
updated-dependencies:
- dependency-name: hydra-core
  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-22 11:23:28 +00:00
dependabot[bot] de0f236e7c
Update horovod requirement from !=0.24.0,<=0.24.3,>=0.21.2 to >=0.21.2,!=0.24.0,<0.25.1 in /requirements (#13363)
Update horovod requirement in /requirements

Updates the requirements on [horovod](https://github.com/horovod/horovod) to permit the latest version.
- [Release notes](https://github.com/horovod/horovod/releases)
- [Changelog](https://github.com/horovod/horovod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/horovod/horovod/compare/v0.21.2...v0.25.0)

---
updated-dependencies:
- dependency-name: horovod
  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-22 11:23:15 +00:00
otaj 33bd270845
Adds Sampler Wrappers for custom samplers in distributed environment (#12959)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-06-22 12:17:53 +02:00
dependabot[bot] 68fa83632a
Update gcsfs requirement from <=2022.2.0,>=2021.5.0 to >=2021.5.0,<2022.6.0 in /requirements (#13168)
Update gcsfs requirement in /requirements

Updates the requirements on [gcsfs](https://github.com/fsspec/gcsfs) to permit the latest version.
- [Release notes](https://github.com/fsspec/gcsfs/releases)
- [Commits](https://github.com/fsspec/gcsfs/compare/2021.05.0...2022.5.0)

---
updated-dependencies:
- dependency-name: gcsfs
  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-22 11:51:47 +02:00
dependabot[bot] 71f4c5fcb6
Update gym[classic_control] requirement from <=0.23.1,>=0.17.0 to >=0.17.0,<0.24.2 in /requirements (#13307)
Update gym[classic_control] requirement in /requirements

Updates the requirements on [gym[classic_control]](https://github.com/Farama-Foundation/gym-docs) to permit the latest version.
- [Release notes](https://github.com/Farama-Foundation/gym-docs/releases)
- [Commits](https://github.com/Farama-Foundation/gym-docs/commits)

---
updated-dependencies:
- dependency-name: gym[classic_control]
  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-22 11:51:38 +02:00
dependabot[bot] e02b786bde
Update wandb requirement from <0.12.17,>=0.8.21 to >=0.8.21,<0.12.19 in /requirements (#13308)
Update wandb requirement in /requirements

Updates the requirements on [wandb](https://github.com/wandb/client) to permit the latest version.
- [Release notes](https://github.com/wandb/client/releases)
- [Changelog](https://github.com/wandb/client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wandb/client/compare/v0.8.21...v0.12.18)

---
updated-dependencies:
- dependency-name: wandb
  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-22 11:51:23 +02:00
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
Akihiro Nitta edc88f90fc
Fix changelog of setting back `benchmark=False` by default (#13194)
Update changelog
2022-06-22 01:53:04 +00:00
Ray Schireman 8266300b29
Remove pytorch lightning.callbacks.lr monitor.learning rate monitor.lr_sch_names (#13353)
Co-authored-by: Raymond G Schireman <raymond.schireman@uvm.edu>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-06-22 02:03:17 +02:00