document-integrity-verifier / requirements.txt
cronos3k's picture
3-tier resilience: GPU retry -> HF Inference -> deterministic; add torchvision for VLM
681b5fb verified
raw
history blame contribute delete
707 Bytes
gradio>=5
spaces>=0.30
huggingface_hub>=0.30
transformers>=4.55
accelerate>=0.34
# kernels 0.15+ introduced a mandatory revision/version kwarg on LayerRepository,
# which transformers' hub_kernels module does not pass — pinning <0.15 avoids
# the import-time ValueError on Space startup.
kernels>=0.4,<0.15
compressed-tensors>=0.7
torch>=2.8
torchvision>=0.20
# Qwen2-VL family (Nanonets-OCR-s) auto-loads a video sub-processor that
# requires torchvision even if we only feed it images. Without it, the VLM
# OCR backend errors out at AutoProcessor.from_pretrained import time.
torchvision
rapidocr-onnxruntime>=1.4
onnxruntime>=1.18
beautifulsoup4>=4.12
Pillow>=10
pypdf>=4
pypdfium2>=4.30
reportlab>=4