jina-ai / clip-as-service

🏄 Scalable embedding, reasoning, ranking for images and sentences with CLIP
https://clip-as-service.jina.ai
Other
12.48k stars 2.07k forks source link

feat: drop image content to boost latency #824

Closed numb3r3 closed 2 years ago

codecov[bot] commented 2 years ago

Codecov Report

Merging #824 (c34c4ba) into main (bcce990) will decrease coverage by 2.11%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #824      +/-   ##
==========================================
- Coverage   84.67%   82.56%   -2.12%     
==========================================
  Files          21       21              
  Lines        1573     1566       -7     
==========================================
- Hits         1332     1293      -39     
- Misses        241      273      +32     
Flag Coverage Δ
cas 82.56% <100.00%> (-2.12%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
client/clip_client/client.py 88.78% <100.00%> (-0.25%) :arrow_down:
server/clip_server/executors/clip_onnx.py 84.72% <100.00%> (+0.66%) :arrow_up:
server/clip_server/executors/clip_tensorrt.py 93.10% <100.00%> (+0.37%) :arrow_up:
server/clip_server/executors/clip_torch.py 83.33% <100.00%> (+0.79%) :arrow_up:
server/clip_server/executors/helper.py 97.05% <100.00%> (ø)
server/clip_server/model/trt_utils.py 56.04% <0.00%> (-27.48%) :arrow_down:
server/clip_server/model/clip_trt.py 69.38% <0.00%> (-16.33%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.