Skip to main content

Haystack integration for vllm

Project description

vllm-haystack

PyPI - Version PyPI - Python Version


Contributing

Refer to the general Contribution Guidelines.

To run integration tests locally, you need two vLLM servers running in parallel: one for the chat generator on port 8000 and one for the embedders on port 8001. Refer to the workflow file for more details.

For example, on macOs, you can install vLLM-metal and start the chat generator server with:

# chat generator server (port 8000)
source ~/.venv-vllm-metal/bin/activate && vllm serve Qwen/Qwen3-0.6B --reasoning-parser qwen3 --max-model-len 1024 --enforce-eager --enable-auto-tool-choice --tool-call-parser hermes

vLLM-metal does not support embedding models. On macOS, you can run the embedding server via CPU Docker image:

# embedders server (port 8001)
docker run --rm -p 8001:8000 -e VLLM_CPU_OMP_THREADS_BIND=0-3 vllm/vllm-openai-cpu:latest \
    --model sentence-transformers/all-MiniLM-L6-v2 --enforce-eager

To run the ranker server, use CPU Docker image:

# ranker server (port 8002)
docker run --rm -p 8002:8000 -e VLLM_CPU_OMP_THREADS_BIND=0-3 vllm/vllm-openai-cpu:latest \
    --model BAAI/bge-reranker-base --enforce-eager

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vllm_haystack-1.3.0.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vllm_haystack-1.3.0-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file vllm_haystack-1.3.0.tar.gz.

File metadata

  • Download URL: vllm_haystack-1.3.0.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for vllm_haystack-1.3.0.tar.gz
Algorithm Hash digest
SHA256 3143f5c09b12aca2abf9fe6a85e46e9b6375132cee0e6d85500fc8d3032c77e0
MD5 a352244c5350326166790e0cc2ef3b30
BLAKE2b-256 62ff3abf8eed8f8148011d929046c72016dc31da4613b93b88d5995c9e288a99

See more details on using hashes here.

Provenance

The following attestation bundles were made for vllm_haystack-1.3.0.tar.gz:

Publisher: CI_pypi_release.yml on deepset-ai/haystack-core-integrations

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vllm_haystack-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: vllm_haystack-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for vllm_haystack-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4860a866687b4076aae847e0081710e37f6d48b16df263b93e184a6c2d4073c
MD5 04a12d7114cabfbe95292e6532455f9f
BLAKE2b-256 189c70a4b16a4d0d1cdf1d56155ebce9625dd3df22f35e1e96dd790c91030634

See more details on using hashes here.

Provenance

The following attestation bundles were made for vllm_haystack-1.3.0-py3-none-any.whl:

Publisher: CI_pypi_release.yml on deepset-ai/haystack-core-integrations

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page