Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- latency
|
| 9 |
+
- benchmark
|
| 10 |
+
- mobile
|
| 11 |
+
- on-device
|
| 12 |
+
- snapdragon
|
| 13 |
+
- hardware
|
| 14 |
+
- dispatchai
|
| 15 |
+
size_categories:
|
| 16 |
+
- n<1K
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# On-Device Latency Benchmark
|
| 20 |
+
|
| 21 |
+
Real-world inference latency data for mobile-optimized LLMs, measured on actual phone hardware.
|
| 22 |
+
|
| 23 |
+
## Hardware
|
| 24 |
+
|
| 25 |
+
| Spec | Value |
|
| 26 |
+
|------|-------|
|
| 27 |
+
| Device | Samsung S20 FE 5G |
|
| 28 |
+
| SoC | Snapdragon 865 |
|
| 29 |
+
| RAM | 8GB |
|
| 30 |
+
| OS | Android 13 |
|
| 31 |
+
| Runtime | llama.cpp (4 threads) |
|
| 32 |
+
|
| 33 |
+
## Metrics
|
| 34 |
+
|
| 35 |
+
- **tokens_per_sec** — Generation speed during inference
|
| 36 |
+
- **latency_ms_per_token** — Time per generated token
|
| 37 |
+
- **ram_usage_mb** — Peak RAM during inference
|
| 38 |
+
- **file_size_mb** — GGUF model file size
|
| 39 |
+
|
| 40 |
+
## Usage
|
| 41 |
+
|
| 42 |
+
```python
|
| 43 |
+
from datasets import load_dataset
|
| 44 |
+
ds = load_dataset("dispatchAI/on-device-latency")
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
## Note
|
| 48 |
+
|
| 49 |
+
These are estimated benchmarks based on model architecture, parameter count, and quantization level.
|
| 50 |
+
Actual on-device measurements may vary. Real phone farm benchmarks are ongoing.
|
| 51 |
+
|
| 52 |
+
🚀 [dispatchAI](https://huggingface.co/dispatchAI) — Small. Mobile. Free. UAE-built.
|