Commit Graph

8869 Commits

Author SHA1 Message Date
Jirka Borovec ac815ec8a1
docs: typo in habana docs (#16910) 2023-03-01 09:22:43 +01:00
Justus Schock b4e29e0c8f
PL: Test PyTorch 2.0 pre-release on CPU and CUDA (#16764)
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2023-02-28 18:38:40 +01:00
Ethan Harris afc63e9f66
[App] Fix environment check with command redirection (#16883) 2023-02-28 12:34:43 +00:00
Wouter Zwerink dfa35dac99
Require neptune 1.0 (#16888)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-02-28 12:13:42 +01:00
Jirka Borovec f697fff5db
docs: rename source-app (#16863)
* docs: rename source-app

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

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

* ci

* group check

* trigger

* param

* fix

* cleaning

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-28 10:04:43 +01:00
Jirka Borovec 2d95356e43
ci: disable flagship apps as required (#16895) 2023-02-28 09:55:09 +01:00
Marten Lienen 7bc39ae238
Log gradient norms of any magnitude (#16877) 2023-02-28 01:32:07 +00:00
Adrian Wälchli b49c5310e4
Replace obsolete `_FakeQueue` in multiprocessing launcher (#16873)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-28 01:31:18 +00:00
Jirka Borovec eb6e5fda3a
ci: fix wheels' cashing (#16869) 2023-02-28 00:51:24 +00:00
Carlos Mocholí 9aafd557bd
Backwards compatibility for `get_init_args` (#16851) 2023-02-28 01:09:30 +01:00
Justus Schock 3d1927e6bc
Adds Gradient Clipping to Fabric (#16715)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
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: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2023-02-27 23:44:13 +00:00
Jirka Borovec 8884c8970c
test/hotfix: DDPSpawnStrategy (#16889) 2023-02-27 23:16:44 +00:00
Jirka Borovec 52a39c03f8
docs: update `pytorch_lightning` imports (#16864)
* update docs imports

* ci

* fabric

* trigger

* links

* .

* docstring

* chlog

* cleaning
2023-02-27 15:14:23 -05:00
Yi Heng Lim 4444d0c37d
Fix support for passing -1 to `find_usable_cuda_devices` function (#16866)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2023-02-27 20:08:42 +00:00
Adrian Wälchli a54f37391f
Explain `configure_sharded_model` in ColossalAI docs (#16872) 2023-02-27 20:45:15 +01:00
Adrian Wälchli 07b89c87ee
Merge DDPStrategy and DDPSpawnStrategy in PL (#16809) 2023-02-27 14:43:23 -05:00
Adrian Wälchli e3efbaa7f6
Incorporate pytorch's fixes in device_count_nvml (#16795)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-02-27 18:07:55 +00:00
Adrian Wälchli 36c39ea702
Disable the IPU check group (#16886) 2023-02-27 17:51:59 +01:00
Carlos Mocholí 3ddf100671
Check for dataloader_idx presence in the hooks (#16837) 2023-02-27 17:46:46 +01:00
Adrian Wälchli e48613207a
Promote `Fabric.launch()` as the default experience in Fabric docs (#16878) 2023-02-27 08:19:54 -05:00
dependabot[bot] 6de4af9aa3
Bump Lightning-AI/utilities from 0.6.0 to 0.7.1 (#16879)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 13:16:58 +01:00
Adrian Wälchli 5bdf8a52bc
Remove redundant strategy property (#16811) 2023-02-26 00:11:51 +00:00
Darren Tuit cdf21a1305
Fix imports for lightning cli examples (#16871) 2023-02-26 00:09:34 +01:00
Aditya Kane df6e37da1c
Update torch_xla installation instructions in tpu_basic.rst (#16865) 2023-02-26 00:07:40 +01:00
Carlos Mocholí 6b9ddf00dd
Introduce `Trainer(barebones=True)` (#16854)
Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
2023-02-24 12:32:31 +01:00
Adrian Wälchli 462f1ee691
Fix amp ddp test in Fabric (#16862) 2023-02-23 19:05:30 -05:00
Carlos Mocholí 0130273eb5
Trainer: auto default (#16847) 2023-02-23 18:42:17 +01:00
Carlos Mocholí d486f94dd2
Fabric: auto default (#16842) 2023-02-23 13:45:27 +00:00
Adrian Wälchli bc9651364f
Update changelog after 1.9.3 and bump version for RC (#16833)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-02-23 13:37:24 +00:00
Liyang90 19139137c7
Fix for hanging issue on TPU Pod (#16844)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-02-23 14:27:00 +01:00
Carlos Mocholí 235e692259
Fabric: do `set_epoch` for `batch_sampler.sampler` (#16841) 2023-02-23 00:11:29 +00:00
Ethan Harris beced48904
[App] Add support for plugins to return actions (#16832) 2023-02-22 17:12:04 +00:00
Carlos Mocholí 62e3d5854f
Consume the prediction batch indices iteratively (#16826) 2023-02-22 17:03:08 +01:00
Justus Schock 598c2476cd
Remove implicit frontend testing from `testing.run_app_in_cloud` (#16741)
Co-authored-by: Ethan Harris <ethanwharris@gmail.com>
2023-02-22 14:48:10 +00:00
Carlos Mocholí 914effa04c
Rename `replace_sampler_ddp|replace_sampler` to `use_distributed_sampler` (#16829)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2023-02-22 14:07:02 +01:00
Carlos Mocholí 565d6111f3
Move `max_batches` definition to the Loops (#16820) 2023-02-22 14:01:34 +01:00
Ethan Harris f969411284
[App] Fix local app run with relative import (#16835) 2023-02-22 12:23:28 +00:00
Carlos Mocholí 2bd54e4602
Add more pytree tests (#16825)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2023-02-21 17:27:00 +01:00
Jirka Borovec 0009cde1db
fix make clean command (#16823) 2023-02-21 10:01:30 -05:00
Carlos Mocholí b30a43f783
Move the `CombinedLoader` to an utility file (#16819) 2023-02-20 18:06:35 +01:00
Carlos Mocholí d807c003a7
Always run standalone tests (#16705) 2023-02-20 14:58:44 +00:00
Carlos Mocholí 3b548c1104
Avoid instantiating CombinedDataset unnecessarily (#16805) 2023-02-20 15:39:08 +01:00
Adrian Wälchli 0e4ca7c286
Set accelerator through CLI only if set explicitly (#16818) 2023-02-20 13:45:06 +00:00
Adrian Wälchli 65e66814f8
Remove the `*_step_end` hooks (#16791)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-02-20 13:04:40 +00:00
Carlos Mocholí 83b88996cd
Move `_TrainingEpochLoop` (#16801) 2023-02-20 13:33:01 +01:00
Carlos Mocholí 365bf10936
Resolve FitLoop setter TODOs (#16803) 2023-02-20 13:32:36 +01:00
Carlos Mocholí 781768d2b2
Remove `Trainer(multiple_trainloader_mode)` in favor of `CombinedLoader(mode)` (#16800) 2023-02-20 13:32:06 +01:00
Adrian Wälchli 81b7c30291
Make DDP subprocess the default launcher for multi-device (#16780) 2023-02-20 11:20:50 +00:00
Mauricio Villegas 3a0519143a
Fix bug in lightning_cli_advanced_3.rst (#16792) 2023-02-20 12:12:17 +01:00
Sebastian Raschka a4f4b5372a
Add missing docs quote (#16797)
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2023-02-20 11:09:55 +01:00