Running 'jinaai/jina-clip-v2' model #5603
-
Hi I'm trying to run the afore mentioned model in LocalAI. ` USER root but I still encounter the error :
I tried to install the dependencies at root level as well without any luck |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Fixed by myself, reporting here the solution for anyone that might be interested. ` USER root |
Beta Was this translation helpful? Give feedback.
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)