Commit Graph

9177 Commits

Author SHA1 Message Date
Ethan Harris 8d310b89ea
[App] Add missing python-multipart dependency (#17244)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2023-04-27 10:21:04 +00:00
Jirka Borovec 156786343b
adding check for bandit vulnerabilities 1/n (#17382)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-27 09:43:12 +00:00
Carlos Mocholí 26666cb568
Shared `Fabric._wrap_and_launch` code (#17473) 2023-04-27 00:17:22 +00:00
Jirka Borovec cc3800aac3
simple examples instead of skips (#17482)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-26 22:27:53 +02:00
pre-commit-ci[bot] 91cb4b9b87
[pre-commit.ci] pre-commit suggestions (#17271)
* [pre-commit.ci] pre-commit suggestions

updates:
- [github.com/PyCQA/docformatter: v1.4 → v1.6.0](https://github.com/PyCQA/docformatter/compare/v1.4...v1.6.0)
- [github.com/psf/black: 22.12.0 → 23.3.0](https://github.com/psf/black/compare/22.12.0...23.3.0)
- [github.com/charliermarsh/ruff-pre-commit: v0.0.237 → v0.0.260](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.237...v0.0.260)

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

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

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

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

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

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

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

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

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

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

* update

* apply

* fixing

* docs/lines

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2023-04-26 21:37:41 +02:00
Adrian Wälchli 4d17b5fe77
Improved model initialization API for Fabric (#17462)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2023-04-26 11:25:33 -04:00
Adrian Wälchli d48ec08d76
Update gradient clipping docs in Fabric (#17470) 2023-04-25 20:20:05 +00:00
Jane (Yuan) Xu 68b56ba7f8
Update the MockOptimizer set_to_none default to match PyTorch (#17463)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-04-25 16:46:45 +00:00
Carlos Mocholí b0af0eede2
Fallback to module available check for mlflow (#17467) 2023-04-25 15:46:28 +00:00
dependabot[bot] b792c90ea7
Update deepspeed requirement support window (#16813)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2023-04-25 17:26:49 +02:00
Jirka Borovec 843a167838
drop contribution badge (#17471) 2023-04-25 14:35:02 +02:00
Carlos Mocholí 1145c450b5
Remove devel.txt requirements file (#17466) 2023-04-25 07:21:21 +00:00
Carlos Mocholí 9627121da7
Simplify strategy installation in CI (#17347) 2023-04-25 01:09:57 +00:00
Shanmugam Ramasamy 524608ce53
Patch for device placement (Reduce host and device syncs) (#17334)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-04-25 00:48:06 +00:00
Carlos Mocholí 039891fb49
Install project specific dependencies (#17376)
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2023-04-24 23:31:47 +00:00
Carlos Mocholí f4b1fc0f71
Input validation for `Fabric.launch` (#17423)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2023-04-25 00:44:48 +02:00
Jirka Borovec df97141781
add & apply flake8-simplify (#17386) 2023-04-24 21:57:08 +00:00
Jirka Borovec 6705bfcc47
app/tests: skip instead of fail (#17461) 2023-04-24 22:56:04 +02:00
dependabot[bot] d8234c5003
Update traitlets requirement from <5.9.0,>=5.3.0 to >=5.3.0,<5.10.0 in /requirements (#17398)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 19:59:52 +00:00
Jirka Borovec 68716cc80a
typing: fix App's core API - api (#16950)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-24 19:49:14 +00:00
dependabot[bot] 05bcc8c2a5
Update aiohttp requirement from <=3.8.3,>=3.8.0 to >=3.8.0,<=3.8.4 in /requirements (#17315)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 19:34:42 +00:00
dependabot[bot] cae1888ae5
Update inquirer requirement from <=3.1.2,>=2.10.0 to >=2.10.0,<=3.1.3 in /requirements (#17258)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-24 18:51:51 +00:00
dependabot[bot] 09ae070d2d
Update uvicorn requirement from <0.19.1 to <0.21.2 in /requirements (#17314)
Updates the requirements on [uvicorn](https://github.com/encode/uvicorn) to permit the latest version.
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/uvicorn/compare/0.0.1...0.21.1)

---
updated-dependencies:
- dependency-name: uvicorn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 18:28:14 +00:00
Jirka Borovec 9417b30c71
ci: update OS for pkg release (#17455) 2023-04-24 12:35:46 -04:00
Ethan Harris 57ad46258b
[App] Fix resolution of latest version in CLI (#17351)
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2023-04-24 16:14:36 +00:00
Jirka Borovec a5c43d3b2b
docs: fix past versions location (#17432) 2023-04-24 14:07:22 +00:00
Jirka Borovec e38e2cccd4
set codecov as informational (#17453) 2023-04-24 09:18:32 -04:00
Adrian Wälchli d9b4ebd726
Enable precision autocast for `LightningModule` step methods in Fabric (#17439) 2023-04-24 11:50:59 +00:00
Ethan Harris e82672414e
App: Fix AppState, streamlit example (#17452) 2023-04-24 07:27:35 -04:00
Jirka Borovec 0c4b9a63a1
hpu: add extra warning after removal (#17372)
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>
2023-04-24 11:18:57 +01:00
Irina 0fdd76dab0
feat: customize gradio components with lightning colors (#17054)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: Yurij Mikhalevich <yurij@grid.ai>
2023-04-24 09:36:19 +00:00
Adrian Wälchli 20303e4736
Add Fabric.launch to Fabric methods section (#17437)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-24 10:28:52 +02:00
Jirka Borovec 44ce386135
req: formatting (#17335) 2023-04-24 09:19:20 +01:00
Adrian Wälchli 0631fa02ef
Handle edge case in `Fabric.setup()` when model has no parameters (#17441) 2023-04-24 10:13:36 +02:00
Adrian Wälchli 2e5a7f9cf5
Fix `num_nodes` not set for FSDPStrategy (#17438) 2023-04-24 10:12:05 +02:00
thomas chaton 3688b6495d
Resolve Lightning App with remote storage (#17426)
* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

---------

Co-authored-by: thomas <thomas@thomass-MacBook-Pro.local>
2023-04-23 18:08:11 -04:00
Adrian Wälchli 92b379e90a
Document access to Fabric attributes inside LightningModule (#17440) 2023-04-22 09:10:06 +02:00
Adrian Wälchli 877d95f8d7
Minor Fabric backward refactor (#17433) 2023-04-21 19:36:46 +00:00
Adrian Wälchli 0ee71d6a7a
Fix LightningModule step methods bypassing DDP wrapper in Fabric (#17424)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-21 15:29:32 -04:00
Jirka Borovec 111d1ba088
ruff: fixing flake8-comprehensions (#17385) 2023-04-21 09:07:58 +00:00
Carlos Mocholí 8dac251273
[TPU] Fix PjRT tests (#17408) 2023-04-19 16:39:00 +02:00
Carlos Mocholí 5edb3b5126
[TPU] Do not delete jobs with "keepalive" in the name (#17411)
[TPU] Do not delete jobs with "keepalive" in the name
2023-04-19 14:02:02 +02:00
Jirka Borovec 26a549e87f
drop failing e2e quick app (#17409)
* drop failing e2e quick app

* codeowners

* Apply suggestions from code review
2023-04-19 12:31:56 +02:00
Adrian Wälchli 21ae19c69f
Add dynamo RunIf skip condition (#17404)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-19 01:09:42 +02:00
Liyang90 47726391ad
[TPU] Add support for PJRT from PyTorch/XLA 2.0 (#17352)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2023-04-18 18:52:36 +02:00
Carlos Mocholí b0b5b9ce57
[TPU] Fix workflow (#17406)
* [TPU] Fix workflow

* Whitespace
2023-04-18 18:11:03 +02:00
Carlos Mocholí 90ad36795a
[TPU] Refactor availability check (#17384) 2023-04-18 17:52:13 +02:00
Dmitry Frolov 7893d22b6f
Bump default E2E tests image version (#17403)
Bump default E2E image version

Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2023-04-18 10:54:59 -04:00
Carlos Mocholí 3fd4d96cf3
Fix PyTorch MPS test failure in master (#17405) 2023-04-18 16:53:53 +02:00
Ryan Smith 8d5a91a2dd
Update Fabric CPU tests to work on GPU machines (#17391) 2023-04-18 14:03:40 +00:00