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: increase timeout ready for executor docker images #854

Closed ZiniuYu closed 2 years ago

ZiniuYu commented 2 years ago

ViT-g/h and M-CLIP models usually take longer to download and have a high chance to timeout at the starting stage. This pr increases timeout_ready to 3000000ms

codecov[bot] commented 2 years ago

Codecov Report

Merging #854 (bb0e6a5) into main (f96ce54) will increase coverage by 2.06%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #854      +/-   ##
==========================================
+ Coverage   79.32%   81.39%   +2.06%     
==========================================
  Files          21       21              
  Lines        1596     1596              
==========================================
+ Hits         1266     1299      +33     
+ Misses        330      297      -33     
Flag Coverage Δ
cas 81.39% <ø> (+2.06%) :arrow_up:

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

Impacted Files Coverage Δ
server/clip_server/model/clip_trt.py 85.71% <0.00%> (+16.32%) :arrow_up:
server/clip_server/model/trt_utils.py 83.51% <0.00%> (+27.47%) :arrow_up:

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