Commit Graph

41 Commits

Author SHA1 Message Date
dependabot[bot] 3b80dea262
Bump actions/checkout from 3 to 4 +TPU (#18518)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2023-10-03 21:42:18 +02:00
Jirka Borovec 3c702b6a99
ci: patch all install with 20min timeout (#18696)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-03 20:40:43 +02:00
Jirka Borovec d579cfed57
precommit: unify formatting with prettier (#18605)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-25 14:34:41 +02:00
Jirka Borovec 5f5d99eae6
Relax app dependencies for `lightning` | breaking imports from `L` (#18386)
* make App conditional import

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

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

* ci: min req.

* data + store

* typo

* module_available

* extra

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

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

* typo

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

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

* envs

* doctest

* more

* docs

* **

* rm

* -f

* Apply suggestions from code review

* docs

* Revert "docs"

This reverts commit 20e8e6be98.

* Apply suggestions from code review

* warnings

* breaking

* ...

* fixing source

* fixing examples

* fixing tests

* fixing docs

* fixing source

* fix mock

* fix trainer

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-28 11:28:58 -04:00
Jirka Borovec 75096012f8
ci: testing with py3.11 (#17822) 2023-08-28 15:15:12 +00:00
Jirka Borovec 7f1aa7229c
ci: hotfix for doctests (#17841) 2023-06-15 15:25:59 +00:00
Carlos Mocholí dc298f2340
Drop support for Python 3.7 (#16579)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2023-02-01 01:36:42 +00:00
Jirka Borovec 38a98f447f
ci: update doctest for installed packages (#16574) 2023-01-31 11:41:05 +00:00
Jirka Borovec 13c3136063
move `tensorboardX` to extra (#16349)
* tensorboardX > extra

* default

* chlog

* doctest_skip

* mypy

* Update docs

* plus

* Apply suggestions from code review

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Luca Antiga <luca.antiga@gmail.com>

* fix

* mypy

* docs

* Apply suggestions from code review

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>

* .

* ll

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
2023-01-16 09:06:14 +01: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
Jirka Borovec fee671ad53
fixing install from src package & CI release (#16027)
* debug install
* hotfix
* local
* refactor
* lit swap
* pruning
2022-12-21 08:58:32 +00:00
Carlos Mocholí ca75e497a2
Merge setup_tools into assistant (#15847)
* Merge setup_tools and assistant
* Project root
* Fix PROJECT_ROOT

Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2022-12-13 14:47:35 +00:00
Jirka Borovec 18a463808c
CI: clean install & share pkg build (#15986)
* abstract pkg build
* share ci
* syntax
* Checkgroup
* folders
* whl 1st
* doctest

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-12-13 06:55:39 +01:00
Carlos Mocholí 9a778fc659
Fix pip install with no PACKAGE_NAME or editable mode (#15853)
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-12-11 23:01:06 +00:00
Jirka Borovec ad4bd66df6
hotfix import torch (#15849)
* fix import torch

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

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

* plugin

* fix

* skip

* patch require

* seed

* warn

* .

* ..

* skip True

* 0.0.3

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-28 14:58:29 +01:00
Carlos Mocholí cca343267c
Checkgroup config fixes (#15787) 2022-11-26 01:16:48 +00:00
Carlos Mocholí 80e7538379
Enable Probot CheckGroup v4 (#15649) 2022-11-16 11:07:02 +01:00
Adrian Wälchli c32c435eb1
Add LightningLite to top level imports (#15502)
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-11-12 01:39:38 +00:00
Carlos Mocholí 1954764c4a
Refactor checkgroup to avoid duplicated checks (#15633)
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2022-11-11 16:38:09 +00:00
Carlos Mocholí f392180c38
Do not modify PACKAGE_NAME on install (#15493)
* Do not modify PACKAGE_NAME on install

* Fix ci pkg action

* Required

* Typos

* Apply suggestions from code review

* Undo defaults

* Cleanup

* Implement idea

* Fuck

* Apps mock fix

* Fix app-pytest with PKG_NAME=app

* Justus suggestion

* Debug Windows

* Update setup.py

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Revert "Debug Windows"

This reverts commit 9fe3ba3665.

* SSH action

* Crazy bug

* Revert "SSH action"

This reverts commit 5061e8e7d6.

* Package import step

* Avoid env conflict

* Debug

* Whitespace

* Try removing existing lite build

* This should be redundant now

* Add back env now that source-lit is gone

* Remove download artifact

* checkgroup

* TODOs suggested by Jirka

* _

* Revert "_". These are local variables, do not need protected

This reverts commit 8340b85991.

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-11-04 17:51:03 +01:00
Jirka Borovec 4ddc51b05a
CI: skip jobs in draft (#15529)
* skip jobs in draft
* types
2022-11-04 16:17:48 +00:00
Jirka Borovec 78275f11a5
CI: exclude docs requirements changes (#15488) 2022-11-03 21:28:31 +00:00
Jirka Borovec 5d638cf3c8
ci: fix & unify pkg name (#15470) 2022-11-02 13:00:48 +00:00
Jirka Borovec fb9dae8df3
ci: update install lite & cut pkg dependency (#14517)
* ci: update install lite

* try without lite in req file

* ci: install

* app

* init

* Revert "app"

This reverts commit f3f09e7888.

* ci: cpu

* ci: gpu

* pkg

* env

* bench

* trigger

* notes

* prune

* set version

* fix version

* git reset

* hpu, ipu

* adjust

* --hard

* git checkout

* Apply suggestions from code review

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>

* rc2

* L

* docs

* hpu

Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
2022-10-31 20:50:51 +01:00
Jirka Borovec 95ae393ca8
LAI: creating mirror package (#15105)
* placeholder

* mirror + prune

* makedir

* setup

* ci

* ci

* name

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

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

* ci clean

* empty

* py

* parallel

* doctest

* flake8

* ci

* typo

* replace

* clean

* Apply suggestions from code review

* re.sub

* fix UI path

* full replace

* ui path?

* replace

* updates

* regex

* ci

* fix

* ci

* path

* ci

* replace

* Update .actions/setup_tools.py

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* also convert lightning_lite tests for PL tests to adapt mocking paths

* fix app example test

* update logger propagation for PL tests

* update logger propagation for PL tests

* Apply suggestions from code review

* Revert "update logger propagation for PL tests"

This reverts commit c1a5e119c7.

* playwright

* py

* update import in tests

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

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

* try edit import in overwrite

* debug code

* rev playwright

* Revert "try edit import in overwrite"

This reverts commit c02f766521.

* ci: adjust examples

* adjust examples cloud

* mock lightning_app

* Install assistant dependencies

* lightning

* setup

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>

* Apply suggestions from code review

* disable cache

* move doctest to install

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

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

* )

* echo ./

* ci

* lru

* revert disabling cache, prints

* ci

* prune ci jobs

* prune ci jobs

* training loop standalone tests

* add sys modules cleanup fixture

* make use of fixture

* revert standalone

* ci e2e

* fix imports in lightning

* fix imports of lightning in tests

* Revert "make use of fixture"

This reverts commit c15efdd205.

* Revert other commits for fixtures

* revert use of fixture

* py3.9

* fix mocking

* fix paths

* hack mocking

* docs

* Apply suggestions from code review

* rev suggestion

* Minor changes to the parametrizations

* Update checkgroup with the new and changed jobs

* include frontend dir

* cli

* fix imports and entry point

* Revert standalone

* rc1

* e2e on staging

* Revert "Revert standalone"

This reverts commit 9df96685b8.

* groups

* to

* ci: pt ver

* docker

* Apply suggestions from code review

* Copy over changes from previous commit to other groups

* Add back changes from bad merge

* Uppercase step name everywhere

* update

* ci

* ci: lai oldest

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Co-authored-by: Justus Schock <justus.schock@posteo.de>
Co-authored-by: manskx <ahmed.mansy156@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
2022-10-27 12:32:49 +02:00
dependabot[bot] 3cccaec60b
Pin test requirements to their current latest versions (#15157)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-10-26 14:31:25 +00:00
Jirka Borovec 9c2164a1ad
Run all tests in master (#15288)
* example full tests on master

* Modify checkgroup

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-10-25 12:34:04 -04:00
otaj 099580cf2b
Assistant fixes (#15221)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-10-20 18:23:47 +00:00
Justus Schock 775e9ebc0f
Assistant for Unified Package (#15207)
* Update assistant and workflow files
* Update .actions/assistant.py

Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: otaj <ota@lightning.ai>
2022-10-20 14:17:27 +00:00
Jirka Borovec d0b092fda8
Lite: setting extras & fix CI (#15192)
* extras
* test.txt
* doctest
* Apply suggestions from code review
* Fix imports
* Oops

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-10-19 19:05:23 +00:00
Jirka Borovec 1883295eac
CI: use native oldest for package (#15094)
* use native oldest for package
* print
* adjust
2022-10-19 00:55:00 +02:00
Jirka Borovec f9ef19f108
Run CI helpers' doctests in a workflow (#14498)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-09-30 01:56:56 +02:00
Jirka Borovec fcd1a8d8c1
CI: install more OS (#14660) 2022-09-13 14:03:49 -04:00
Jirka Borovec 4b77adba64
CI: run CLI after install (#14659) 2022-09-13 11:45:32 +09:00
Jirka Borovec 7cbf153332
CI: hotfix last version (#14627)
LooseVersion was not correctly evaluation RC and set it as last even though the full release is out...
2022-09-09 18:38:03 +00:00
Carlos Mocholí b0683b4eae
Use the `pull_request_target` workflow event (#14603)
* Use the `pull_request_target` workflow event
* Minor  cleanup
* ready_for_review
2022-09-08 15:29:28 +02:00
dependabot[bot] e5395de9d3
Bump actions/checkout from 2 to 3 (#14540)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:13:08 +02:00
Jirka Borovec 6773df9387
pkg: include lite in PL (#14536)
* pkg: include lite in PL
* Apply suggestions from code review
* ci: nb dirs

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-05 13:18:38 +00:00
Adrian Wälchli 291dc1b615
Standalone Lite CI setup (#14451)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-09-01 22:13:12 +00:00
Akihiro Nitta dfda3f384e
CI: Update Windows version from 2019 to 2022 (#14129)
Update windows
2022-08-10 05:02:54 -04:00
Akihiro Nitta d211d46e1d
CI: Replace `_` of in GHA workflow filenames with `-` (#13917)
* Rename workflow files

* Update docs

* Fix azure badges

* Update the main readme

* bad rebase

* Update doc
2022-08-10 11:35:41 +09:00