Commit Graph

10467 Commits

Author SHA1 Message Date
Jirka Borovec 8f39967036
Merge branch 'master' into bump/python_3.9+ 2024-11-19 09:50:52 +01:00
Jirka Borovec 8cf185a06d
fix: use standalone tests' exit code (#20430) 2024-11-19 09:50:26 +01:00
dependabot[bot] 173cb8c1d1
build(deps): bump codecov/codecov-action from 4 to 5 (#20427)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 20:27:41 +01:00
Luca Antiga 392f643ba0
Merge branch 'master' into bump/python_3.9+ 2024-11-14 23:53:18 +01:00
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
Jirka B c542968f63 apply fixes 2024-11-13 21:10:08 +01:00
Jirka B 4f221638d3 Merge branch 'master' into bump/python_3.9+ 2024-11-13 21:09:58 +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
Jirka Borovec ce62f96c91
Merge branch 'master' into bump/python_3.9+ 2024-11-13 16:04:49 +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
Jirka B 5da2e4342e apply fixes 2024-11-13 13:50:27 +01:00
Jirka B b373a76746 Merge branch 'master' into bump/python_3.9+ 2024-11-13 13:49:56 +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
Jirka B cba33915f4 Merge branch 'master' into bump/python_3.9+ 2024-11-12 23:59:56 +01:00
Jirka B 7421932b7f update CI 2024-11-12 23:59:32 +01:00
Thibaut Durand b0aa504f80
docs: fix incorrect link in expert level up (#20408) 2024-11-12 22:43:49 +01:00
Jirka B 78582621fd type: ignore[misc] 2024-11-12 22:35:02 +01:00
Jirka B a35f1fe34b contextlib.AbstractContextManager 2024-11-12 22:22:57 +01:00
Jirka B b9920bdd78 --unsafe-fixes 2024-11-12 21:41:33 +01:00
pre-commit-ci[bot] c11c392acd [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-11-12 20:29:05 +00:00
Jirka B 060d951605 bump python 3.9+ 2024-11-12 21:27:26 +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