Open haixuanTao opened 3 years ago
Thanks for the contribution!
Sorry for my late replay, I don't have much time to put on that project...
I updated the bindings yesterday to 1.8.1. Would you mind pushing commits just for the CUDA stuff? Or I can cherry-pick the two if you prefer.
All set!
I have rebase from master !
I did not push the bindings for Windows as I have no machine to test it on.
Feel free to leave comment on necessary modification :)
Merging #87 (7578dc0) into master (312952b) will decrease coverage by
1.70%
. The diff coverage is9.09%
.
@@ Coverage Diff @@
## master #87 +/- ##
==========================================
- Coverage 16.11% 14.40% -1.71%
==========================================
Files 19 20 +1
Lines 1117 1277 +160
==========================================
+ Hits 180 184 +4
- Misses 937 1093 +156
Impacted Files | Coverage Δ | |
---|---|---|
onnxruntime-sys/build.rs | 0.00% <0.00%> (ø) |
|
...untime-sys/src/generated/macos/aarch64/bindings.rs | 0.00% <0.00%> (ø) |
|
...runtime-sys/src/generated/macos/x86_64/bindings.rs | 0.00% <ø> (ø) |
|
onnxruntime/src/download.rs | 0.00% <0.00%> (ø) |
|
onnxruntime/src/lib.rs | 41.48% <0.00%> (-1.07%) |
:arrow_down: |
onnxruntime/src/session.rs | 0.00% <0.00%> (ø) |
|
onnxruntime/src/tensor/ort_owned_tensor.rs | 0.00% <0.00%> (ø) |
|
onnxruntime/src/error.rs | 58.33% <50.00%> (-4.17%) |
:arrow_down: |
onnxruntime/src/environment.rs | 88.52% <66.66%> (-1.31%) |
:arrow_down: |
onnxruntime/src/memory.rs | 87.50% <80.00%> (-5.84%) |
:arrow_down: |
... and 4 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 88c6bab...7578dc0. Read the comment docs.
This branch should pass test now :)
Merging two branches together to enables CUDA 11 Support on ONNX 1.7
The first one is: https://github.com/nbigaouette/onnxruntime-rs/pull/78 The second one is: https://github.com/radu-matei/onnxruntime-rs/tree/cuda
This solution may not be perfect but wanted to share it with others. I am available to add or maintain this branch if you have any recommendations to make it better :)
Thanks for the work of @radu-matei, @dkim, @dllu, which is the base for this PR :1st_place_medal: