Commit Graph

32 Commits

Author SHA1 Message Date
Adrian Wälchli 7fe8756917
[TPU] Proper half-precision implementation for XLA (#18213)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-11 11:37:41 -04:00
Adrian Wälchli 6511ac2875
Only redirect imports when unpickling Lightning checkpoints (#18154)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-26 16:07:48 -04:00
Carlos Mocholí 5d102bfa4a
Check for mixed new and old style imports (#17548) 2023-05-05 13:16:19 +02:00
Jirka Borovec b87df54eb4
Adding test for legacy checkpoints (#17562)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-04 20:01:56 +00:00
Carlos Mocholí 6ec9a6bd9e
[TPU] Rename classes to use XLA instead of TPU (#17383) 2023-04-28 12:36:22 -04:00
Jirka Borovec db9f095b0b
Replace IPU with external implementation (#17075)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
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-27 16:09:51 +00: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
Jirka Borovec e7ef8db57e
Replace HPU with external implementation (#17067)
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>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-03-24 13:30:53 +01:00
Jirka Borovec de005321a5
tests: switch imports for pytorch (#16595)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-02 10:06:45 +00:00
Carlos Mocholí 92a922ccd4 Remove the graveyard (#16138) 2023-01-19 18:39:36 +01:00
Carlos Mocholí e63d813752
Remove the deprecated `pytorch_lightning.callbacks.base` module (#16319) 2023-01-10 15:31:25 +00:00
Carlos Mocholí 1bef5c84fe
Remove the deprecated `pytorch_lightning.core.lightning` module (#16318) 2023-01-10 14:45:24 +00:00
Carlos Mocholí 8bc78a6596
Remove the deprecated `pl.loops.base` module (#16142) 2022-12-21 22:25:43 +01:00
Carlos Mocholí ae14f9d1b3
Remove the deprecated `Trainer.reset_train_val_dataloaders` (#16131) 2022-12-20 13:19:09 +00:00
Carlos Mocholí 9a98e24ddc
Remove the deprecated `pl.loggers.base` module (#16120) 2022-12-20 06:36:29 +01:00
Carlos Mocholí 8c265c5239
Remove the deprecated `pl.utilities.cli` module (#16116) 2022-12-19 23:24:25 +01:00
Carlos Mocholí 06e1f19f42
Remove the deprecated profiler imports (#16059) 2022-12-15 11:02:33 +01:00
Carlos Mocholí 04f44486f6
Remove the deprecated `GPUAccelerator` (#16050) 2022-12-15 00:17:30 +01:00
Carlos Mocholí 9a24635c6d
Remove the deprecated `LightningDeepSpeedModule` (#16041) 2022-12-14 15:04:21 +01:00
Carlos Mocholí 53ceb156c4
Integrate lightning_utilities==0.4.2 (#15817)
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2022-12-13 13:13:51 +00:00
Adrian Wälchli b5fa8968ec
Make LightningModule torch.jit.script-able again (#15947)
* Make LightningModule torch.jit.script-able again
* remove skip

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-08 18:02:27 +01:00
Akihiro Nitta b682d4cf0b
Remove `pytorch_lightning.profiler.{AbstractProfiler,BaseProfiler}` deprecated since v1.6 (#15637)
* remove deprecated base profilers

* Update changelog

* remove import statement

* rip

* correct deprecation version

* update changelog

* Mark buried classes as private

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

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

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

* Add typing

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-23 13:50:15 +00:00
Akihiro Nitta a7befe1238
Remove `get_gpu_memory_map` deprecated since v1.5 (#15617)
* Remove function deprecated in v1.5

* Update changelog

* rip

* Update graveyard

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

* Add death test

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

* Update test case name

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

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

* Address pre-commit failures

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-11 04:01:06 +00:00
Justus Schock 6ee1f6c4b7
New skip conditions for unpickle-patching tests (#15329)
* New running conditions for tests
* found one more mistake
2022-10-26 18:33:22 +02:00
Justus Schock 629912298a
add cloudio pickle patching for unified package (#15309) 2022-10-26 10:44:55 +00:00
Carlos Mocholí 8e83bfafcd
Finishing touches to the graveyard (#15123) 2022-10-13 18:58:34 +00:00
Adrian Wälchli aa12727ce2
Error messages for removed DataModule hooks (#15072)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-10-11 21:58:05 +00:00
Adrian Wälchli 16419f30cb
Error messages for removed Logger APIs (#15067)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-10-11 21:16:25 +00:00
Adrian Wälchli b1cc740fd6
Error messages for removed Trainer mixin methods (#15065)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-10-11 16:10:27 -04:00
Adrian Wälchli fe32b39dbc
Error messages for the remaining callback hooks (#15064) 2022-10-11 19:18:47 +00:00
Adrian Wälchli f1509537ec
Error messages for unsupported Trainer attributes (#15059)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
2022-10-11 17:08:06 +00:00
Carlos Mocholí c1db77e691
Introduce the graveyard 🪦 (#15061) 2022-10-11 14:01:58 +00:00