Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ Follow these instructions to set up and run benchmarks on your system.

### Installation

#### Using pip

Install the package directly using pip using a tool of your choice.

```bash
pip install git+https://github.com/larryhopecode/ollama-benchmark.git
```

#### Local Setup

1. **Clone the repository**

```bash
Expand All @@ -78,8 +88,10 @@ Follow these instructions to set up and run benchmarks on your system.

3. **Install dependencies**

Install the package in editable mode, in case you want to modify the code.

```bash
pip install -r requirements.txt
pip install -e .
```

## Usage
Expand All @@ -97,13 +109,13 @@ Follow these instructions to set up and run benchmarks on your system.
Basic usage:

```bash
python benchmark.py
ollama-benchmark
```

With options:

```bash
python benchmark.py --verbose --models deepseek-r1:70b --prompts "Write a hello world program" "Explain quantum computing"
ollama-benchmark --verbose --models deepseek-r1:70b --prompts "Write a hello world program" "Explain quantum computing"
```

### Command Line Options
Expand Down
14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[project]
name = "ollama-benchmark"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"pydantic",
"ollama"
]
scripts = { "ollama-benchmark" = "benchmark:main" }

[tool.setuptools]
py-modules = ["benchmark"]
2 changes: 0 additions & 2 deletions requirements.txt

This file was deleted.