~/talk

Latest Profiler APIs and Best Practices

links:none on file
slides:none on file

PyTorch Profiler measures runtimes and tensor memory per operator and now supports record_shapes true to group by input shapes, profile_memory true to report CPU/CUDA memory (the example shows most memory coming from the empty operator and from resize), and with_stack true to attach stack traces so you can group by top and stack entries. It also saves traces in Chrome JSON format and reveals two distinct call sites for convolution inside the ResNet script.

AI-written summary · about

  1. 0:00Introduction
  2. 0:20Profiler
  3. 1:33Memory Usage
  4. 2:19Stack traces
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.