Commit Graph

7194 Commits

Author SHA1 Message Date
Nikhil Shenoy f4f14bb5d8
Removed `weights_summary` argument from Trainer (#13070)
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-31 20:31:39 +00:00
Carlos Mocholí 5bdb936eca
[CLI] Respect existing seed by default (#13110) 2022-05-31 22:31:25 +02:00
Rohit Gupta ba438828e5
Fix logging's step values when multiple dataloaders are used during evaluation (#12184)
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-31 22:00:29 +02:00
Jirka Borovec b2eb2b796e
add @akihironitta among CI/CD owners (#13139)
add @akihironitta
2022-05-31 15:37:29 -04:00
Masahiro Wada 90acf909fb
Fix not running test codes (#13089)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-31 19:27:46 +00:00
Carlos Mocholí 01ebb1f2f5
Avoid changing the current `cudnn.benchmark` value (#13154) 2022-05-31 19:22:19 +00:00
Carlos Mocholí 37804078bb Revert "Update deepspeed requirement from <0.6.0 to <0.7.0 in /requirements (#13048)" (#13177)
This reverts commit e19babc986.
2022-05-31 20:21:14 +02:00
Carlos Mocholí 9945d028d3 Fix standalone test collection (#13177) 2022-05-31 20:21:14 +02:00
Carlos Mocholí 50326e9a65 xfail flaky quantization test blocking CI (#13177) 2022-05-31 20:21:14 +02:00
Akihiro Nitta 40dddc8a9b Pin protobuf version (#13177) 2022-05-31 20:21:14 +02:00
Akihiro Nitta a6e9bc2943
Document CI/CD (#12980)
* Add README.md to .github/workflows/

* Link CI/CD doc page from contributing.md

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-05-28 23:39:01 +00:00
dependabot[bot] 9ac5cca842
Update typing-extensions requirement from <=4.1.1,>=4.0.0 to >=4.0.0,<4.2.1 in /requirements (#13054)
* Update typing-extensions requirement in /requirements

Updates the requirements on [typing-extensions](https://github.com/python/typing) to permit the latest version.
- [Release notes](https://github.com/python/typing/releases)
- [Changelog](https://github.com/python/typing/blob/master/typing_extensions/CHANGELOG.md)
- [Commits](https://github.com/python/typing/compare/4.0.0...4.2.0)

---
updated-dependencies:
- dependency-name: typing-extensions
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 17:55:23 +02:00
dependabot[bot] e19babc986
Update deepspeed requirement from <0.6.0 to <0.7.0 in /requirements (#13048)
* Update deepspeed requirement from <0.6.0 to <0.7.0 in /requirements

Updates the requirements on [deepspeed](https://github.com/microsoft/DeepSpeed) to permit the latest version.
- [Release notes](https://github.com/microsoft/DeepSpeed/releases)
- [Commits](https://github.com/microsoft/DeepSpeed/compare/v0.1.0...v0.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 17:54:27 +02:00
dependabot[bot] d9c97cdac5
Update tensorboard requirement from <=2.8.0,>=2.2.0 to >=2.2.0,<2.10.0 in /requirements (#13049)
* Update tensorboard requirement in /requirements

Updates the requirements on [tensorboard](https://github.com/tensorflow/tensorboard) to permit the latest version.
- [Release notes](https://github.com/tensorflow/tensorboard/releases)
- [Changelog](https://github.com/tensorflow/tensorboard/blob/master/RELEASE.md)
- [Commits](https://github.com/tensorflow/tensorboard/compare/2.2.0...2.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 17:54:15 +02:00
dependabot[bot] 5cf0e376a5
Update jsonargparse[signatures] requirement from <=4.7.1,>=4.7.1 to >=4.7.1,<4.7.4 in /requirements (#13052)
* Update jsonargparse[signatures] requirement in /requirements

Updates the requirements on [jsonargparse[signatures]](https://github.com/omni-us/jsonargparse) to permit the latest version.
- [Release notes](https://github.com/omni-us/jsonargparse/releases)
- [Changelog](https://github.com/omni-us/jsonargparse/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/omni-us/jsonargparse/compare/v4.7.1...v4.7.3)

---
updated-dependencies:
- dependency-name: jsonargparse[signatures]
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 17:53:47 +02:00
dependabot[bot] 7172c21ee5
Update matplotlib requirement from <=3.5.1,>3.1 to >3.1,<3.5.3 in /requirements (#13053)
* Update matplotlib requirement in /requirements

Updates the requirements on [matplotlib](https://github.com/matplotlib/matplotlib) to permit the latest version.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.1.1...v3.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 17:53:37 +02:00
dependabot[bot] 0447720d7b
Update neptune-client requirement from <=0.15.2,>=0.10.0 to >=0.10.0,<0.16.3 in /requirements (#13056)
* 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.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 17:53:14 +02:00
dependabot[bot] a3c0a4738f
Update mlflow requirement from <=1.24.0,>=1.0.0 to >=1.0.0,<1.27.0 in /requirements (#13127)
* Update mlflow requirement in /requirements

Updates the requirements on [mlflow](https://github.com/mlflow/mlflow) to permit the latest version.
- [Release notes](https://github.com/mlflow/mlflow/releases)
- [Changelog](https://github.com/mlflow/mlflow/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mlflow/mlflow/compare/1.0.0...v1.26.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-05-27 12:42:54 +00:00
Nikhil Shenoy dd47518322
Removed `flush_logs_every_n_steps` argument from Trainer (#13074)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-25 12:47:15 +02:00
Carlos Mocholí c5938f8fbc
Fix torchelastic detection with non-distributed installations (#13142)
* Fix torchelastic detection under Mac

* CHANGELOG
2022-05-25 12:23:41 +02:00
Jinyeong chae 29fe1dad15
Fix import statement in tutorial (#13130)
fix tutorial

Co-authored-by: Jiny491 <jiny491@gmail.com>
2022-05-24 19:39:43 +00:00
edward-io 45f57fd739
Add accelerator method `teardown()` (#11935)
* refactor strategies to use accelerator

* [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

* Apply suggestions from code review

Co-authored-by: Aki Nitta <nitta@akihironitta.com>

* Apply suggestions from code review

Co-authored-by: Aki Nitta <nitta@akihironitta.com>

* update changelog

* remove changes to strategies

* update changelog

* update device-specific teardowns

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

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

* partially revert

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

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

* Update strategy.py

* swap hpu

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

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

* add missing log

* unused import

* order matters for tpu?

Co-authored-by: edward-io <me@edward.io>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Aki Nitta <nitta@akihironitta.com>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
2022-05-24 19:00:45 +00:00
Akihiro Nitta 2dc14e77cd
Use coverage>=6.4 (#13132) 2022-05-24 18:01:26 +01:00
Justus Schock fbd887df9d
Rename min_gpus to min_cuda_gpus (#13133)
* rename min_gpus to min_cuda_gpus
2022-05-24 12:54:05 +00:00
Adrian Wälchli 880224d4e1
Avoid firewall message from `find_free_network_port` (#13113) 2022-05-24 11:58:48 +00:00
mads-oestergaard 11e289ad9f
Update trainer profiler typehint to use `Profiler` instead of the deprecated `BaseProfiler` (#13084)
* Fix trainer profiler typehint

* Remove unused import of deprecated BaseProfiler

* Update CHANGELOG.md

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-23 10:09:47 +00:00
Akihiro Nitta 874ae50870
GPU CI: Increase timeout from 65 to 100min (#13104) 2022-05-20 03:43:45 +02:00
rohitgr7 eb21135b2a Add deprecation path for the old Callback module (#13031) 2022-05-19 13:25:25 +02:00
shantam-8 ddff6c1c7e Rename callbacks/base.py to callbacks/callback.py (#13031) 2022-05-19 13:25:25 +02:00
Carlos Mocholí 42f27c2a34
Update docs about `reduce_fx` (#13101) 2022-05-19 07:24:09 -04:00
Jerome Anand 74941bb790
Enable all ddp params for hpu parallel strategy (#13067)
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-05-19 12:41:16 +05:30
rohitgr7 5023752bd0 Add deprecation path for the old LightningModule module (#12740) 2022-05-18 08:03:55 +05:30
rohitgr7 a68fe66705 Update core/lightning.py to core/module.py (#12740) 2022-05-18 08:03:55 +05:30
Carlos Mocholí 23de1ca90a
Fix CLI test interaction (#13037) 2022-05-16 22:29:18 +00:00
Nikhil Shenoy 830da2c4a4
Removed `process_position` argument from Trainer Class (#13071) 2022-05-16 13:05:50 +02:00
Jirka Borovec fab2ff35ad
CI: Azure - multiple configs (#12984)
* CI: Azure - multiple configs
* names
* benchmark
* Apply suggestions from code review

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-14 01:59:03 +00:00
ftorres16 d28e365669
Remove unused hook keyword argument (#13059)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-13 18:22:09 +00:00
Akihiro Nitta 03039a236e
Fix `materialize_module` recursively setting its child module (#12870)
* Don't set materialized child to child's child
* Update CHANGELOG

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-13 18:05:38 +00:00
otaj db7b0361a5
Fix number of references to LightningModule (#12897)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-13 11:23:25 -04:00
Akihiro Nitta d9bbef31cd
GPU CI: Increase timeout from 55min to 65min (#13064) 2022-05-13 12:09:43 +00:00
Igor Gadelha db5e9ce2cc
Fix typo ddp_spawn_sharded -> ddp_sharded_spawn (#13062) 2022-05-13 13:32:18 +02:00
Jirka Borovec 32f361f867
Fix version freeze comparison (#13057) 2022-05-13 03:16:05 +00:00
dependabot[bot] 106b4bbfdd
Remove twine dependency from requirements (#13050)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-05-12 22:20:04 -04:00
Mauricio Villegas 8713e0ea61
Improved the jsonargparse[signatures] availability variable (#13035)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-12 14:57:19 +00:00
Jerome Anand fcf6e3ecba
Use hpu hmp for bf16 alone (#13028)
* Use hpu hmp for bf16 alone
* Update changelog

Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-12 09:36:28 -04:00
Jirka Borovec fec9a09672
add freeze for development and full range for install (#12994)
* freeze versions

* unfreeze

* dependabot

* Apply suggestions from code review

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

* fix all req

* ...

* use base

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

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

* fix refs

* Apply suggestions from code review

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>

* Apply suggestions from code review

* dockers

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: Akihiro Nitta <nitta@akihironitta.com>
2022-05-12 09:14:18 -04:00
wangherr 01df4543f6
Fix docs' TensorBoardLogger instantiation (#13038)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-11 23:02:57 -04:00
Geo Jolly 5ab9d53fc1
Remove the deprecated `on_{train,val,test,predict}_dataloader` hooks (#13033)
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-11 23:02:39 -04:00
Adrian Wälchli d24361733c
Provide access to unwrapped model in Lite (#12597)
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-05-11 18:28:08 +00:00
Rohit Gupta 4011f379b8
Fix double precision during evaluation (#12983) 2022-05-11 17:43:19 +00:00