neuropod
neuropod copied to clipboard
[Python] Add initial support for asyncio
Summary:
Add initial support for running infer using asyncio.
This implementation currently blocks the event loop so it shouldn't be used just yet
Test Plan:
Added a test + CI
Codecov Report
Merging #471 (03deced) into master (c15727e) will increase coverage by
0.04%. The diff coverage is100.00%.
@@ Coverage Diff @@
## master #471 +/- ##
==========================================
+ Coverage 88.23% 88.28% +0.04%
==========================================
Files 106 106
Lines 6852 6878 +26
==========================================
+ Hits 6046 6072 +26
Misses 806 806
| Impacted Files | Coverage Δ | |
|---|---|---|
| source/neuropod/bindings/neuropod_native.cc | 94.63% <100.00%> (+0.98%) |
:arrow_up: |
| source/python/neuropod/loader.py | 95.18% <100.00%> (+0.18%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update c15727e...03deced. Read the comment docs.