Metadata-Version: 2.4
Name: xpyd-plan
Version: 0.1.0
Summary: PD ratio planner for xPyD proxy — recommend optimal Prefill:Decode node allocation
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.26.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: PyYAML>=6.0
Requires-Dist: rich>=13.0.0
Requires-Dist: scipy>=1.11.0
Provides-Extra: report
Requires-Dist: jinja2>=3.1.0; extra == "report"
Provides-Extra: parquet
Requires-Dist: pyarrow>=12.0.0; extra == "parquet"
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == "dev"
Requires-Dist: ruff>=0.3.0; extra == "dev"
Requires-Dist: isort>=5.13.0; extra == "dev"
Requires-Dist: pre-commit>=3.6.0; extra == "dev"
Dynamic: license-file

# xPyD-plan

PD ratio planner — recommend optimal **Prefill:Decode** allocation from real benchmark data.

## Install

```bash
pip install xpyd-plan
# With HTML reports
pip install "xpyd-plan[report]"
# Development
pip install "xpyd-plan[dev]"
```

## Quick Start

```bash
# Find optimal P:D ratio from benchmark results
xpyd-plan analyze --benchmark results.json --sla-ttft 200 --sla-tpot 50

# Compare two benchmark runs
xpyd-plan compare --baseline baseline.json --current current.json

# Generate report
xpyd-plan report --format markdown --benchmark results.json --output report.md
```

## License

[Apache 2.0](LICENSE)
