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

Support open-clip-torch 2.24.0 #951

Open onny opened 6 months ago

onny commented 6 months ago

Currently building module clip-server fails with:

       > Checking runtime dependencies for clip_server-0.8.3-py3-none-any.whl
       >   - docarray==0.21.0 not satisfied by version 0.40.0
       >   - open-clip-torch<2.9.0,>=2.8.0 not satisfied by version 2.24.0

Please support latest open-clip-torch version 2.24.0 https://github.com/mlfoundations/open_clip/releases/tag/v2.24.0

Best regards Jonas

michaelfeil commented 5 months ago

@onny

Trying to add CLIP here: https://github.com/michaelfeil/infinity/issues/147 -> Is that needed to run the e.g. laion/CLIP-ViT-B-32-laion2B-s34B-b79K models?