Skip to content

Commit 3f0f277

Browse files
rschiremanakihironittaRaymond G Schiremanpre-commit-ci[bot]rohitgr7
authored
Remove deprecated GPUStatsMonitor callback (#12554)
Co-authored-by: Aki Nitta <[email protected]> Co-authored-by: Raymond G Schireman <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Rohit Gupta <[email protected]> Co-authored-by: Kaushik B <[email protected]>
1 parent 3684282 commit 3f0f277

File tree

7 files changed

+4
-444
lines changed

7 files changed

+4
-444
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
9393
- Removed the deprecated `log_gpu_memory` argument from the `Trainer` constructor ([#12657](https://github.com/PyTorchLightning/pytorch-lightning/pull/12657))
9494

9595

96-
-
9796
- Removed the deprecated automatic logging of GPU stats by the logger connector ([#12657](https://github.com/PyTorchLightning/pytorch-lightning/pull/12657))
9897

98+
99+
- Removed deprecated `GPUStatsMonitor` callback ([#12554](https://github.com/PyTorchLightning/pytorch-lightning/pull/12554))
100+
101+
99102
### Fixed
100103

101104
- Avoid calling `average_parameters` multiple times per optimizer step ([#12452](https://github.com/PyTorchLightning/pytorch-lightning/pull/12452))

docs/source/api_references.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ Callbacks API
8585
Callback
8686
DeviceStatsMonitor
8787
EarlyStopping
88-
GPUStatsMonitor
8988
GradientAccumulationScheduler
9089
LambdaCallback
9190
LearningRateMonitor

docs/source/extensions/callbacks.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ Lightning has a few built-in callbacks.
9292
Callback
9393
DeviceStatsMonitor
9494
EarlyStopping
95-
GPUStatsMonitor
9695
GradientAccumulationScheduler
9796
LambdaCallback
9897
LearningRateMonitor

pytorch_lightning/callbacks/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from pytorch_lightning.callbacks.device_stats_monitor import DeviceStatsMonitor
1616
from pytorch_lightning.callbacks.early_stopping import EarlyStopping
1717
from pytorch_lightning.callbacks.finetuning import BackboneFinetuning, BaseFinetuning
18-
from pytorch_lightning.callbacks.gpu_stats_monitor import GPUStatsMonitor
1918
from pytorch_lightning.callbacks.gradient_accumulation_scheduler import GradientAccumulationScheduler
2019
from pytorch_lightning.callbacks.lambda_function import LambdaCallback
2120
from pytorch_lightning.callbacks.lr_monitor import LearningRateMonitor
@@ -36,7 +35,6 @@
3635
"Callback",
3736
"DeviceStatsMonitor",
3837
"EarlyStopping",
39-
"GPUStatsMonitor",
4038
"XLAStatsMonitor",
4139
"GradientAccumulationScheduler",
4240
"LambdaCallback",

pytorch_lightning/callbacks/gpu_stats_monitor.py

Lines changed: 0 additions & 262 deletions
This file was deleted.

0 commit comments

Comments
 (0)