Lightning-AI/pytorch-lightning
Voir sur GitHubProvide a non-expert mode for the DeviceStatsMonitor
Open
#18 652 ouverte le 27 sept. 2023
callback: device statsfeaturehelp wanted
Métriques du dépôt
- Stars
- (26 687 stars)
- Métriques de merge PR
- (Merge moyen 9j 15h) (3 PRs mergées en 30 j)
Description
Description & Motivation
The DeviceStatsMonitor currently dumps the entire torch.cuda.memory_stats into the logger. Beginner users might be overwhelmed by the amount of data logged and are confused which metrics matter to maximize their utilization.
Pitch
Make the callback more user-friendly by logging only core metrics like GPU utilization and total memory usage. Provide an expert mode that when enabled logs what we see today.
Alternatives
No response
Additional context
This was proposed by user magical_arjay on our Discord.
cc @borda @awaelchli