OpenAI-compatible LLM inference simulator for xPyD
Project description
xPyD-sim
OpenAI-compatible LLM inference simulator for xPyD.
Simulates prefill and decode nodes with realistic behavior for testing xPyD-bench and xPyD-proxy without real GPU hardware.
Features
- Separate prefill and decode node simulators
- Full OpenAI API compatibility (/v1/completions, /v1/chat/completions, /v1/models)
- Configurable latency (prefill delay, decode delay per token)
- Streaming support with realistic token-by-token delivery
- EOS simulation with configurable output length distribution
- All OpenAI API parameters accepted
- Spec-compliant response formats
Install
pip install xpyd-sim
Quick Start
# Start prefill node
xpyd-sim prefill --port 8001
# Start decode node
xpyd-sim decode --port 8002
License
TBD
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
xpyd_sim-0.1.1.tar.gz
(48.0 kB
view details)
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
xpyd_sim-0.1.1-py3-none-any.whl
(23.8 kB
view details)
File details
Details for the file xpyd_sim-0.1.1.tar.gz.
File metadata
- Download URL: xpyd_sim-0.1.1.tar.gz
- Upload date:
- Size: 48.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48abfaa39eb67c9882e25f0966bb96e3a3257e46ab4ea0a90a8a95cbc01d2629
|
|
| MD5 |
66982af3ae498dd06047f929b29206dc
|
|
| BLAKE2b-256 |
b22a34291bdc4cad7ab4e3ebb0a2266d3c20038e9fc8525c7d56d4aeb31b56ca
|
File details
Details for the file xpyd_sim-0.1.1-py3-none-any.whl.
File metadata
- Download URL: xpyd_sim-0.1.1-py3-none-any.whl
- Upload date:
- Size: 23.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0bf52226a397c82a255bed01febba59a7416b8b0ebd23a2e5c9bf7e7e94fdff
|
|
| MD5 |
a8d0c5ca3ade6beef735778c37c90fb8
|
|
| BLAKE2b-256 |
788bb1e31a208fb8abb843181325ff057233c8e0c3a247f86659f4ec9f15afba
|