Commit Graph

2 Commits

Author SHA1 Message Date
Abylay Ospan
50b236fbcc Add PyTorch and CUDA memory profiling systems
Capture PyTorch execution traces and CUDA memory snapshots.  Traces
display detailed CPU and CUDA activity, including individual CUDA kernel
calls.

CUDA memory snapshots visualize all memory allocations, helping diagnose
CUDA out-of-memory errors, investigate memory leaks, or understand GPU
memory usage for educational purposes.

Enable profiling with the --enable_profiling=True flag in speedrun.sh.

See PROFILING.md for documentation and example visualizations.
2025-10-18 12:50:19 +00:00
karpathy
3a5e0bc50b initial commit 2025-10-13 06:49:24 -07:00