spcl / daceml

A Data-Centric Compiler for Machine Learning
https://daceml.readthedocs.io
BSD 3-Clause "New" or "Revised" License
81 stars 14 forks source link

Add ONNX node tests to CI, cleanup more pure ops #100

Closed orausch closed 2 years ago

orausch commented 2 years ago

With the new decorator feature, we can simplify a whole bunch of ops.

Also added the test cases ONNX ships with to our CI, this is quite useful for development. For now, we are still skipping quite a few, especially on the more complex ops.

codecov[bot] commented 2 years ago

Codecov Report

Merging #100 (b1135a9) into master (169c204) will decrease coverage by 6.92%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #100      +/-   ##
==========================================
- Coverage   67.49%   60.57%   -6.92%     
==========================================
  Files          58       59       +1     
  Lines        6924     6810     -114     
==========================================
- Hits         4673     4125     -548     
- Misses       2251     2685     +434     
Impacted Files Coverage Δ
...ml/onnx/op_implementations/pure_implementations.py 73.96% <ø> (+3.25%) :arrow_up:
daceml/onnx/__init__.py 100.00% <100.00%> (ø)
daceml/onnx/backend.py 100.00% <100.00%> (ø)
daceml/onnx/op_implementations/utils.py 96.43% <100.00%> (-3.57%) :arrow_down:
daceml/torch/dispatchers/common.py 97.22% <100.00%> (-2.78%) :arrow_down:
...l/onnx/op_implementations/cudnn_implementations.py 16.75% <0.00%> (-71.92%) :arrow_down:
daceml/onnx/binary_utilities/op_checker.py 31.58% <0.00%> (-68.42%) :arrow_down:
daceml/transformation/parameter_to_transient.py 23.26% <0.00%> (-51.16%) :arrow_down:
daceml/autodiff/implementations/onnx_ops.py 27.51% <0.00%> (-32.16%) :arrow_down:
daceml/onnx/environments/cudnn.py 52.38% <0.00%> (-26.19%) :arrow_down:
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 169c204...b1135a9. Read the comment docs.