Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update torch.cuda.memory API calls for memory profiling #4

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

janeyx99
Copy link
Contributor

@janeyx99 janeyx99 commented Sep 8, 2023

trace_plot() and segment_plot() now live in _memory_viz and not memory. Also, since the snapshot.pickle and the plots are each sufficient in bringing up the same stuff (cache history, segment plot, trace plot), save only the snapshot.pickle and trace_plot.html.

The snapshot.pickle is good for those who are used to dragging the pickle file to https://zdevito.github.io/assets/viz/ and the trace_plot.html is good for those who just want the html to show up.

trace_plot() and segment_plot() now live in _memory_viz and not memory. Also, since the snapshot.pickle and the plots are each sufficient in bringing up the same stuff (cache history, segment plot, trace plot), save only the snapshot.pickle and trace_plot.html.

The snapshot.pickle is good for those who are used to dragging the pickle file to https://zdevito.github.io/assets/viz/ and the trace_plot.html is good for those who just want the html to show up.
@drisspg drisspg merged commit c6c3985 into drisspg:main Sep 8, 2023
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.

2 participants