lightning/tests/tests_pytorch
Adrian Wälchli 6333caabb0
Standalone Lite: Strategy base classes and registry (#14662)
* add accelerator implementations to lite

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

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

* fix imports

* rename registry argument

* fix test

* fix tests

* remove duplicated test

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

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

* fix tests

* deprecation

* deprecations

* flake8

* fixes

* add mps to runif

* fix tests

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

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

* Apply suggestions from code review

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

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

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

* remove more

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

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

* local import

* undo device stats :(

* fix import

* stupid typehints

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

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

* more refactors :(

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

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

* fix

* rename init_device to setup_device

* remove unused import

* make uppercase to differentiate from class

* trick test after moving import locally

* add base classes and registry

* reg

* registry

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

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

* tests

* update to other branches

* resolve todo(lite)

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

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

* add very basic unit tests

* fix name assignment

* Update src/lightning_lite/strategies/parallel.py

Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>

* remove deprecated property

* remove pre- and post backward for now

* protecting the registry utility function

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

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

* remove unused import

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
2022-09-14 09:15:21 -04:00
..
accelerators Standalone Lite: Accelerators (#14578) 2022-09-12 16:00:14 +00:00
benchmarks Clean up fairscale imports (#14476) 2022-09-01 18:08:40 +02:00
callbacks Add auto wrapping support for `DDPFullyShardedStrategy` (#14383) 2022-09-05 19:07:26 +00:00
checkpointing Remove the deprecated `weights_save_path` Trainer argument (#14424) 2022-09-12 19:02:38 +00:00
core Remove deprecated `LoggerCollection` (#14283) 2022-09-12 21:46:46 +00:00
deprecated_api Remove deprecated `BaseProfiler` and `AbstractProfiler` (#14404) 2022-09-13 14:52:09 +00:00
helpers Standalone Lite: Accelerators (#14578) 2022-09-12 16:00:14 +00:00
lite Standalone Lite: Cluster Environments (#14509) 2022-09-12 12:20:08 +02:00
loggers Remove deprecated `LoggerCollection` (#14283) 2022-09-12 21:46:46 +00:00
loops Change `trainer.should_stop` to not stop in between an epoch and run until `min_steps/min_epochs` only (#13890) 2022-08-27 12:12:24 +00:00
models Set `running_torchscript` recursively (#14657) 2022-09-12 14:39:40 +00:00
overrides Standalone Lite: Remaining Utilities (#14492) 2022-09-07 15:25:23 +00:00
plugins Move checkpoint io plugins from pl/plugins/io to lite/plugins/io (#14519) 2022-09-12 08:28:46 -04:00
profilers save checkpoints and profiler output to the first logger (#14325) 2022-08-26 17:23:54 +00:00
serve Convert subprocess test to standalone test (#14101) 2022-08-10 17:15:12 -04:00
strategies Standalone Lite: Strategy base classes and registry (#14662) 2022-09-14 09:15:21 -04:00
trainer Better error message when dataloader and datamodule is None (V2) (#14637) 2022-09-13 12:26:03 +00:00
tuner Reset dataloaders on failure in tuner (#14372) 2022-08-31 21:00:18 +00:00
utilities Integrate lightning_utilities `is_overridden` (#14620) 2022-09-12 15:16:57 +02:00
__init__.py Remove old test artifacts (#14574) 2022-09-07 10:09:59 -04:00
conftest.py Standalone Lite: Cluster Environments (#14509) 2022-09-12 12:20:08 +02:00
run_standalone_tasks.sh Integrate `lightning_utilities.core.rank_zero` (#14556) 2022-09-07 09:21:48 +00:00
run_standalone_tests.sh Use a standalone test symlink for Lite (#14502) 2022-09-04 20:57:28 +02:00
test_cli.py Removed from_argparse_args tests in test_cli.py (#14597) 2022-09-12 18:25:29 +00:00