Skip to content

Replace GpuStatsMonitor with DeviceStatsMonitor and accelerator with strategy

Vuillaume requested to merge DeviceStatsMonitor into master

Got a deprecation warning:

LightningDeprecationWarning: The `GPUStatsMonitor` callback was deprecated in v1.5 and will be removed in v1.7.
Please use the `DeviceStatsMonitor` callback instead.

as well as:

LightningDeprecationWarning: Passing `Trainer(accelerator='ddp')` has been deprecated in v1.5 and will be removed in v1.7.
Use `Trainer(strategy='ddp')` instead.
Edited by Vuillaume

Merge request reports