Commit Graph

7749 Commits

Author SHA1 Message Date
Carlos Mocholí e859546b96
Integrate lightning_utilities `is_overridden` (#14620) 2022-09-12 15:16:57 +02:00
Jirka Borovec 199c2ae89f
Drop duplicate docs requirements (#14644)
Delete base.txt

Co-authored-by: thomas chaton <thomas@grid.ai>
2022-09-12 09:12:30 -04:00
awaelchli cbbd148089 Add back-compatibility for checkpoint io plugins in pl/plugins/io (#14519) 2022-09-12 08:28:46 -04:00
awaelchli 463439e624 Move checkpoint io plugins from pl/plugins/io to lite/plugins/io (#14519) 2022-09-12 08:28:46 -04:00
Adrian Wälchli 024e7b8204
Standalone Lite: Cluster Environments (#14509) 2022-09-12 12:20:08 +02:00
William Falcon b33e3ef18a
simplify storage import (#14638)
* docs

* t1

* simple import

* simple import

* simple import

* simple import

* Update __version__.py

* [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>
2022-09-10 20:03:11 -04:00
Akihiro Nitta a409b23055
Remove deprecated test_tube dependency from `environment.yml` (#14617)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-09-10 15:33:54 -04:00
dependabot[bot] 3c23125aab
Bump carmocca/probot from 1 to 2 (#14336) 2022-09-09 20:13:18 +00:00
Rui Wang 40868f7f43
Add bagua support for CUDA 11.6 images (#14529)
* Add support for bagua-cuda116

* Remove bagua-cuda115 from installation

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-09-09 20:07:25 +00:00
Vasilis Vryniotis 7e9e441843
Use TorchVision's Multi-weight Support and Model Registration API on Lightning (#14567)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-09 20:04:57 +00:00
dependabot[bot] d5b32c3087
Update s3fs requirement from <=2022.7.1,>=2022.5.0 to >=2022.5.0,<2022.8.3 in /requirements (#14585)
Update s3fs requirement in /requirements

Updates the requirements on [s3fs](https://github.com/fsspec/s3fs) to permit the latest version.
- [Release notes](https://github.com/fsspec/s3fs/releases)
- [Changelog](https://github.com/fsspec/s3fs/blob/main/release-procedure.md)
- [Commits](https://github.com/fsspec/s3fs/compare/2022.5.0...2022.8.2)

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

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-09 19:58:49 +00:00
Adrian Wälchli 2b50cbb4d3
Avoid instantiating every accelerator in the registry (#14591)
* Avoid instantiating every accelerator in the registry when listing available ones
2022-09-09 21:08:34 +02:00
Laverne Henderson 3a66798a6c
Update content for S3 persistent storage (#14060)
* Update content for S3 persistent storage
* Updates based on feedback
* Fix unstructured validation issue
* Updates based on feedback

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: edenlightning <66261195+edenlightning@users.noreply.github.com>
Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-09-09 20:59:03 +02: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í b84c03f3a6
Update checkgroup config (#14587) 2022-09-08 23:12:58 +09: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
Adrian Wälchli 95374440ce
Move device parser tests inside Lite (#14586) 2022-09-07 21:22:46 +00:00
Adrian Wälchli 59fcabf53a
Refactor `_get_rank` utility to take strategy instead of trainer (#14546) 2022-09-07 16:56:39 -04:00
Kushashwa Ravi Shrimali 06fa9ea3e0
PL: update changelog post 1.7.5 release (#14570)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-09-07 22:35:05 +02:00
dependabot[bot] 4d082e4dac
Update fastapi requirement from <=0.79.0 to <0.83.0 in /requirements (#14576)
Updates the requirements on [fastapi](https://github.com/tiangolo/fastapi) to permit the latest version.
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Commits](https://github.com/tiangolo/fastapi/compare/0.1.11...0.82.0)

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

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-07 16:30:46 +00:00
dependabot[bot] 6cf666c6f1
Update neptune-client requirement from <0.16.4,>=0.10.0 to >=0.10.0,<0.16.8 in /requirements (#14582)
Update neptune-client requirement in /requirements

Updates the requirements on [neptune-client](https://github.com/neptune-ai/neptune-client) to permit the latest version.
- [Release notes](https://github.com/neptune-ai/neptune-client/releases)
- [Changelog](https://github.com/neptune-ai/neptune-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/neptune-ai/neptune-client/compare/0.10.0...0.16.7)

---
updated-dependencies:
- dependency-name: neptune-client
  dependency-type: direct:production
...

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-07 16:22:34 +00:00
Rick Izzo 12d4b2a5f5
Fix(ci) ONC-114: reduce the ci load by only installing lmdb in tests (#14581)
reduce the ci load by only installing lmdb in tests
2022-09-07 11:55:03 -04:00
Adrian Wälchli d2459df2ff
Standalone Lite: Remaining Utilities (#14492)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Laverne Henderson <laverne.henderson@coupa.com>
Co-authored-by: Felonious-Spellfire <felonious.spellfire@gmail.com>
2022-09-07 15:25:23 +00:00
pierocor 31dc6c6714
Add compatibility when `torch.distributed` is not available (#14454)
Co-authored-by: Piero Coronica <piero.coronica@mpcdf.mpg.de>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-07 14:25:20 +00:00
Carlos Mocholí bcad90141a
Remove old test artifacts (#14574) 2022-09-07 10:09:59 -04:00
Carlos Mocholí 46519e2fc7
Add path filters to the TPU job (#14543) 2022-09-07 15:55:45 +02:00
Carlos Mocholí bda70a2f2f
Integrate lightning_utilities `get_all_subclasses` (#14575) 2022-09-07 15:34:46 +02:00
Carlos Mocholí 8c4184c105
Integrate with `lightning_utilities.core.enums` (#14558) 2022-09-07 15:14:14 +02:00
Kushashwa Ravi Shrimali 6de2b0b528
Docs [Fix]: use bytes instead of strings while writing (#14505)
* Fix doc examples: use bytes instead of strings while writing

* Add a note (comment)

* nit

* Update any_server.rst

* Update docs/source-app/workflows/add_server/any_server.rst

* Update docs/source-app/workflows/add_server/any_server.rst

* Update docs/source-app/workflows/add_server/any_server.rst

* Apply suggestions from code review

Co-authored-by: Laverne Henderson <laverne.henderson@coupa.com>
Co-authored-by: Ethan Harris <ethanwharris@gmail.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
2022-09-07 09:05:58 -04:00
dependabot[bot] dbd7703e88
Update fsspec[http] requirement from !=2021.06.0,<2022.6.0,>=2021.05.0 to >=2021.05.0,!=2021.06.0,<2022.8.0 in /requirements (#14288)
Update fsspec[http] requirement in /requirements

Updates the requirements on [fsspec[http]](https://github.com/fsspec/filesystem_spec) to permit the latest version.
- [Release notes](https://github.com/fsspec/filesystem_spec/releases)
- [Commits](https://github.com/fsspec/filesystem_spec/compare/2021.05.0...2022.7.1)

---
updated-dependencies:
- dependency-name: fsspec[http]
  dependency-type: direct:production
...

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-07 09:25:24 +00:00
Carlos Mocholí 5216c51096
Integrate `lightning_utilities.core.rank_zero` (#14556) 2022-09-07 09:21:48 +00:00
Dan Nissenbaum 7ada52e33c
Typo in major heading seen by newcomers (#14501)
* Typo in major heading seen by newcomers

Correct typo in one of the first major headings newcomers to Lightning see when they are considering migrating their code to use Lightning.

I know this is a trivial change in terms of the text change itself, but I really think it's valuable for one of the most important landing pages that users first investigating Lightning see - to have rock-solid, professional text without obvious typos. Here was a typo in the main heading itself. I suggest fixing it straightaway via this PR.

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-09-07 09:06:30 +00:00
Carlos Mocholí 8095e2452d
Cleanup Lite `apply_func`s utilitites (#14560) 2022-09-06 22:35:33 +00:00
Carlos Mocholí 273a9ed8c1
Integrate `lightning_utilities.core.apply_func` (#14537) 2022-09-06 13:52:54 +00:00
Carlos Mocholí 44216fdd69
Integrate `lightning_utilities.core.imports` (#14475)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-09-06 12:56:20 +00:00
Carlos Mocholí 8a4a3b6766
Mark the lite `DeviceDtypeModuleMixin` as protected (#14548) 2022-09-06 14:17:15 +02:00
Rohit Gupta 8c6119fbce
Add auto wrapping support for `DDPFullyShardedStrategy` (#14383) 2022-09-05 19:07:26 +00:00
awaelchli 7f148b2c47 Deprecate pl/utilities/apply_func (#14516) 2022-09-05 20:30:42 +02:00
awaelchli 9fea2ed9d5 move pl/utilities/apply_func.py to pl/utilities/apply_func.py (#14516) 2022-09-05 20:30:42 +02:00
Jirka Borovec ea3d62d475
Setup: add requirement freeze for next major version (#14480) 2022-09-05 18:23:53 +00:00
donlapark 381600dcc3
fixes typing errors in auto_restart.py (#13904)
Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-05 23:39:20 +05:30
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
dependabot[bot] dafa3e8d2e
Bump tj-actions/changed-files from 29.0.1 to 29.0.3 (#14541)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 29.0.1 to 29.0.3.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v29.0.1...v29.0.3)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 17:11:54 +00:00
Carlos Mocholí 875db19971
Add path filters for azure PR jobs (#14544) 2022-09-05 19:11:12 +02:00
awaelchli cfea2be137 Deprecate pl/utilities/cloud_io.py (#14515) 2022-09-05 18:30:31 +02:00
awaelchli def6548596 move pl/utilities/cloud_io.py to lite/utilities/cloud_io.py (#14515) 2022-09-05 18:30:31 +02:00
awaelchli 165427a506 Deprecate pl/utilities/xla_device (#14514) 2022-09-05 17:36:02 +02:00
awaelchli 75d5a2d046 move pl/utilities/xla_device.py to lite/utilities/xla_device.py (#14514) 2022-09-05 17:36:02 +02:00
awaelchli c2879c20da Deprecate pl/core/mixins/device_dtype_mixin and update imports (#14511) 2022-09-05 16:31:00 +02:00
awaelchli cefe2fa123 Move test_dtype_device_mixin to lite (#14511) 2022-09-05 16:31:00 +02:00