BentoML icon indicating copy to clipboard operation
BentoML copied to clipboard

feat: onnxmlir

Open aarnphm opened this issue 1 year ago • 2 comments

  • feat: skafolding onnxmlir support
  • feat: onnxmlir api

work in progress, put here as a draft for trying out #2693

Test will follow accordingly.

aarnphm avatar Jul 09 '22 20:07 aarnphm

Codecov Report

Merging #2706 (0c77402) into main (3c2c0de) will increase coverage by 1.16%. The diff coverage is 32.07%.

:exclamation: Current head 0c77402 differs from pull request most recent head e6f224c. Consider uploading reports for the commit e6f224c to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2706      +/-   ##
==========================================
+ Coverage   68.08%   69.25%   +1.16%     
==========================================
  Files         113      115       +2     
  Lines       10899     9890    -1009     
  Branches     1923        0    -1923     
==========================================
- Hits         7421     6849     -572     
  Misses       3041     3041              
+ Partials      437        0     -437     
Impacted Files Coverage Δ
bentoml/_internal/frameworks/onnxmlir.py 31.25% <31.25%> (-67.12%) :arrow_down:
bentoml/_internal/utils/buildx.py 47.23% <36.84%> (+28.19%) :arrow_up:
bentoml/_internal/utils/pkg.py 90.90% <100.00%> (+9.09%) :arrow_up:
bentoml/_internal/frameworks/tensorflow_v2.py 35.97% <0.00%> (-46.18%) :arrow_down:
bentoml/_internal/io_descriptors/multipart.py 63.82% <0.00%> (-30.29%) :arrow_down:
bentoml/_internal/utils/analytics/usage_stats.py 76.47% <0.00%> (-19.23%) :arrow_down:
bentoml/_internal/io_descriptors/text.py 73.07% <0.00%> (-12.34%) :arrow_down:
bentoml/_internal/io_descriptors/numpy.py 86.11% <0.00%> (-7.26%) :arrow_down:
bentoml/_internal/utils/formparser.py 77.93% <0.00%> (-6.16%) :arrow_down:
bentoml/_internal/runner/runner_handle/local.py 72.72% <0.00%> (-3.28%) :arrow_down:
... and 105 more

codecov[bot] avatar Jul 09 '22 20:07 codecov[bot]

Hello @aarnphm, Thanks for updating this PR.

Line 27:1: F401 '..utils.cached_contextmanager' imported but unused Line 229:61: F821 undefined name 'use_default_entry_point'

Line 9:1: F401 '._internal.frameworks.onnxmlir.ONNXMLirOptions as ModelOptions' imported but unused

Comment last updated at 2022-07-11 04:54:40 UTC

pep8speaks avatar Jul 10 '22 01:07 pep8speaks

I will revisit this once we have an environment manager.

aarnphm avatar Oct 20 '22 23:10 aarnphm