Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
๐
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
PyTorch Memory Profiling & Viz
ยท
Module 4
System-Level and Continuous Monitoring
1
GPU Memory Insights: `nvidia-smi` vs. PyTorch
Use `nvidia-smi` to get a real-time, device-level view of GPU memory and explain discrepancies with PyTorch's `memory_allocated()` report.
2
Logging System Metrics with W&B
Integrate Weights & Biases into a training script to automatically log system metrics, including GPU memory utilization.
3
Tracking Memory Usage with Custom W&B Metrics
Log custom metrics like `max_memory_allocated` to W&B to compare memory efficiency across different experiment runs.
End of course,
Back to course
Previous module
Post-Mortem Debugging with Memory Viz
Next module