File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
pytorch_lightning/callbacks Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 3838class GPUStatsMonitor (Callback ):
3939 r"""
4040 .. deprecated:: v1.5
41- The `GPUStatsMonitor` callback was deprecated in v1.5 and will be removed in v1.7. "
42- " Please use the `DeviceStatsMonitor` callback instead.
41+ The `GPUStatsMonitor` callback was deprecated in v1.5 and will be removed in v1.7.
42+ Please use the `DeviceStatsMonitor` callback instead.
4343
4444 Automatically monitors and logs GPU stats during training stage. ``GPUStatsMonitor``
4545 is a callback and in order to use it you need to assign a logger in the ``Trainer``.
@@ -96,8 +96,8 @@ def __init__(
9696 super ().__init__ ()
9797
9898 rank_zero_deprecation (
99- "The `GPUStatsMonitor` callback was deprecated in v1.5 and will be removed in v1.7. "
100- "Please use the `DeviceStatsMonitor` callback instead."
99+ "The `GPUStatsMonitor` callback was deprecated in v1.5 and will be removed in v1.7."
100+ " Please use the `DeviceStatsMonitor` callback instead."
101101 )
102102
103103 if shutil .which ("nvidia-smi" ) is None :
Original file line number Diff line number Diff line change 3131class XLAStatsMonitor (Callback ):
3232 r"""
3333 .. deprecated:: v1.5
34- The `XLAStatsMonitor` callback was deprecated in v1.5 and will be removed in v1.7. "
35- " Please use the `DeviceStatsMonitor` callback instead.
34+ The `XLAStatsMonitor` callback was deprecated in v1.5 and will be removed in v1.7.
35+ Please use the `DeviceStatsMonitor` callback instead.
3636
3737 Automatically monitors and logs XLA stats during training stage. ``XLAStatsMonitor`` is a callback and in
3838 order to use it you need to assign a logger in the ``Trainer``.
@@ -57,8 +57,8 @@ def __init__(self, verbose: bool = True) -> None:
5757 super ().__init__ ()
5858
5959 rank_zero_deprecation (
60- "The `XLAStatsMonitor` callback was deprecated in v1.5 and will be removed in v1.7. "
61- "Please use the `DeviceStatsMonitor` callback instead."
60+ "The `XLAStatsMonitor` callback was deprecated in v1.5 and will be removed in v1.7."
61+ " Please use the `DeviceStatsMonitor` callback instead."
6262 )
6363
6464 if not _TPU_AVAILABLE :
You can’t perform that action at this time.
0 commit comments