A benchmarking tool for LM Studio inference
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 benchmarkllm-0.1.0.tar.gz.
File metadata
- Download URL: benchmarkllm-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c3e7b3e92870dc7fddc1eca89886608d875a9a60813c892007d74860eb760cd
|
|
| MD5 |
8a2198acaf5da809a230349f776bf359
|
|
| BLAKE2b-256 |
e0110749d28ac132ca73fb7eb3f6a55e18efe8499a33435f764c68abc28f242d
|
Provenance
The following attestation bundles were made for benchmarkllm-0.1.0.tar.gz:
Publisher:
python-publish.yml on chenyuan99/benchmarkLLM
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
benchmarkllm-0.1.0.tar.gz -
Subject digest:
9c3e7b3e92870dc7fddc1eca89886608d875a9a60813c892007d74860eb760cd - Sigstore transparency entry: 173482764
- Sigstore integration time:
-
Permalink:
chenyuan99/benchmarkLLM@1dcee135954aea4c5143ca7ea610cc9094ad10fe -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/chenyuan99
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@1dcee135954aea4c5143ca7ea610cc9094ad10fe -
Trigger Event:
release
-
Statement type:
File details
Details for the file benchmarkLLM-0.1.0-py3-none-any.whl.
File metadata
- Download URL: benchmarkLLM-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51ab8150f68834fc0388f8b8652a3945d965584e8bd80ad5e5a3c5c2290fa254
|
|
| MD5 |
a2dc68191b68e71adb8354787b922a2c
|
|
| BLAKE2b-256 |
d8003abfde88846c94efa3d398874baa0f3f178a44d74fe24115d39209755b97
|
Provenance
The following attestation bundles were made for benchmarkLLM-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on chenyuan99/benchmarkLLM
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
benchmarkllm-0.1.0-py3-none-any.whl -
Subject digest:
51ab8150f68834fc0388f8b8652a3945d965584e8bd80ad5e5a3c5c2290fa254 - Sigstore transparency entry: 173482765
- Sigstore integration time:
-
Permalink:
chenyuan99/benchmarkLLM@1dcee135954aea4c5143ca7ea610cc9094ad10fe -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/chenyuan99
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@1dcee135954aea4c5143ca7ea610cc9094ad10fe -
Trigger Event:
release
-
Statement type: