You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can use memory instant events in pytorch profiler result to generate a nice gpu memory trace in perfetto:
This memory trace is aligned to python stack trace so it's more useful than pytorch solutions such as export_memory_timeline
I have implemented this by add profile_memory to torch.profiler.profile and parse pytorch trace events, I think viztracer can add this feature easily. we may use --log_torch and --log_torch_memory to enable this feature.
New Feature
We can use memory instant events in pytorch profiler result to generate a nice gpu memory trace in perfetto:
This memory trace is aligned to python stack trace so it's more useful than pytorch solutions such as
export_memory_timeline
I have implemented this by add
profile_memory
totorch.profiler.profile
and parse pytorch trace events, I think viztracer can add this feature easily. we may use--log_torch
and--log_torch_memory
to enable this feature.The text was updated successfully, but these errors were encountered: