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 2
In-Depth Analysis with PyTorch Profiler & TensorBoard
1
Profiling Memory with `torch.profiler` for TensorBoard
Configure `torch.profiler.profile` to generate a trace with memory information for TensorBoard.
2
Profiling Memory with TensorBoard
Launch TensorBoard and analyze the memory timeline view to identify the point of peak memory usage during a training step.
3
Profiling Memory Allocation in TensorBoard's Operator View
Use the profiler's operator view in TensorBoard to pinpoint the specific operations responsible for memory allocations.
Previous module
PyTorch Memory: Fundamentals and Quick Inspection
Next module
Post-Mortem Debugging with Memory Viz