LM Studio Inference Benchmark
This project provides tools to benchmark inference performance for LM Studio models. It measures various metrics including:
- Inference latency
- Tokens per second
- Memory usage
- Response generation time
Requirements
- Python 3.8+
- LM Studio running locally
- Required Python packages (see requirements.txt)
Installation
pip install -r requirements.txt
Usage
python main.py --model "your_model_name" --prompt "your_test_prompt"
Features
- Measures inference latency across different prompt lengths
- Supports multiple model comparisons
- Generates detailed performance reports
- Memory usage tracking
- Configurable test parameters
License
MIT License
Metadata
Release files for benchmarkLLM 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| benchmarkllm-0.1.0.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| benchmarkLLM-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / benchmarkllm-0.1.0.tar.gz
| Download URL | benchmarkllm-0.1.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c3e7b3e92870dc7fddc1eca89886608d875a9a60813c892007d74860eb760cd
|
|
BLAKE2b-256 checksum How to use checksums |
e0110749d28ac132ca73fb7eb3f6a55e18efe8499a33435f764c68abc28f242d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 22, 2025.
Transparency logRelease files / benchmarkLLM-0.1.0-py3-none-any.whl
| Download URL | benchmarkLLM-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51ab8150f68834fc0388f8b8652a3945d965584e8bd80ad5e5a3c5c2290fa254
|
|
BLAKE2b-256 checksum How to use checksums |
d8003abfde88846c94efa3d398874baa0f3f178a44d74fe24115d39209755b97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 22, 2025.
Transparency log