Skip to content

Running 'jinaai/jina-clip-v2' model #5603

Closed Answered by roberto-corno-ntt
roberto-corno-ntt asked this question in Q&A
Discussion options

You must be logged in to vote

Fixed by myself, reporting here the solution for anyone that might be interested.
Digging into the scripts I discovered that python venv is managed by uv so installing dependencies shall just have a slightly different form

`
FROM localai/localai:latest-aio-gpu-nvidia-cuda-12

USER root
RUN apt-get update && apt-get install -y python3-pip
RUN (. /build/backend/python/transformers/venv/bin/activate && uv pip install torchvision==0.19.1 timm)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by roberto-corno-ntt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant