A vLLM plugin to register the MERaLiON-2-10B model architecture with vLLM’s plugin system.
Project description
MERaLiON2 vLLM Plugin
Licence
Set up Environment
This vLLM plugin supports vLLM version 0.6.5 ~ 0.7.3 (V0 engine), and 0.8.5 ~ 0.8.5.post1 (V1 engine).
Install the MERaLiON2 vLLM plugin.
pip install vllm-plugin-meralion2
It's strongly recommended to install flash-attn for better memory and gpu utilization.
pip install flash-attn --no-build-isolation
Offline Inference
Refer to offline_example.py for offline inference example.
OpenAI-compatible Serving
Refer to openai_serve_example.sh for openAI-compatible serving example.
To call the server, you can refer to openai_client_example.py.
Alternatively, you can try calling the server with curl, refer to openai_client_curl.sh.
Changelog
0.1.4
- Fixed multi-audio handling for a single request.
- Fixed server-side internal failure when multiple requests with different audio chunk counts are batched together.
- Added more docstrings for better code readability and maintenance.
Full history: see CHANGELOG.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vllm_plugin_meralion2-0.1.5.tar.gz.
File metadata
- Download URL: vllm_plugin_meralion2-0.1.5.tar.gz
- Upload date:
- Size: 30.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
786f07185944d03fcb2d1d785d3cd09bde97d9b47144e2694c32d61bd6e6a5fb
|
|
| MD5 |
4e2231bd200c7459d6df77109b73cc8d
|
|
| BLAKE2b-256 |
31225968319d31b632a47e910102f7fd0de80203f33e470783e631be06403f80
|
Provenance
The following attestation bundles were made for vllm_plugin_meralion2-0.1.5.tar.gz:
Publisher:
publish.yml on YingxuH/vllm_plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vllm_plugin_meralion2-0.1.5.tar.gz -
Subject digest:
786f07185944d03fcb2d1d785d3cd09bde97d9b47144e2694c32d61bd6e6a5fb - Sigstore transparency entry: 975958276
- Sigstore integration time:
-
Permalink:
YingxuH/vllm_plugin@0aac20b9b14b773a49dfedff230dd2819ef28540 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/YingxuH
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0aac20b9b14b773a49dfedff230dd2819ef28540 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file vllm_plugin_meralion2-0.1.5-py3-none-any.whl.
File metadata
- Download URL: vllm_plugin_meralion2-0.1.5-py3-none-any.whl
- Upload date:
- Size: 21.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c35026b59aa95a0a4188337aa21fa73196aa49d82f3be475a91764bc635b764
|
|
| MD5 |
4a0ea447dd3bab8b2ba336c69c4227e3
|
|
| BLAKE2b-256 |
f9bc87d46c90ee1c2cafbe6ca903358c1caa27aafd45cbce22e07a3d9d5fb377
|
Provenance
The following attestation bundles were made for vllm_plugin_meralion2-0.1.5-py3-none-any.whl:
Publisher:
publish.yml on YingxuH/vllm_plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vllm_plugin_meralion2-0.1.5-py3-none-any.whl -
Subject digest:
0c35026b59aa95a0a4188337aa21fa73196aa49d82f3be475a91764bc635b764 - Sigstore transparency entry: 975958278
- Sigstore integration time:
-
Permalink:
YingxuH/vllm_plugin@0aac20b9b14b773a49dfedff230dd2819ef28540 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/YingxuH
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0aac20b9b14b773a49dfedff230dd2819ef28540 -
Trigger Event:
workflow_dispatch
-
Statement type: