Commit Graph

10239 Commits

Author SHA1 Message Date
awaelchli a4a19f4655
Update reference to LitGPT example (#19593) 2024-03-17 16:57:38 -07:00
Jirka Borovec 3b74d37249
ci: releasing `lightning` nighties (#19661)
* adding workflow
* convert_version2nightly
* allow-local-changes
2024-03-17 13:49:35 +01:00
Felix Hirwa Nshuti dd6d6895bf
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/loops` (#19646)
refactored tmpdir from the tets_pytorch/loops dir
2024-03-17 07:29:15 +01:00
Felix Hirwa Nshuti ac259c6b3f
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/strategies` (#19651) 2024-03-17 01:55:38 -04:00
Felix Hirwa Nshuti e57a7bff92
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/serve` (#19650) 2024-03-17 01:49:34 -04:00
Felix Hirwa Nshuti 754734a654
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/loggers` (#19645) 2024-03-17 01:46:24 -04:00
Felix Hirwa Nshuti 5687047765
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/trainer` (#19652) 2024-03-17 01:41:51 -04:00
Felix Hirwa Nshuti c66b23fbfe
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/utilities` (#19654) 2024-03-17 01:37:31 -04:00
Felix Hirwa Nshuti 7cc71dc201
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/profiler` (#19649) 2024-03-17 01:27:15 -04:00
Felix Hirwa Nshuti 82f8ab9bf0
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/plugins` (#19648) 2024-03-17 01:26:10 -04:00
Felix Hirwa Nshuti e65d8401a6
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/tuner` (#19653) 2024-03-17 01:14:01 -04:00
Felix Hirwa Nshuti 7991e5f33e
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/callbacks` (#19655) 2024-03-17 01:12:21 -04:00
Felix Hirwa Nshuti da49053367
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/core` (#19644)
refactored tmpdir from the tests_pytorch/core dir
2024-03-17 01:11:00 -04:00
Felix Hirwa Nshuti ff8e30b437
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/models` (#19647) 2024-03-17 01:10:05 -04:00
Dmitry Frolov 1ffa5cdd53
Feat(plugins): adding `KeepMachinesAfterStop` flag propagation (#19660)
* Feat(plugins): adding KeepMachinesAfterStop flag propagation
2024-03-16 16:28:35 -04:00
Felix Hirwa Nshuti 41868cad03
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/helpers` (#19643)
* refactored tmpdir from the tests_pytorch/helpers dir
* Update tests/tests_pytorch/helpers/test_datasets.py

---------

Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2024-03-16 16:49:59 +01:00
Felix Hirwa Nshuti b9edd18ae1
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/checkpointing` (#19642)
* refactored tmpdir from the tests_pytorch/checkpointing dir
* fixes

---------

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-16 15:59:22 +01:00
Felix Hirwa Nshuti 53254466be
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/cli.py` (#19632) 2024-03-16 09:13:33 -04:00
Felix Hirwa Nshuti 84c94ef08c
test: replacing `tmpdir` with `tmp_path` in `tests_pytorch/accelerators` (#19641) 2024-03-16 09:12:49 -04:00
Felix Hirwa Nshuti 178e198bc6
test: replacing tmpdir with tmp_path in tests_pytorch/conftest.py (#19640) 2024-03-16 09:11:55 -04:00
awaelchli 51692c9a82
Unblock CI from failing CLI test (#19656) 2024-03-15 19:44:35 -04:00
dependabot[bot] 5232cfdc77
Bump follow-redirects from 1.15.4 to 1.15.6 in /src/lightning/app/cli/react-ui-template/ui (#19635)
Bump follow-redirects in /src/lightning/app/cli/react-ui-template/ui

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 23:55:25 +01:00
Karthik Venkataramani 88869ad482
docs: fix `y` var for compute loss (#19465)
* Update train_model_basic.rst

Loss should be calculated by comparing `x_hat` to `y`, not `x`

* Update evaluation_basic.rst

Error in the documentation where training loss is calculated as `F.mse_loss(x_hat, x)`. Changed to `F.mse_loss(x_hat, y)`

* Update notebooks.rst

Doc fix

* Update README.md

Doc fix

* Update introduction.rst

Doc fix

* Update train.py

Doc fix

* Update README.md

Doc fix

* Revert "Update train.py"

This reverts commit 1934760056.

* Revert "Update introduction.rst"

This reverts commit 0cec613c07.

* Revert "Update README.md"

This reverts commit fda3fbf32d.

* Revert "Update notebooks.rst"

This reverts commit 183a2a9e33.

* Revert "Update evaluation_basic.rst"

This reverts commit 0eefe39aea.

* Revert "Update train_model_basic.rst"

This reverts commit b98e1d2414.

* remove the variable y when unused in docs

* Update README.md

---------

Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2024-03-15 17:56:28 -04:00
Jirka Borovec fe535970a9
lint: switch `pyupgrade` with Ruff's `UP` rule (#19638)
* ruff
* configure
* update

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-15 20:48:17 +01:00
Jirka Borovec 22dc9c6e37
ci: fix ci-check-md-links args (#19636) 2024-03-15 16:19:28 +01:00
Jirka Borovec f030484d5f
ci/docs: allow failing `linkcheck|doctest` for dispatch run (#19634) 2024-03-15 15:08:01 +01:00
awaelchli 14e98ecbf2
Fix `torch.compile` patching when applied as decorator (#19627) 2024-03-15 08:12:48 -04:00
invisprints 75553845c6
docs: fix missing arguments in get_metrics() (#19629) 2024-03-14 20:50:42 -04:00
Jirka Borovec afff598dc9
docs: update links to `neptune` web (#19630) 2024-03-14 12:01:35 -04:00
Ankit Gola 1439da41b2
Fixes incorrect strategy init with HPUAccelerator (#19615) 2024-03-13 21:53:04 -04:00
awaelchli 97a95ed6cc
Update `overfit_batches` docs (#19622) 2024-03-13 17:47:55 -04:00
Dimitri Voytan b3275e05d1
Sharded state dicts save correctly when `save_weights_only=True` (#19524)
Co-authored-by: Dimitri <dvoytan@sparkcognition.com>
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2024-03-12 21:53:31 -04:00
awaelchli 8549a932f7
Remove orphaned docs pages (#19555) 2024-03-12 21:19:05 -04:00
awaelchli d2ab93e8a9
Skip failing tests due to dependencies (#19621) 2024-03-12 21:03:57 -04:00
Anish Shah 096b063d6e
Add docs for the Fabric `WandbLogger` hosted in the `wandb` SDK (#19451)
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2024-03-08 19:27:08 -05:00
awaelchli d58c28cb75
Update warning about `UninitializedParameter` in `ModelSummary` (#19597)
update warning
2024-03-08 06:44:18 -05:00
Carlos Mocholí 06eb3cc28b
Pass `enabled` down to `_BackwardSyncControl` (#19577) 2024-03-08 11:48:16 +01:00
Jirka Borovec 3740546899
gh: update links in GitHub templates (#19592) 2024-03-07 18:22:55 +01:00
Jirka Borovec 0b88204c6a
bump `lightning-utilities` from <0.10 to <0.11 (#19586) 2024-03-07 11:20:57 -05:00
awaelchli f23b3b1e7f
Improve warning for unpickable hyperparameter (#19581) 2024-03-06 16:24:58 +01:00
Jirka Borovec b871f7a826
docs: switch NGC link to Nemo (#19568) 2024-03-04 21:51:19 +01:00
awaelchli eb24a9ac65
Update changelog after 2.2.1 release (#19571) 2024-03-04 21:44:51 +01:00
PL Ghost 7c7f0ee743
Adding test for legacy checkpoint created with 2.2.1 (#19570) 2024-03-04 15:20:18 -05:00
awaelchli b3c869f636
Revise checkpoint consolidation with PyTorch 2.3 (#19561) 2024-03-04 10:13:31 -05:00
Kashif Rasul 527d071f49
Bump bitsandbytes minimum version (#19520)
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2024-03-04 16:11:31 +01:00
Jirka Borovec b19c3a961c
ci: pin `pytest` for package doctests (#19567) 2024-03-04 15:09:04 +01:00
dependabot[bot] 942e650728
Bump vite from 2.9.16 to 2.9.17 in /src/lightning/app/cli/react-ui-template/ui (#19319)
Bump vite in /src/lightning/app/cli/react-ui-template/ui

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.9.16 to 2.9.17.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v2.9.17/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.9.17/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 14:51:25 +01:00
awaelchli 13f15b38fc
Support consolidating sharded checkpoints with the `fabric` CLI (#19560) 2024-03-04 08:01:33 -05:00
awaelchli d9113b61cc
Add additional references in compile guides (#19550) 2024-03-04 08:00:50 -05:00
Leng Yue 34f036917d
Document `ddp_find_unused_parameters_true` in Fabric (#19564) 2024-03-04 06:10:38 -05:00