Skip to main content

Client for the vLLM API with minimal dependencies

Project description

vLLM Client

Overview

Client for the vLLM API with minimal dependencies.

Examples

See example.py for the following:

  • Single generation
  • Streaming
  • Batch inference

It should work out of the box with a vLLM API server running a Llama-2 model (any parameter count).

Notes

  • sampling_params.py is a copy of the file with the same name from the vLLM repository. It needs to be kept in sync.

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_client-0.1.7.tar.gz (9.9 kB view hashes)

Uploaded Source

Built Distributions

vllm_client-0.1.7-py3-none-any.whl (8.8 kB view hashes)

Uploaded Python 3

vllm_client-0.1.7-py2.py3-none-any.whl (8.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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