Skip to main content

vLLM Client

Overview

Client for the vLLM API with minimal dependencies.

Installation

pip install vllm-client

Examples

See example.py for the following:

  • Single generation
  • Streaming
  • Batch inference

It should work out of the box with a vLLM API server.

Notes

  • sampling_params.py needs to be kept in sync with vLLM. It is a simplified version of their class, containing only the code required on client side.

Another programming languages

Metadata

Release files for vllm-client 0.3.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for vllm-client 0.3.2.0
File Interpreter ABI Platform
vllm_client-0.3.2.0-py3-none-any.whl Python 3 none any Details

Release files / vllm_client-0.3.2.0-py3-none-any.whl

Download URL vllm_client-0.3.2.0-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5ab9a8a3ba0a2dedf31a54693f311f1fb44320bae2bba8be898be01b8e69b71
BLAKE2b-256 checksum
How to use checksums
47cc9ea4c9ae6680b5467d0dd908c4c45d7ff7585e04fe3aee298a3dda7628a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for vllm-client 0.3.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page