Commit Graph

6138 Commits

Author SHA1 Message Date
Kaushik B ae71284627
Remove deprecated `disable_validation` property from Trainer (#10450) 2021-11-15 18:42:00 +00:00
Kaushik B 01cf7a2ac5
Deprecate `DistributedType` in favor of `StrategyType` (#10505) 2021-11-15 17:10:08 +00:00
Kaushik B 40945a5176
Remove deprecated `stochastic_weight_avg` example from the docs (#10502) 2021-11-15 15:06:56 +00:00
Carlos Mocholí 3077886a4f
Enable the auto-cc bot (#10531) 2021-11-15 14:27:42 +00:00
Aki Nitta ade4465373
Update configs with new GitHub labels (#10532)
Co-authored-by: thomas chaton <thomas@grid.ai>
2021-11-15 14:15:17 +00:00
Danielle Pintz 0c2cdbf88f
Update issues templates (#10537) 2021-11-15 13:44:20 +00:00
Shivam Mehta 794c4b08c0
Remove deprecated `is_overridden(model=...)` (#10507)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2021-11-15 12:56:30 +00:00
puhuk 8b0cb47cc0
Remove deprecated `hpc_load` in `CheckpointConnector` (#10525)
Co-authored-by: Aki Nitta <nitta@akihironitta.com>
2021-11-15 11:54:47 +00:00
thomas chaton ffb40060c0
shutdown workers on failure (#10463) 2021-11-15 10:03:46 +00:00
Carlos Mocholí 7a9a08c5d3
Drop torch 1.6 testing (#10390)
* Drop torch 1.6 support

* Drop 1.6 support

* Update CHANGELOG

* Fixes

* Split change

* Undo change

* 1.7 -> 1.7.1

https://github.com/pytorch/pytorch/issues/47354

* Force trigger nightly

* Update .github/workflows/events-nightly.yml

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

* Revert 1.7.1 change - try wildcard

* Update adjust versions and test it

* Undo test changes

* Revert "Undo test changes"

This reverts commit 3a6acadd11.

* Update CHANGELOG.md

Co-authored-by: Aki Nitta <nitta@akihironitta.com>
2021-11-13 20:35:03 +00:00
Rohit Gupta a8c2725ff8
remove deprecated signature for `transfer_batch_to_device` (#10480)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2021-11-13 19:32:30 +00:00
Kaushik B fabb364402
Remove deprecated `mode` argument from ModelSummary (#10449)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-11-12 19:32:43 +00:00
Carlos Mocholí 847e24011a
Squeeze the early stopping monitor (#10461) 2021-11-12 18:03:47 +00:00
Rohit Gupta fa0ed17f8a
remove deprecated train_loop (#10482)
* remove deprecated train_loop

* chlog
2021-11-12 12:42:25 +00:00
Raahul Singh 09cf167237
Change attributes of `RichProgressBarTheme` dataclass (#10454)
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
2021-11-11 19:53:40 +00:00
Carlos Mocholí 5ba5b72473
Update tests to avoid the deprecated `weights_summary` (#10446) 2021-11-11 18:15:18 +01:00
Carlos Mocholí d2aaf6b4cc
Upgrade CI after the 1.10 release (#10075) 2021-11-10 17:59:10 +01:00
Kaushik B d577f461a4
Remove deprecated `utilities.distributed.rank_zero_{warn,deprecation}` (#10451) 2021-11-10 07:35:48 -08:00
ananthsub aad86423f7
Remove more deprecated methods from base `Accelerator` class (#10448) 2021-11-10 12:58:24 +05:30
a-gardner1 ce149f6451
Fix support for dataclasses with ClassVar/InitVar in `apply_to_collection` (#9702)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-11-10 04:42:27 +00:00
Carlos Mocholí d515bcac96
Remove deprecated profiler import (#10443) 2021-11-09 23:13:02 +01:00
Justus Schock eeef5a80ac
Update Changelog for v1.5.1 (#10439)
* Missing Changelogs

* Add 1.5.1 entry to changelog

Co-authored-by: Kaushik B <kaushikbokka@gmail.com>
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
2021-11-09 21:25:54 +00:00
thomas chaton 8d810d6144
Enable distributed training with CombinedDataLoader and max_size_cycle (#10374)
* solve combinedloader

* update

* update changelog

* update on comments

* resolve iterable dataset support

* update test description

* update

* update on comments

* update

* Accelerator auto

* Address review

* Refactor

Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-11-09 20:06:10 +00:00
Carlos Mocholí c413b69240
Remove deprecated `task_idx` (#10441) 2021-11-09 18:54:38 +00:00
Carlos Mocholí ebab4be3e4
Remove deprecated `DeviceDtypeModuleMixin` import (#10442) 2021-11-09 18:35:53 +00:00
Ross Johnstone c2f25d42ab
Make `monitor` required arg of EarlyStopping callback (#10328)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2021-11-09 18:08:03 +00:00
Carlos Mocholí 069ec1005a
Do not autodetach extras (#10424)
* Do not autodetach extras

* Update CHANGELOG

* Use foo
2021-11-09 16:07:16 +00:00
thomas chaton 7fb277f260
Resolve workers being forcelly deleted with `persistent_workers=True` (#10434)
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-11-09 14:58:31 +00:00
thomas chaton f1882aa69f
[Fault Tolerance] Don't check the len of a dataset, but its instance. (#10432) 2021-11-09 20:21:53 +05:30
Carlos Mocholí edbf27430d
Remove deprecated `self.log` arguments (#10423) 2021-11-09 15:49:55 +01:00
Carlos Mocholí 480af650f3
Convert property into attribute (#10412) 2021-11-09 15:47:57 +01:00
Adrian Wälchli aaa6aa75e9
Fix converting only float type tensors in Lite (#10429)
* fix

* less code

* add test case

* add test cases

* update input

* add test cases

* add type hint

* add changelog note

Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
2021-11-09 15:21:00 +01:00
Kaushik B 5eeca87e98
Fix deadlocks for distributed training for RichProgressBar (#10428) 2021-11-09 18:30:37 +05:30
Rohit Gupta 21eafafcb0
disable step logging in epoch hooks (#10409)
* disable step logging in epoch hooks

* chlog

* Apply suggestions from code review

* chlog
2021-11-09 16:53:27 +05:30
four4fish 0ed5e3dc8a
Raise exceptions when torch distributed is not available (#10418)
* Raise exceptions when torch distributed is not avalible

* add changelog
2021-11-09 09:11:05 +00:00
puhuk f9b9cdb0d1
Remove deprecated accelerator pass through functions in Accelerator (#10403)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2021-11-08 17:36:37 +00:00
Adrian Wälchli e61a98a3d0
Hyperparameters docs refresh (#10280)
Co-authored-by: thomas chaton <thomas@grid.ai>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2021-11-08 12:35:00 +00:00
Adrian Wälchli a270a79ed9
Rename "master" methods to "main" in ClusterEnvironment plugins (#10103)
* rename occurrences of master port, master address, maser node, master process

* rename properties

* add property decorators

* occurrences in docs

* update changelog

* update changelog

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

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

* add lost method

* create deprecation

* add changelog

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

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

* fix typo (but it was already there!!!)

* Apply suggestions from code review

Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>

* add todo

* update more occurences

* add types

* add missing import

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>
2021-11-08 12:32:58 +00:00
Carlos Mocholí 5b90253a53
Drop torch 1.6 support (#10367) 2021-11-08 11:29:39 +00:00
Carlos Mocholí 613aa09514
Revert part of #10279 (#10376) 2021-11-08 11:28:58 +00:00
Espen Haugsdal 89e1360e75
Fix pickling error with CSVLogger (#10388)
* Don't store csv.Dictwriter in ExperimentWriter

* Add test for pickle after .save()

* Add entry in changelog
2021-11-08 10:36:35 +00:00
puhuk c58f84c176
Remove deprecated master_params attributes in PrecisionPlugin (#10372)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2021-11-08 02:42:03 +00:00
four4fish bdc24e558a
Only import PostLocalSGD related modules when it's needed (#10359)
* Only import PostLocalSGD related modules when it's needed

* Only import PostLocalSGD related modules when it's needed

* Only import PostLocalSGD related modules when it's needed
2021-11-08 03:05:44 +01:00
Adrian Wälchli 45f6a3b175
Fix DataLoader inspection and re-instantiation in Lite (#10334)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2021-11-05 17:31:45 +00:00
Connor Anderson 1c28f361d4
Remove `every_n_val_epochs` from ModelCheckpoint (#10366)
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-11-05 15:19:33 +00:00
Saurav Maheshkar a9bd4fbd96
Remove deprecated property `configure_slurm_dpp` from accelerator connector (#10370)
* Remove deprecated configure_slurm_ddp

* Update CHANGELOG

* Remove deprecated tests from test suite
2021-11-05 14:11:30 +00:00
Adrian Wälchli 348fc4b49f
Move device parser utility function (#10230)
* move parser function to utils

* fix types

* keep static method

* [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>
2021-11-05 10:18:56 +00:00
puhuk 9c4112ce1c
Remove deprecated sync_batchnorm and num_nodes attributes in DDP plugins (#10357)
* Remove deprecated sync_batchnorm and num_nodes attributes in DDPPlugin

Part of #10312

test_v1_6_0_ddp_num_nodes()
test_v1_6_0_ddp_sync_batchnorm()

* Remove deprecated sync_batchnorm and num_nodes attributes in DDPPlugin

Part of #10312

test_v1_6_0_ddp_num_nodes()
test_v1_6_0_ddp_sync_batchnorm()

* remove deprecation warnings

* apply removal to spawn plugin

* update changelog

* remove num_nodes in deepspeed

* remove unused imports

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

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

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-11-05 10:13:12 +00:00
Carlos Mocholí 037fd5e2d1
Update `Trainer(precision)` docs (#10368)
* Update `Trainer(precision)` docs

* Update
2021-11-05 18:53:05 +09:00
four4fish 973305c6a5
Add more trainer config tests (#10319)
* Add more trainer config tests

* Add more trainer config and ttp register tests

* Add more trainer config and ttp register tests
2021-11-05 10:42:58 +01:00