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

add AutoUnitMixin #571

Closed
wants to merge 1 commit into from
Closed

Conversation

galrotem
Copy link
Contributor

@galrotem galrotem commented Oct 9, 2023

Summary: Add AutoUnitMixin which handles prefetching and initialization of units and use in AutoUnit and AutoPredictUnit

Differential Revision: D49852040

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

galrotem added a commit to galrotem/tnt that referenced this pull request Oct 9, 2023
Summary:
Pull Request resolved: pytorch#571

Add AutoUnitMixin which handles prefetching and initialization of units and use in AutoUnit and AutoPredictUnit

Differential Revision: D49852040

fbshipit-source-id: fd75aa7cf36cc6e7a6436953c772b79db437aa6f
@codecov
Copy link

codecov bot commented Oct 9, 2023

Codecov Report

Merging #571 (3707dbb) into master (f8fb8da) will increase coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #571      +/-   ##
==========================================
+ Coverage   86.84%   86.97%   +0.12%     
==========================================
  Files          66       66              
  Lines        4165     4129      -36     
==========================================
- Hits         3617     3591      -26     
+ Misses        548      538      -10     
Files Coverage Δ
torchtnt/framework/auto_unit.py 87.21% <100.00%> (+1.78%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Summary:

Add AutoUnitMixin which handles prefetching and initialization of units and use in AutoUnit and AutoPredictUnit

Reviewed By: JKSenthil

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

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

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.

2 participants