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

fix: fp16 inference #790

Closed numb3r3 closed 2 years ago

codecov[bot] commented 2 years ago

Codecov Report

Merging #790 (207a3af) into main (ab00c2a) will decrease coverage by 0.80%. The diff coverage is 79.08%.

@@            Coverage Diff             @@
##             main     #790      +/-   ##
==========================================
- Coverage   82.74%   81.94%   -0.81%     
==========================================
  Files          20       21       +1     
  Lines        1055     1418     +363     
==========================================
+ Hits          873     1162     +289     
- Misses        182      256      +74     
Flag Coverage Δ
cas 81.94% <79.08%> (-0.81%) :arrow_down:

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

Impacted Files Coverage Δ
server/clip_server/model/clip.py 87.50% <ø> (-4.61%) :arrow_down:
server/clip_server/model/mclip_model.py 82.85% <ø> (-0.48%) :arrow_down:
server/clip_server/model/model.py 78.82% <78.82%> (ø)
server/clip_server/model/openclip_model.py 93.10% <90.00%> (+9.77%) :arrow_up:
server/clip_server/model/pretrained_models.py 98.41% <0.00%> (+14.28%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us.

github-actions[bot] commented 2 years ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 2 years ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 2 years ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 2 years ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 2 years ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.