Skip to content

Conversation

@qihqi
Copy link
Contributor

@qihqi qihqi commented Dec 28, 2022

Summary:
Debug traces consumes lots of memory especially for small models.

Test Plan:
Unit test

Reviewers:

Subscribers:

Tasks:

Tags:

Fixes #ISSUE_NUMBER

@pytorch-bot pytorch-bot bot added the release notes: jit release notes category label Dec 28, 2022
@pytorch-bot
Copy link

pytorch-bot bot commented Dec 28, 2022

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/91430

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit c09731a:
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@qihqi qihqi requested a review from davidberard98 December 28, 2022 05:00
Copy link
Contributor

@davidberard98 davidberard98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome, thanks!

also interesting, I haven't seen the caffe2/serialize code before. Interesting that it's in caffe2/ instead of torch/csrc/. I guess maybe that logic is shared with caffe2?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: stray debug? or I might have missed where it is used

@facebook-github-bot
Copy link
Contributor

@qihqi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@qihqi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Summary:
Debug traces consumes lots of memory especially for small models.

Test Plan:
Unit test

Reviewers:

Subscribers:

Tasks:

Tags:
@facebook-github-bot
Copy link
Contributor

@qihqi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@qihqi
Copy link
Contributor Author

qihqi commented Dec 29, 2022

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Dec 29, 2022
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: jit release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants