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

Support multiple device training and inference #91

Merged
merged 5 commits into from Jan 21, 2021
Merged

Support multiple device training and inference #91

merged 5 commits into from Jan 21, 2021

Conversation

senwu
Copy link
Owner

@senwu senwu commented Jan 20, 2021

Description of the problems or issues

Support training and evaluate model using mix devices

Description of the proposed changes

Specify module device using module_device.

Checklist

  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the CHANGELOG.rst accordingly.

@codecov
Copy link

codecov bot commented Jan 20, 2021

Codecov Report

Merging #91 (38935e1) into master (0d69bb3) will increase coverage by 0.45%.
The diff coverage is 75.60%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
+ Coverage   87.45%   87.90%   +0.45%     
==========================================
  Files          38       38              
  Lines        1753     1777      +24     
  Branches      379      385       +6     
==========================================
+ Hits         1533     1562      +29     
+ Misses        116      108       -8     
- Partials      104      107       +3     
Flag Coverage Δ
unittests 87.90% <75.60%> (+0.45%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/emmental/task.py 83.33% <50.00%> (-12.13%) ⬇️
src/emmental/model.py 81.02% <81.48%> (+0.96%) ⬆️
src/emmental/utils/utils.py 92.62% <83.33%> (+7.49%) ⬆️

@senwu senwu merged commit ae511cb into master Jan 21, 2021
@senwu senwu deleted the md branch January 21, 2021 01:26
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.

None yet

1 participant