Blame view

requirements_ml.txt 649 Bytes
701ae503   tangwang   docs
1
  # Optional heavy dependencies for local embedding/image encoding and reranker backends.
484adbfe   tangwang   adapt ubuntu; con...
2
3
4
5
  #
  # Install when you need:
  # - `./scripts/start_embedding_service.sh` (local embeddings server)
  # - local BGE-M3 / CN-CLIP inference
701ae503   tangwang   docs
6
7
8
9
10
  # - reranker with BGE backend (modelscope)
  #
  # For Qwen3-Reranker-0.6B (vLLM backend), also install:
  #   pip install vllm>=0.8.5
  # (transformers already listed below)
484adbfe   tangwang   adapt ubuntu; con...
11
12
13
14
15
16
17
18
19
20
21
  #
  # Notes:
  # - `torch` wheels can be very large; if you want CPU-only wheels,
  #   consider installing torch separately with the official CPU index.
  #
  torch>=2.0.0
  sentence-transformers>=2.2.0
  transformers>=4.30.0
  modelscope>=1.9.0
  cn-clip>=1.5.0
  pillow>=10.0.0