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.5.0.tar.gz
(179.1 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.5.0.tar.gz.
File metadata
- Download URL: baseten_benchmarks-0.5.0.tar.gz
- Upload date:
- Size: 179.1 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 |
3d6c5379a005b5229288dd84cbedbf407662817646ee9880b68b29b4f016bb35
|
|
| MD5 |
724324b752408a823d47d8ff4864dc7a
|
|
| BLAKE2b-256 |
e3cb61df03a2b65a7c8b0b0231f9bd03040e932f063caf8faad053185800f703
|
File details
Details for the file baseten_benchmarks-0.5.0-py3-none-any.whl.
File metadata
- Download URL: baseten_benchmarks-0.5.0-py3-none-any.whl
- Upload date:
- Size: 183.3 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 |
167bfd61f6244718b70936e162ffb44289f287c7c091ee10fc08c24fc9b87190
|
|
| MD5 |
0b273ef8d0ef805fd7ade853c7e392bf
|
|
| BLAKE2b-256 |
cbe793efcc79b5741f2f9a0a72dc2242990ad7587bc38d5efa5475ce3dc05eb7
|