neuropod icon indicating copy to clipboard operation
neuropod copied to clipboard

[Python] Add initial support for asyncio

Open VivekPanyam opened this issue 5 years ago • 1 comments

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

VivekPanyam avatar Jan 14 '21 01:01 VivekPanyam

Codecov Report

Merging #471 (03deced) into master (c15727e) will increase coverage by 0.04%. The diff coverage is 100.00%.

Impacted file tree graph

@@            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 data Powered by Codecov. Last update c15727e...03deced. Read the comment docs.

codecov[bot] avatar Jan 14 '21 02:01 codecov[bot]