YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
colqwen2-endpoint β Hugging Face custom Inference Endpoint repo
Minimal repo for deploying ColQwen2.5 multi-vector embeddings on HF Inference Endpoints.
Contents
| File | Purpose |
|---|---|
handler.py |
Custom EndpointHandler β wraps ColQwen2_5 from colpali-engine. |
requirements.txt |
Python deps.Must satisfy colpali-engine's transformers range. |
After changing requirements.txt
git add requirements.txt
git commit -m "Fix transformers pin for colpali-engine compatibility"
git push
Then in the HF dashboard: Endpoint β Retry (or redeploy).
Troubleshooting
ImportError: cannot import name 'ColQwen2_5' from 'colpali_engine.models': you're on acolpali-engineolder than 0.3.9. Usecolpali-engine==0.3.10as in this repo'srequirements.txt(and see the table at the top of that file for why 0.3.10 specifically).ResolutionImpossibleduring install: the endpoint's preinstalledhuggingface-inference-toolkithard-pinstransformers==4.51.3. Don't downgradetransformersbelow that, and don't re-pinpeft/accelerate/torchhere β the base image already ships compatible versions.No module named 'colpali_engine': dependency install failed silently or was skipped due to resolver failure. Fixrequirements.txtand redeploy.