Skip to main content

No project description provided

Project description

Baseten benchmarks

How to install

pip install 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.2.0.tar.gz (178.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

baseten_benchmarks-0.2.0-py3-none-any.whl (182.9 kB view details)

Uploaded Python 3

File details

Details for the file baseten_benchmarks-0.2.0.tar.gz.

File metadata

  • Download URL: baseten_benchmarks-0.2.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

Hashes for baseten_benchmarks-0.2.0.tar.gz
Algorithm Hash digest
SHA256 44c9d6c40e8a2a1e1cb55867fc4d7f470b7755116b1342365940a91a3a97fecf
MD5 a4aba087e8aef6d0d85ca252498bbd17
BLAKE2b-256 e45ce100ca5dcdcc5c671d07df285784bb9754fbeb8d464986aa68d2d3d080ee

See more details on using hashes here.

File details

Details for the file baseten_benchmarks-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: baseten_benchmarks-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 182.9 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

Hashes for baseten_benchmarks-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d5bf2f5161193304154fe0dad9261f1e848007b81e44af4efb93975ae46f2dd
MD5 660691aa9ba288f9e0b1c373fca46cbf
BLAKE2b-256 8bfa2e6b8e5c78019ac5141c8b0c4ae14a11dac89119e2aba8aa98786f2551c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page