No project description provided
Project description
Baseten benchmarks
How to install
pip install baseten_benchmarks
For installation without dependencies:
pip install --no-deps baseten_benchmarks
How to run
To hit a local OpenAI server running on post 10001
baseten_benchmark --backend generic \
--api_url http://localhost:10001/v1/chat/completions \
--api_key this_does_not_matter \
--model deepseek \
--num_prompts 1 2 4 8 16 \
--concurrency 1 2 4 8 16 \
--random_input 1024 \
--output_len 1024 \
--input_type custom \
--stream \
--tokenizer deepseek-ai/DeepSeek-R1 \
--output_file latency.csv \
--warmup_requests 2 \
--prompt_style messages
For now input_type custom uses a fixed text file.
How to publish
poetry config pypi-token.pypi [your pypi token here]
poetry publish --build
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
baseten_benchmarks-0.4.0.tar.gz
(178.6 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
File details
Details for the file baseten_benchmarks-0.4.0.tar.gz.
File metadata
- Download URL: baseten_benchmarks-0.4.0.tar.gz
- Upload date:
- Size: 178.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.10.12 Linux/6.5.0-45-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14f8f2f70a7c11c7447a13bf8d22cdc774adf213be8ce7c551ac75613909af52
|
|
| MD5 |
834847134cf92e8deaed8c5818d7405d
|
|
| BLAKE2b-256 |
e4456bf5e6a170d4ed73de8ec080ada60c1c3a852e47b3ebfa740cb553f6df33
|
File details
Details for the file baseten_benchmarks-0.4.0-py3-none-any.whl.
File metadata
- Download URL: baseten_benchmarks-0.4.0-py3-none-any.whl
- Upload date:
- Size: 182.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.10.12 Linux/6.5.0-45-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
310c548774ff386d41883ef475ac609567becbffd1e8dca0f279ab311677b1d3
|
|
| MD5 |
4fe3428f42227ca1d45edd1a9bb86e32
|
|
| BLAKE2b-256 |
077b61a6bd2c27c5b76e01bd4a5d4ee8c4c896aaa78107f402f6d088cd40acb7
|