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

TBE logging - improve cache print format #2379

Closed
wants to merge 3 commits into from

Conversation

damianr99
Copy link

Summary: Improve uvm cache printing format, now single line & easily machine-parseable.

Differential Revision: D54181314

Copy link

netlify bot commented Mar 2, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 0cdeded
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/65e6c30a023cd5000880db57
😎 Deploy Preview https://deploy-preview-2379--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D54181314

Damian Reeves added 3 commits March 4, 2024 22:59
Summary:

Make it possible to interpret TBE logs when there are multiple TBEs on
a rank. This diff (1) prints the table names contained in a TBE, (2)
prefixes all TBE logging with a unique id per TBE instance.

We use a uuid, so when there are many TBEs across many ranks, they 
will all be unique.

Reviewed By: carlbunny, henrylhtsang

Differential Revision: D54181313
…2378)

Summary:

When 'training.tbe.gather_uvm_cache_stats=True', always log UVM cache
activity. We decrease logging frequency using an exponential schedule
as training proceeds. This keeps log overhead minimal while still
providing insight into whether cache hit rates become non-stationary
over large training periods.

Reviewed By: sryap

Differential Revision: D54181312
Summary:

Improve uvm cache printing format, now single line & easily machine-parseable.

Differential Revision: D54181314
damianr99 pushed a commit to damianr99/FBGEMM that referenced this pull request Mar 5, 2024
Summary:

Improve uvm cache printing format, now single line & easily machine-parseable.

Differential Revision: D54181314
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D54181314

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D54181314

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in af9abb5.

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

Successfully merging this pull request may close these issues.

None yet

2 participants