Skip to main content

happy_vllm logo

pypi badge Generic badge License: AGPL v3

Build & Tests Wheel setup docs

📚 Documentation : https://france-travail.github.io/happy_vllm/


happy_vLLM is a REST API for vLLM which was developed with production in mind. It adds some functionalities to vLLM.

Installation

You can install happy_vLLM using pip:

pip install happy_vllm

Or build it from source:

git clone https://github.com/France-Travail/happy_vllm.git
cd happy_vllm
pip install -e .

Quickstart

Just use the entrypoint happy-vllm (see arguments for a list of all possible arguments)

happy-vllm --model path_to_model --host 127.0.0.1 --port 5000 --model-name my_model

It will launch the API and you can directly query it for example with

curl 127.0.0.1:5000/v1/info

To get various information on the application or

curl 127.0.0.1:5000/v1/completions -d '{"prompt": "Hey,", "model": "my_model"}'

if you want to generate your first LLM response using happy_vLLM. See endpoints for more details on all the endpoints provided by happy_vLLM.

Deploy with Docker image

A docker image is available from the Github Container Registry :

docker pull ghcr.io/france-travail/happy_vllm:latest

See deploying_with_docker for more details on how to serve happy_vLLM with docker.

Swagger

You can reach the swagger UI at the /docs endpoint (so for example by default at 127.0.0.1:5000/docs). You will be displayed all the endpoints and examples on how to use them.

Metadata

Release files for happy-vllm 1.2.5

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

Source distribution (sdist)

Source distribution for happy-vllm 1.2.5
File Size Uploaded
happy_vllm-1.2.5.tar.gz 62.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for happy-vllm 1.2.5
File Interpreter ABI Platform
happy_vllm-1.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 123.9 kB

Release files / happy_vllm-1.2.5.tar.gz

Download URL happy_vllm-1.2.5.tar.gz
Size 62.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2241b08fa28d2e3428ed7068161e6e6cfcc89225aa55616a476d535f2b050f2d
BLAKE2b-256 checksum
How to use checksums
19fb44e5dc4996e4dd0c294cfcd9ebfa68c4cfc170b4200f193555d9120a6ac5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release files / happy_vllm-1.2.5-py3-none-any.whl

Download URL happy_vllm-1.2.5-py3-none-any.whl
Size 61.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5149c41f3131226c1e50f7519abef6b487b110cbb69edb6ac6190fd79b87f03a
BLAKE2b-256 checksum
How to use checksums
f02fa86dd4932c018e46ec6a5373f0a49b347d965398105ef037dba73cda5775
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release history Release notifications | RSS feed

This release

1.2.5 This release

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.14

2 release files

1.1.13

2 release files

1.1.11

2 release files

1.1.10

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.9.0

2 release files

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