Commit Graph

83 Commits

Author SHA1 Message Date
Nicki Skafte Detlefsen
233794816d Update ci to min python v3.10 (#21344)
* update ci to min python v3.10

* fix string formatting
2025-11-07 16:31:31 +00:00
Jirka Borovec
2f448e14fc drop dumping wheels after UV switch (#21217) 2025-10-28 14:01:03 +00:00
dependabot[bot]
701e560261 build(deps): bump astral-sh/setup-uv from 6 to 7 (#21284)
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 6 to 7.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](https://github.com/astral-sh/setup-uv/compare/v6...v7)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: '7'
  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>
Co-authored-by: Bhimraj Yadav <bhimrajyadav977@gmail.com>
2025-10-15 08:20:02 +05:45
Jirka Borovec
cd30ce4581 tests: ignore future warning for oldest configurations (#21185)
* tests: ignore future warning for oldest configurations
* prune_pytest_as_errors
* update

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-08 22:48:11 +02:00
Jirka Borovec
d204cb10af fix using CPU torch with UV (#21181)
* fix using CPU torch with UV

* ignore

* ignore
2025-09-08 13:01:45 +05:45
Shion Matsumoto
663b6ce3a8 uv for tests-fabric (#21155) 2025-09-03 15:53:04 +02:00
Shion Matsumoto
c3ca8a516f Fix workflow matrix reference (#21145)
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2025-09-02 11:15:42 +02:00
Shion Matsumoto
e760ad5643 Simplify Fabric tests workflow matrix (#21142) 2025-09-01 17:47:03 +02:00
Jirka Borovec
a08b64edda ci: pin also test requirements for minimal setup (#21102)
* ci: pin also test requirements for minimal setup
* onnx >1.12.0
* numpy >1.20.0
* onnxscript >= 0.1.0
* tensorboard >=2.11
* tensorboardX >=2.6

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-21 18:07:18 +02:00
Jirka Borovec
8ff43d46d1 switch to lightning_utilities.cli requirements set-oldest (#21077) 2025-08-19 13:15:58 +02:00
dependabot[bot]
5751f8cdbc build(deps): bump actions/checkout from 4 to 5 (#21091)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  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>
2025-08-18 08:35:33 +02:00
Jirka Borovec
4ff8ff7d76 chore: bump PyTorch version in dependencies & CI (#21043)
* bump PyTorch version in dependencies & CI

build(deps): update torchvision requirement in /requirements

Updates the requirements on [torchvision](https://github.com/pytorch/vision) to permit the latest version.
- [Release notes](https://github.com/pytorch/vision/releases)
- [Commits](https://github.com/pytorch/vision/compare/v0.16.0...0.23.0)

---
updated-dependencies:
- dependency-name: torchvision
  dependency-version: 0.23.0
  dependency-type: direct:production
...

* RunIf(linux_only=True)
* _xfail_gloo_windows
* FixMe
* flaky

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-13 09:18:30 +02:00
Jirka Borovec
02ddc349f8 ci: force pip install with --upgrade-strategy=eager (#20958) 2025-07-02 12:42:05 +02:00
Jirka Borovec
242d80ff98 test: addressing flaky spawn "process 0 terminated with signal SIGABRT" (#20933) 2025-06-24 18:16:37 +02:00
Jirka Borovec
2358ed338b debugging flaky test_collective_operations with SIGABRT (#20912) 2025-06-17 15:11:28 +02:00
Jirka Borovec
d57c2a3ff1 ci: bump dead ubuntu 20.04 (#20719) 2025-04-16 10:54:33 +02:00
Tom Hu
02311d03fb feat: add Codecov test results (#20694)
* feat: add Codecov test results
* linter

---------

Co-authored-by: Jirka B <j.borovec+github@gmail.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2025-04-07 13:57:07 +02:00
Jirka Borovec
28f0fcb286 ci: bump next torch 2.7 (#20656)
* ci: bump next `torch` 2.7
* cuda_version: "12.6.3"
2025-03-19 15:15:38 +01:00
Jirka Borovec
a0134d238a bump: testing with latest torch 2.6 (#20509)
* bump: testing with future torch 2.6
* bump `typing-extensions`
* TORCHINDUCTOR_CACHE_DIR
* bitsandbytes
* Apply suggestions from code review
* _TORCH_LESS_EQUAL_2_6

---------

Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Luca Antiga <luca@lightning.ai>
2025-03-11 14:56:56 +01:00
Jirka Borovec
02e2668b3e ci: aggregate checks with guardian (#20635) 2025-03-11 14:24:32 +01:00
Luca Antiga
4337f7fcda Revert "Patch jsonargparse for Python >= 3.12.8" (#20513)
* Revert "Patch jsonargparse for Python >= 3.12.8 (#20479)"

This reverts commit 38971a0cae.

* Update upper bound for jsonargparse

* Ensure jsonargparse is up to date in containers

* Skip pt 2.1 tests incompatible with new jsonargparse
2024-12-21 01:51:06 +01:00
Luca Antiga
38971a0cae Patch jsonargparse for Python >= 3.12.8 (#20479)
* Patch argparse _parse_known_args

* Add patch to test

* Avoid importing lightning in assistant

* Fix return type
2024-12-09 14:35:44 +01:00
Luca Antiga
8892b2c45d Temporarily pin Python at 3.12.7 to avoid jsonargparse issue in CI (#20476)
Temporarily pin Python at 3.12.7 to avoid jsonargparse issue
2024-12-07 19:52:21 -08: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
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
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
awaelchli
2064887b12 Switch to PyTorch 2.4 stable testing (#20126) 2024-07-25 06:59:43 -04:00
awaelchli
bdafe5e739 Add Python 3.12 to the CPU test matrix (#20078) 2024-07-13 06:07:35 -04:00
awaelchli
9987d993a0 Remove support for Python 3.8 (#20071) 2024-07-12 10:33:35 -04:00
awaelchli
693c21ac1b Add testing for PyTorch 2.4 (Fabric) (#20028) 2024-07-02 18:01:03 -04:00
awaelchli
14493c0685 Drop PyTorch 2.0 from the test matrix (#20009) 2024-06-30 18:02:00 -04:00
awaelchli
5636fe4a9c CI: replace macOS-11 with macOS-14 (#20029) 2024-06-30 16:19:38 -04:00
Adrian Wälchli
49ed2b102b Add PyTorch 2.3 to CI matrix (#19708) 2024-04-29 07:16:13 -04:00
Adrian Wälchli
5e0e02b79e Remove support for PyTorch 1.13 (#19706) 2024-04-27 01:24:07 -04:00
dependabot[bot]
0520d94c71 Bump codecov/codecov-action from 3 to 4 (#19406)
bump

Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2024-02-26 11:19:10 -05:00
dependabot[bot]
ddf2ac4df9 Bump actions/cache from 3 to 4 (#19323)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  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-02-16 18:33:16 +01:00
awaelchli
3fbc29ba21 Fix CSVLogger trying to append to file from previous run in same version folder (#19446) 2024-02-13 13:59:04 -05:00
awaelchli
c7c42dcef3 Update CI to use latest PyTorch 2.2 (#19401) 2024-02-05 12:50:23 -05:00
awaelchli
1a59097ab2 Drop support for PyTorch 1.12 (#19300)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2024-01-26 11:44:24 -05:00
Jirka Borovec
3bd133b107 CI: enable testing with coming PT 2.2 (#19289)
* ci: build dockers for PT 2.2
* py3.12
* --pre --extra-index-url
* typing-extensions
* bump jsonargparse
* install latest jsonargparse
* Add windows skips for Fabric
* convert to xfail
* add pytorch skips
* skip checkpoint consolidation test
* set max torch

---------

Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-26 16:42:09 +01:00
dependabot[bot]
ae1f78cb9c Bump actions/setup-python from 4 to 5 (#19136)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  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>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2024-01-09 08:33:09 -05:00
Jirka Borovec
6ea0e2d632 ci: cancel-in-progress if PR (#19204) 2023-12-21 17:49:18 -05:00
Jirka Borovec
3c1dc71447 ci: freeze requirements used in workflows (#19146) 2023-12-14 14:49:43 +01:00
Adrian Wälchli
197b22586a Fix comm initialization in MPIEnvironment (#19074) 2023-11-28 16:14:46 -05:00
Adrian Wälchli
da79480054 PyTest random order for Fabric tests (#19040) 2023-11-22 16:41:49 -05:00
Jirka Borovec
4ad8bdbe20 releasing 2.1.0 rc1 (#18762) 2023-10-10 10:14:58 +02:00
Adrian Wälchli
c514f1cbea Enable PyTorch 2.1 (#18718) 2023-10-06 07:17:03 -04:00
Adrian Wälchli
d31ef1f7d3 Drop support for PyTorch 1.11 (#18691)
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2023-10-04 20:30:44 +02:00