spcl / daceml

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

Make cuda models expect GPU inputs, update parameter_to_transient to handle this #54

Closed orausch closed 3 years ago

orausch commented 3 years ago

Previously, CUDA enabled models included parameter and input copies to GPU memory

codecov[bot] commented 3 years ago

Codecov Report

Merging #54 (22e7082) into master (22812c5) will decrease coverage by 0.95%. The diff coverage is 80.95%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
- Coverage   93.26%   92.31%   -0.95%     
==========================================
  Files          40       40              
  Lines        3322     3354      +32     
==========================================
- Hits         3098     3096       -2     
- Misses        224      258      +34     
Impacted Files Coverage Δ
daceml/transformation/parameter_to_transient.py 80.49% <52.94%> (-19.51%) :arrow_down:
daceml/pytorch/module.py 86.73% <70.37%> (+9.73%) :arrow_up:
daceml/autodiff/pytorch.py 95.45% <100.00%> (+0.05%) :arrow_up:
daceml/onnx/nodes/codegen.py 89.69% <100.00%> (-6.69%) :arrow_down:
daceml/onnx/onnx_importer.py 95.95% <100.00%> (-0.70%) :arrow_down:
daceml/onnx/shape_inference/shape_inference.py 100.00% <100.00%> (ø)
daceml/util/utils.py 91.89% <100.00%> (+1.35%) :arrow_up:
daceml/ort_api/python_bindings.py 92.55% <0.00%> (-5.59%) :arrow_down:
daceml/ort_api/raw_api_bindings.py 95.54% <0.00%> (-2.68%) :arrow_down:
... and 6 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 22812c5...22e7082. Read the comment docs.