Commit Graph

10451 Commits

Author SHA1 Message Date
Alan Chu c110f4f3f6
Allow callbacks to be restored not just during training (#20403)
* Allow callbacks to be restored not just during training

* add test case

* test test case failure

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

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

* fix test case

---------

Co-authored-by: Alan Chu <alanchu@Alans-Air.lan>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
2024-11-14 23:46:19 +01:00
Alan Chu cd2bd3ce53
Fix configure_optimizers example (#20420)
Co-authored-by: Alan Chu <alanchu@Alans-Air.lan>
2024-11-14 23:41:44 +01:00
Alan Chu 20d19d2f57
Remove `List[int]` as input type for Trainer when `accelerator="cpu"` (#20399)
Co-authored-by: Alan Chu <alanchu@Alans-Air.lan>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2024-11-13 20:42:14 +01:00
Eric Cousineau e1b172c62e
Profile `Trainer.save_checkpoint` (#20405) 2024-11-13 20:31:11 +01:00
Thomas Viehmann f5b513df92
temporarily disable tpu from required checks (#20417) 2024-11-13 16:40:19 +01:00
awindmann cae333575f
fix: Incorrect URI Prefix Stripping in MLFlowLogger (#20365) 2024-11-13 15:59:30 +01:00
Jirka Borovec 875cfbdba0
ci: update specific configs to latest (#20416)
update CI

Co-authored-by: Thomas Viehmann <tv.github-private@beamnet.de>
2024-11-13 14:37:21 +00:00
Thomas Viehmann 5756c8199b
bump all macos-13 to -14 (#20415) 2024-11-13 15:00:26 +01:00
Mauricio Villegas bfe3e8ab8f
Change LightningCLI tests to account for future fix in jsonargparse (#20372)
Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
2024-11-13 14:40:23 +01:00
Yuanhong Yu bd5866b295
fix batchsampler does not work correctly (#20327)
* fix batchsampler does not work correctly

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

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

* add batch sampler shuffle state test
2024-11-13 14:01:47 +01:00
Isaac Vidas 1f2d7a1b1c
Add rtx 4080 super to chips dictionary (#20285) 2024-11-13 12:55:36 +01:00
Luca Antiga 9358898c6e
Ensure restarting from checkpoints leads to consistent internal counters (#20379)
* Fix checkpoint progress for fit loop and batch loop

* Check loss parity

* Rename test

* Fix validation loop handling on restart

* Fix loop reset test

* Avoid skipping to val end if saved mid validation

* Fix type checks in compare state dicts

* Fix edge cases and start from last with and without val

* Clean up

* Formatting

* Avoid running validation when restarting from last

* Fix type annotations

* Fix formatting

* Ensure int max_batch

* Fix condition on batches that stepped

* Remove expected on_train_epoch_start when restarting mid epoch
2024-11-13 11:51:40 +01:00
Galaxy-Husky 7038b8d41a fix: correct the positional encoding of Transformer in pytorch examples 2024-11-13 00:24:48 +01:00
Thibaut Durand b0aa504f80
docs: fix incorrect link in expert level up (#20408) 2024-11-12 22:43:49 +01:00
Jirka Borovec 61a403a512
bump: Torch `2.5` (#20351)
* bump: Torch `2.5.0`

* push docker

* docker

* 2.5.1 and mypy

* update USE_DISTRIBUTED=0 test

* also for pytorch lightning no distributed

* set USE_LIBUV=0 on windows

* try drop pickle warning

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

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

* disable compiling update_metrics

* bump 2.2.x to bugfix

* disable also log in logger connector (also calls metric)

* more point release bumps

* remove unloved type ignore and print some more on exit

* update checkgroup

* minor versions

* shortened version in build-pl

* pytorch 2.4 is with python 3.11

* 2.1 and 2.3 without patch release

* for 2.4.1: docker with 3.11 test with 3.12

---------

Co-authored-by: Thomas Viehmann <tv.code@beamnet.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-12 15:59:08 +01:00
Jirka Borovec 3627c5bfac
ci: bump deprecated mac 12 to 13 (#20393) 2024-11-04 12:33:48 -05:00
PL Ghost 897b2af5ef
docs: update ref to latest tutorials (#20387)
update tutorials to `b83fde09`

Co-authored-by: Borda <Borda@users.noreply.github.com>
2024-11-03 08:11:54 +01:00
Sebastian Raschka 06a8d5bf33
Update version.info to `2.5.0.dev` (#20316)
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2024-10-21 17:15:31 +02:00
PL Ghost 2110a399b1
docs: update ref to latest tutorials (#20322)
Co-authored-by: Borda <Borda@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2024-10-21 16:18:56 +02:00
dependabot[bot] 8c5fc89f39
build(deps): bump Lightning-AI/utilities from 0.11.7 to 0.11.8 (#20354)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2024-10-21 16:15:01 +02:00
WuJian 6f86497f55
docs: fix pytorch version typo in upgrade/from_2_0 (#20333) 2024-10-21 16:11:22 +02:00
Jirka Borovec 0e1e14f815
docs: fix removed ref to `deepspeed.initialize` (#20353)
* docs: fix removed ref to `deepspeed.initialize`

* fix links
2024-10-21 06:47:30 -07:00
Jirka Borovec af19dda05c
fix(lint): emergency bump `docformatter` (#20352) 2024-10-21 11:53:45 +02:00
pete-mcelroy 8ad3e29816
Decoupled checkpoint artifact path from model artifact path (#20325)
Co-authored-by: peter.mcelroy <peter.mcelroy@earthdaily.com>
2024-10-09 00:30:44 +01:00
Ali Alshaarawy 5dea36c5e2
update BitsandBytes version (#20313)
* upggrade requiremnets.txt

* update fabric bitsandbytes linear quantization for bnb 0.44.1

* add quant_storage param

* exclude macos from bnb upgrade

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

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-02 12:18:43 -04:00
Nishant Dahal 66508ff4b7
docs: add note for `TQDMProgressBar` (#20198)
* Add documentation note for TQDMProgressBar

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-30 18:29:21 +02:00
Tianshu Wang 474bdd0393
Make RichProgressBar visible for both light and dark background (#20260) 2024-09-30 18:08:45 +02:00
vincentme 5be58f6271
docs: fix a typo of precision (#20252) 2024-09-27 21:19:43 +02:00
Jirka Borovec 70f188b95c
docs: fix broken links to W&B (#20298) 2024-09-26 11:52:33 -04:00
Jirka Borovec d1ca3c6e09
fix(tests): update tests after torch 2.4.1 (#20302)
* update

* test_loggers_pickle_all

* more...

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

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

* fix

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-26 11:52:22 -04:00
Jirka Borovec e452fe83b1
fix(ci): update for breaking change with upload/download (#20304) 2024-09-26 13:51:24 +02:00
Emi 48279a7961
Update favicon to match Lightning AI app consistency (#20290)
* Update favicon

* Update favicons - all sizes
2024-09-20 10:08:45 +02:00
dependabot[bot] 7eafab98eb
build(deps): bump peter-evans/create-pull-request from 6 to 7 (#20266)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 12:48:55 +02:00
dependabot[bot] 949091570c
build(deps): bump Lightning-AI/utilities from 0.11.6 to 0.11.7 (#20267)
* build(deps): bump Lightning-AI/utilities from 0.11.6 to 0.11.7

Bumps [Lightning-AI/utilities](https://github.com/lightning-ai/utilities) from 0.11.6 to 0.11.7.
- [Release notes](https://github.com/lightning-ai/utilities/releases)
- [Changelog](https://github.com/Lightning-AI/utilities/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lightning-ai/utilities/compare/v0.11.6...v0.11.7)

---
updated-dependencies:
- dependency-name: Lightning-AI/utilities
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Apply suggestions from code review

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2024-09-16 12:19:49 +02:00
PL Ghost 7d2b85916d
docs: update ref to latest tutorials (#20284)
update tutorials to `d5273534`

Co-authored-by: Borda <Borda@users.noreply.github.com>
2024-09-15 09:10:10 +02:00
PL Ghost bc3c9c536d
docs: update ref to latest tutorials (#20262)
update tutorials to `3f8a254d`

Co-authored-by: Borda <Borda@users.noreply.github.com>
2024-09-08 16:38:06 +02:00
William Falcon f3f10d4603
Update README.md 2024-08-22 09:59:19 -04:00
Jirka Borovec f5bc685805
docs: adding link to recommendation studio (#20197)
* docs: adding link to recommendation studio

* line
2024-08-20 10:51:14 -04:00
Jirka Borovec f6627ea1ec
docs: adding link to forecasting studio (#20196)
* docs: adding link to forecasting studio

* lint
2024-08-20 10:18:27 -04:00
William Falcon 025c30e6bc
Update README.md 2024-08-15 18:16:43 -04:00
Thomas Viehmann 1551a16b94
Add device property to lazy load functionality (#20183) 2024-08-09 08:41:40 -04:00
GdoongMathew 828fd99896
Re-enable passing BytesIO as path in `.to_onnx()` (#20172) 2024-08-07 11:07:02 -04:00
Abhishek Singh be0ae06596
Add `ddp_find_unused_parameters_true` alias in Fabric's DDPStrategy (#20125) 2024-08-07 10:47:36 -04:00
Jirka Borovec 2129fdf362
fix(ci): resolve input str -> num conversion (#20169) 2024-08-07 04:59:05 -04:00
Jirka Borovec cf24a190ce
fix(docs): remove dead link from readme (#20170) 2024-08-06 11:05:00 -04:00
Jirka Borovec a3e60ad420
ci/docs: disable optional cache pkg (#20168) 2024-08-06 14:43:32 +02:00
Jirka Borovec 87ffd8ce7c
ci: fix cleaning caches (#20167) 2024-08-06 12:59:55 +02:00
awaelchli b3ee85d3a3
Prepare Lightning 2.4.0 release (#20154)
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2024-08-05 17:32:32 -04:00
Corwin Joy 631911c004
Add special logic for 'step' in _optimizer_to_device (#20019)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2024-08-05 17:17:06 -04:00
awaelchli 345450b0c3
Fix parameter count in ModelSummary when parameters are DTensors (#20163) 2024-08-05 10:57:31 -04:00