Commit Graph

43 Commits

Author SHA1 Message Date
pre-commit-ci[bot] c028ff3b95
[pre-commit.ci] pre-commit suggestions (#13540)
updates:
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-20 11:03:08 +00:00
Jirka Borovec 35ec79ad1f
define app 0.6 (#13699)
* define app 0.6

* req

* fix link

* txt

* ex

* gk

* Apply suggestions from code review

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

* Apply suggestions from code review

* lapp 0.5.2

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-07-18 19:23:26 -04:00
thomas chaton c7ae985979
Add `lightning_app` docs (#13656)
* update

* update

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

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

* update

* update

* update

* update

* update

* update

* update

* update

* update

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

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

* update

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

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

* update latest docs

* remove image

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

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

* update

* ci

* update

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

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

* update

* update

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

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

* update

* update

* update

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

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

* update

* update

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

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

* update

* update

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

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

* update

* update

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

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

* update

* update

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

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

* update

* update

* make

* Update .gitignore

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* Update .github/workflows/docs-deploy.yml

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* update

* update

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

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

* update

* update

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

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

* update

* update

* update

* update

* update

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

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

* update

* update

* update

* update

* update

* update

* update

* Update docs/source-app/_templates/theme_variables.jinja

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

* Update docs/source-app/api_reference/api_references.rst

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

* Update docs/source-app/api_reference/api_references.rst

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

* Update docs/source-app/api_reference/api_references.rst

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

* Update docs/source-app/code_samples/convert_pl_to_app/train.py

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

* Update docs/source-app/core_api/lightning_app/communication_content.rst

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

* Update docs/source-app/examples/model_server_app/model_server_app_content.rst

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

* Update docs/source-app/get_started/training_with_apps.rst

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

* Update docs/source-app/get_started/training_with_apps.rst

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

* Update docs/source-app/get_started/training_with_apps.rst

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

* Update docs/source-app/examples/hpo/hpo.py

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

* Update docs/source-app/core_api/lightning_app/communication_content.rst

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

* Update docs/source-app/core_api/lightning_app/communication_content.rst

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

* Update docs/source-app/core_api/lightning_app/dynamic_work_content.rst

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

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_content.rst

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

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_content.rst

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

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_step_2.rst

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

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_step_4.rst

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

* Update docs/source-app/examples/model_server_app/model_server.py

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

* update

* Update docs/source-app/core_api/lightning_app/dynamic_work_content.rst

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

* Update docs/source-app/examples/github_repo_runner/app.py

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

* Update docs/source-app/examples/github_repo_runner/app.py

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

* update

* update

* update

* update

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

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

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

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: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-07-15 08:45:50 -04:00
Carlos Mocholí eec862ef2f
Revert "Update Lightning App docs (#13537)" (#13655)
This reverts commit cd31ba3f87.
2022-07-14 09:45:46 -04:00
thomas chaton cd31ba3f87
Update Lightning App docs (#13537)
* update

* update

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

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

* update

* update

* update

* update

* update

* update

* update

* update

* update

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

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

* update

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

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

* update latest docs

* remove image

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

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

* update

* ci

* update

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

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

* update

* update

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

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

* update

* update

* update

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

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

* update

* update

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

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

* update

* update

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

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

* update

* update

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

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

* update

* update

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

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

* update

* update

* make

* Update .gitignore

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* Update .github/workflows/docs-deploy.yml

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* update

* update

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

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

* update

* update

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

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

* update

* update

* update

* update

* update

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

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

* update

* update

* update

* update

* update

* update

* update

* Update docs/source-app/_templates/theme_variables.jinja

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

* Update docs/source-app/api_reference/api_references.rst

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

* Update docs/source-app/api_reference/api_references.rst

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

* Update docs/source-app/api_reference/api_references.rst

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

* Update docs/source-app/code_samples/convert_pl_to_app/train.py

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

* Update docs/source-app/core_api/lightning_app/communication_content.rst

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

* Update docs/source-app/examples/model_server_app/model_server_app_content.rst

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

* Update docs/source-app/get_started/training_with_apps.rst

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

* Update docs/source-app/get_started/training_with_apps.rst

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

* Update docs/source-app/get_started/training_with_apps.rst

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

* Update docs/source-app/examples/hpo/hpo.py

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

* Update docs/source-app/core_api/lightning_app/communication_content.rst

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

* Update docs/source-app/core_api/lightning_app/communication_content.rst

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

* Update docs/source-app/core_api/lightning_app/dynamic_work_content.rst

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

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_content.rst

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

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_content.rst

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

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_step_2.rst

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

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_step_4.rst

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

* Update docs/source-app/examples/model_server_app/model_server.py

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

* update

* Update docs/source-app/core_api/lightning_app/dynamic_work_content.rst

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

* Update docs/source-app/examples/github_repo_runner/app.py

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

* Update docs/source-app/examples/github_repo_runner/app.py

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

* update

* update

* update

* update

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

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

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

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: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-07-14 09:36:36 -04: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
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 ea8135c8d7
CI: block app contrib. (#13310)
* CI: block app contrib.

* format

* Apply suggestions from code review

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

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-06-15 22:50:04 -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
Carlos Mocholí 46c59d04db
Exclude the CHANGELOG from the pre-commit size check (#12931) 2022-04-29 13:23:02 +00:00
pre-commit-ci[bot] 03609bc09c
[pre-commit.ci] pre-commit suggestions (#12613) 2022-04-07 12:52:07 +00:00
Carlos Mocholí 58b6d19839
Set a less strict pre-commit Python version (#12627) 2022-04-06 17:01:24 +02:00
Kushashwa Ravi Shrimali a2cdfc9e4f
Bump version of black to 22.3.0 (#12542)
* bump black version to 22.3.0
2022-04-04 06:01:08 +02:00
Chunyang Wen 5d579b423b
Address black version conflict (#11505) 2022-01-17 18:51:59 +00:00
pre-commit-ci[bot] 95c7e5f785
[pre-commit.ci] pre-commit suggestions (#11301) 2022-01-03 22:26:51 +01:00
Carlos Mocholí 85304d4672
Update pre-commit hook versions (#11202) 2021-12-22 17:09:27 +00:00
Carlos Mocholí 3692eba807
Drop Python 3.6 support (#11117) 2021-12-21 17:06:15 +00:00
pre-commit-ci[bot] 9e621b451f
[pre-commit.ci] pre-commit suggestions (#9819) 2021-10-05 09:21:16 +02:00
Jirka Borovec 6e124e7207
CI: precommit - docformatter (#8584)
* CI: precommit - docformatter
* fix deprecated

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-09-06 12:49:09 +00:00
Jirka Borovec 0e6ee9c39d
CI: add mdformat (#8673)
* add mdformat
* exclude chlog
* fix ***

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2021-08-03 18:19:09 +00:00
Jirka Borovec f67892ea96
CI: yesqa (#8564)
* add yesqa
* fix flake8

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-08-02 16:05:56 +00:00
Jirka Borovec 0a71fe2859
CI: black docs (#8566)
* black docs

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-28 18:08:31 +02:00
Carlos Mocholí e63968ab88
Add `pyupgrade` to `pre-commit` (#8557)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-26 14:38:12 +02:00
Carlos Mocholí a64cc37394
Replace `yapf` with `black` (#7783)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-26 13:37:35 +02:00
pre-commit-ci[bot] 1d3b7f27bb
[pre-commit.ci] pre-commit autoupdate (#8388)
updates:
- [github.com/PyCQA/isort: 5.9.1 → 5.9.2](https://github.com/PyCQA/isort/compare/5.9.1...5.9.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-13 07:16:02 +00:00
Kaushik B 4f1e7be5ec
Remove Vulture (#8381) 2021-07-12 13:39:36 +00:00
pre-commit-ci[bot] 7828814810
[pre-commit.ci] pre-commit autoupdate (#8067)
updates:
- [github.com/PyCQA/isort: 5.8.0 → 5.9.1](https://github.com/PyCQA/isort/compare/5.8.0...5.9.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-06-21 22:50:12 +00:00
Jirka Borovec 7978a5376d
Ipynb update (#8004)
* git submodule update --remote

* update notebooks in docs

* prune

* _notebooks

* docs

* path

* path

* ignore

* head
2021-06-17 16:46:05 +02:00
Jirka Borovec 111287b4f9
add pre-commit hooks (#7906) 2021-06-10 16:45:54 +02:00
Aniket Maurya 0bad2186c1
Added Vulture dead code checker (#5654)
* integrated vulture CI

* added vulture in workflows

* added vulture in workflows

* vulture logs verbose set false

* Apply suggestions from code review

* ignore name list and args to underscore naming

* add ignore names

* deadcode whitelist

* deadcode whitelist

* Apply suggestions from code review

Co-authored-by: Rahul Jha <rahul722j@gmail.com>

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

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

* Update whitelist

* Sort

* Updates

* Updates

* Apply suggestions from code review

* Updates

Co-authored-by: Aniket Maurya <aniket.maurya@gdn-commerce.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: chaton <thomas@grid.ai>
Co-authored-by: Rahul Jha <rahul722j@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ethan Harris <ewah1g13@soton.ac.uk>
Co-authored-by: Ethan Harris <ethanwharris@gmail.com>
2021-06-02 16:19:10 +01:00
Jirka Borovec 0b6fd1da54
Update pre-commit and add new hooks (#7781)
* update precommit

* Update .pre-commit-config.yaml

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

* Apply suggestions from code review

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

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2021-06-01 07:43:50 +02:00
pre-commit-ci[bot] 12adff0573
[pre-commit.ci] pre-commit autoupdate (#7577)
updates:
- [github.com/pre-commit/pre-commit-hooks: v3.4.0 → v4.0.1](https://github.com/pre-commit/pre-commit-hooks/compare/v3.4.0...v4.0.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-05-19 19:37:31 +00:00
pre-commit-ci[bot] 8660d8cf03
[pre-commit.ci] pre-commit autoupdate (#7475)
updates:
- [github.com/pre-commit/pre-commit-hooks: v2.3.0 → v3.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v2.3.0...v3.4.0)
- [github.com/PyCQA/isort: 5.7.0 → 5.8.0](https://github.com/PyCQA/isort/compare/5.7.0...5.8.0)
- [github.com/pre-commit/mirrors-yapf: v0.30.0 → v0.31.0](https://github.com/pre-commit/mirrors-yapf/compare/v0.30.0...v0.31.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-05-11 14:56:27 +08:00
Carlos Mocholí 870247ffe6
drop mypy from .pre-commit-config.yaml (#6542) 2021-03-22 00:38:10 +00:00
Carlos Mocholí dca3b19e59
Add yapf to pre-commit (#5747) 2021-02-02 15:03:36 +01:00
Arnaud Gelas 0fc264a659
Enforce pre-commit to use a recent and fixed version of isort. (#5408)
Previously pre-commit was using any version of isort found on developer
machine. Now, used isort is from the official repository and version is
set to 5.7.0 (which is nowadays the latest release).

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

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2021-01-08 10:55:58 -05:00
chaton 20b806a945
[feat] 3/n pp (#5036)
* add pp doc

* udpate doc

* update doc

* update doc

* Update docs

* update doc

* udpate

* update doc

* update doc

* Formatting, update sharded zip link

* Update docs/source/multi_gpu.rst

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

* Apply suggestions from code review

* Reference directly to section

Co-authored-by: SeanNaren <sean@grid.ai>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-12-09 16:31:18 +00:00
chaton ef8ef12fd0
[feat] pp 2/n (#5026)
* Added changes for RPC plugin

* Add missing kwargs

* Fix code format

* Loading refactors by introducing is_distributed var, fix optimizer step flow

* Add rpc guard

* Added docstrings and typing

* resolve comments

* Add additional rpc hook, refactor name of exit process hook for clarity

* remove annotation

* Modify behaviour to allow optional return, add test for rpc plugin

* resolve tests

* rename is_ddp_based

* update

* update for windows

* update

* resolve test

* code smell

* Added sequential plugin

* resolve bug

* update

* cleanup

* add Exception

* resolve docs

* Remove ddp support

* Revert distributed -> ddp

* Update pl_examples/basic_examples/conv_sequential_example.py

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* Update pl_examples/basic_examples/conv_sequential_example.py

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* Update pytorch_lightning/plugins/ddp_sequential_plugin.py

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* Address code review points

* Update pytorch_lightning/plugins/ddp_sequential_plugin.py

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* Update pytorch_lightning/plugins/ddp_sequential_plugin.py

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* Add missing return

* Fix formatting, add datamodule args

* add small comment

* resolve comments

* resolve comments

* update source for fairscale

* update extras

* remove staticmethod

* resolve flake8

* Skip tests that are failing due to bug upstream with multiple optimizers and shard

* update

* update on comments

* clean test

* latest comments

* remove old comments

* add todo

* Update version

* update

* resolve bugs

* resolve bugs

* update test

* remove hanging test

* Update pytorch_lightning/plugins/ddp_sequential_plugin.py

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

* resolve on comments

* Update pytorch_lightning/plugins/ddp_sequential_plugin.py

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

* resolve on comments

* Update pytorch_lightning/plugins/ddp_sequential_plugin.py

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

* Update pytorch_lightning/plugins/ddp_sequential_plugin.py

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

* Update pytorch_lightning/plugins/ddp_sequential_plugin.py

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

* Update pytorch_lightning/plugins/ddp_sequential_plugin.py

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

* remove ImportError

Co-authored-by: SeanNaren <sean@grid.ai>
Co-authored-by: Sean Naren <sean.narenthiran@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2020-12-09 12:56:51 +00:00
Jirka Borovec 2c11d96012
replace pyright by mypy (#5021)
* drop pyright & add mypy

* detail

* name

* fix

* flake8

* ver

Co-authored-by: Sean Naren <sean.narenthiran@gmail.com>
2020-12-09 10:57:11 +08:00
Nathan Painchaud 2d78d9b84a
CI: Added isort import check for the code on pull-request (#4242)
* added isort CI job and updated isort config

* changed CI check output from files to full diff

* added isort pre-commit hook

* Added missing first party and restricted files affected by isort

* Applied isort to root-level, docs and benchmarks

* Apply suggestions from code review

Co-authored-by: Nathan Painchaud <nathanpainchaud@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: chaton <thomas@grid.ai>
2020-11-13 22:57:46 +01:00
William Falcon 10a5b5820c
feat: finishing #4258 in parts (#4263) 2020-10-20 12:07:32 -04:00
William Falcon f43028f3ae
added copyright notices (#3062) 2020-08-19 22:03:22 -04:00
kumuji fd7814d287
Added black formater for the code with code-checker on pull (#1610)
* black

Added throught black.toml other options are hard so far

No caching for black github action

Moved from black.toml to pyproject.toml

Exclude not only yml but also yaml

Update pyproject.toml

Co-authored-by: Thomas Johansen <thomasjo@gmail.com>

Update .github/workflows/code-formatting-check.yml

mergify

Remove formating check

E231 error ignoring because of black formating

Updated CONTRIBUTING to the master

* Update .github/workflows/code-formatting-check.yml

* Bump black to 19.10b0 version

* resolved incorrect merge of CONTRIBUTING,

Black skipping string normalization

* Minor fixes in CONTRIBUTING, two typos

* Update setup.cfg

* chlog

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Jirka <jirka@pytorchlightning.ai>
2020-06-03 18:23:14 +02:00