microsoft / hummingbird

Hummingbird compiles trained ML models into tensor computation for faster inference.
MIT License
3.34k stars 278 forks source link

[TVM] Unify load params interface #640

Closed liangfu closed 2 years ago

liangfu commented 2 years ago

Following https://github.com/apache/tvm/pull/7559, this PR uses the unified load params interface.

codecov-commenter commented 2 years ago

Codecov Report

Merging #640 (2c8a8fe) into main (0fdf250) will increase coverage by 0.04%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #640      +/-   ##
==========================================
+ Coverage   90.18%   90.23%   +0.04%     
==========================================
  Files          77       77              
  Lines        4556     4548       -8     
  Branches      846      843       -3     
==========================================
- Hits         4109     4104       -5     
+ Misses        252      251       -1     
+ Partials      195      193       -2     
Flag Coverage Δ
unittests 90.23% <100.00%> (+0.04%) :arrow_up:

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

Impacted Files Coverage Δ
...ummingbird/ml/containers/sklearn/tvm_containers.py 93.57% <100.00%> (+1.67%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

interesaaat commented 2 years ago

This is nice, thanks for submit this PR!