senwu / emmental

A deep learning framework for building multimodal multi-task learning systems.
https://emmental.readthedocs.io
MIT License
109 stars 18 forks source link

support fp16 #77

Closed senwu closed 4 years ago

senwu commented 4 years ago

Description of the proposed changes

Fully support fp16

Checklist

codecov[bot] commented 4 years ago

Codecov Report

Merging #77 into master will decrease coverage by 0.67%. The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
- Coverage   88.86%   88.18%   -0.68%     
==========================================
  Files          38       38              
  Lines        1635     1651      +16     
  Branches      329      331       +2     
==========================================
+ Hits         1453     1456       +3     
- Misses         94      103       +9     
- Partials       88       92       +4     
Flag Coverage Δ
#unittests 88.18% <50.00%> (-0.68%) :arrow_down:

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

Impacted Files Coverage Δ
src/emmental/learner.py 76.09% <30.00%> (-3.82%) :arrow_down:
src/emmental/meta.py 86.66% <100.00%> (+0.18%) :arrow_up:
src/emmental/model.py 79.66% <100.00%> (-0.26%) :arrow_down:
src/emmental/utils/parse_args.py 99.25% <100.00%> (+<0.01%) :arrow_up: