pre-commit-ci[bot]
91cb4b9b87
[pre-commit.ci] pre-commit suggestions ( #17271 )
...
* [pre-commit.ci] pre-commit suggestions
updates:
- [github.com/PyCQA/docformatter: v1.4 → v1.6.0](https://github.com/PyCQA/docformatter/compare/v1.4...v1.6.0 )
- [github.com/psf/black: 22.12.0 → 23.3.0](https://github.com/psf/black/compare/22.12.0...23.3.0 )
- [github.com/charliermarsh/ruff-pre-commit: v0.0.237 → v0.0.260](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.237...v0.0.260 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* update
* apply
* fixing
* docs/lines
---------
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>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2023-04-26 21:37:41 +02:00
Adrian Wälchli
4d17b5fe77
Improved model initialization API for Fabric ( #17462 )
...
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-04-26 11:25:33 -04:00
Carlos Mocholí
f4b1fc0f71
Input validation for `Fabric.launch` ( #17423 )
...
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2023-04-25 00:44:48 +02:00
Jirka Borovec
df97141781
add & apply flake8-simplify ( #17386 )
2023-04-24 21:57:08 +00:00
Adrian Wälchli
0631fa02ef
Handle edge case in `Fabric.setup()` when model has no parameters ( #17441 )
2023-04-24 10:13:36 +02:00
Adrian Wälchli
877d95f8d7
Minor Fabric backward refactor ( #17433 )
2023-04-21 19:36:46 +00:00
Jirka Borovec
111d1ba088
ruff: fixing flake8-comprehensions ( #17385 )
2023-04-21 09:07:58 +00:00
Carlos Mocholí
8dac251273
[TPU] Fix PjRT tests ( #17408 )
2023-04-19 16:39:00 +02:00
Adrian Wälchli
21ae19c69f
Add dynamo RunIf skip condition ( #17404 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-19 01:09:42 +02:00
Ryan Smith
8d5a91a2dd
Update Fabric CPU tests to work on GPU machines ( #17391 )
2023-04-18 14:03:40 +00:00
Adrian Wälchli
affe72cc3e
Add test for compiling FSDP model in Fabric ( #17394 )
2023-04-17 15:34:23 -04:00
Adrian Wälchli
0dc42f523e
Save and load sharded checkpoints with FSDP in Fabric ( #17323 )
...
Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-16 14:11:49 -04:00
Carlos Mocholí
0489f2efed
[TPU] v4 support ( #17227 )
2023-04-11 22:24:11 +00:00
Adrian Wälchli
b6c693d345
Add test for `torch.compile()` with `Fabric.setup()` ( #16977 )
2023-03-07 10:57:31 -05:00
Jirka Borovec
760612fb8a
update list of fist party packages ( #16859 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-03-03 16:55:48 +00: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
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
Jirka Borovec
770b792925
copyright Lightning AI team ( #16647 )
...
* copyright Lightning AI team
* more...
2023-02-06 15:26:51 +01:00
Jirka Borovec
377210d85d
tests: switch imports for fabric ( #16592 )
2023-02-01 20:34:38 +00:00
Adrian Wälchli
c87bb71fa8
Add `Fabric.all_reduce` ( #16459 )
2023-01-24 22:35:00 +00:00
Nikhil Shenoy
81914c7167
LightningFabric: Error handling for accelerator="mps" and ddp strategy pairing ( #16455 )
...
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2023-01-22 17:57:24 +00:00
Adrian Wälchli
39acb81b9b
Fabric checkpointing 1/n: base implementation ( #16434 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-01-19 20:40:12 +00:00
Carlos Mocholí
428844d01d
Fabric: drop FairScale's sharded implementation ( #16329 )
...
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2023-01-11 17:08:18 +00:00
Carlos Mocholí
3c3bff5e6e
Fabric: Remove `_Connector.is_distributed` ( #16327 )
2023-01-11 16:29:51 +01:00
Carlos Mocholí
794685493d
Remove `_StrategyType` ( #16328 )
2023-01-10 23:05:12 +01:00
Lightning Forever
91aaa5313a
Lite: Support `self.log` from a LightningModule ( #16311 )
...
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-01-10 16:11:47 +00:00
Adrian Wälchli
b085fa12d3
Rename leftover definitions in Lite tests ( #16309 )
2023-01-10 15:02:05 +00:00
Lightning Forever
f24349bb64
Logger support in Lite ( #16121 )
...
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-01-09 18:33:18 +00:00
Carlos Mocholí
15ef52bc73
Rename LightningLite to Fabric ( #16244 )
...
* Rename LightningLite to Fabric
* Fix introspection test
* Fix deprecated Lite tests
* Undo accidental Horovod removal
* Fixes
2023-01-04 10:57:18 -05:00