Skip to content

Annotate warmup for pytorch profiler#32

Draft
michaelmckinsey1 wants to merge 3 commits intoLBANN:mainfrom
michaelmckinsey1:annotate-regions-torch
Draft

Annotate warmup for pytorch profiler#32
michaelmckinsey1 wants to merge 3 commits intoLBANN:mainfrom
michaelmckinsey1:annotate-regions-torch

Conversation

@michaelmckinsey1
Copy link
Collaborator

  • This annotates the "warmup" region in the profile. See the below example
image image
  • This is a draft because I want to add this into the begin_code_region annotations that already exist for caliper, so there is not redundant code for annotations. If you look at the amount of annotations, it will make sense why this is a big issue. One thing that is annoying about the pytorch annotations is they are context-based, so any code regions need to be nested, which I think decreases readability.
  • this PR also turns of the stack option, if we annotate all of the regions of interest it will be more succinct than showing the full stack

@michaelmckinsey1 michaelmckinsey1 self-assigned this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant