Тест скорости
LFM3-1.7B-GGUF
RTX 3090 24GB · llama.cpp · b12030 · Q6_K
Декодирование
250tok/s
Prefill
6.5ktok/s
Время до первого токена
33мс
Всего
350tok/s
Пиковая VRAM
5ГБ
Длина контекста
256K
Глубина KV
0
Размер батча
1
Параллелизм
1
Энергопотребление
347Вт
Проверка
Проверенный запускКоманда запуска
llama-server -m LFM3-1.7B-Q6_K.gguf -ngl 999 -c 262144 -np 1 -fa on
Theoretical memory ceiling
653.5–655.8 tok/s
936.2 GB/s memory bandwidth (spec sheet) · 1.43 GB model weights · 16-bit KV cache · 1–217 tokens of context
38–38%
of the ceiling reached
High confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from LiquidAI/LFM3-1.7B; size from LiquidAI/LFM3-1.7B-GGUF/LFM3-1.7B-Q6_K.gguf. Hardware source · Open calculator
Оборудование
- GPU
- RTX 3090
- Количество
- 1
- VRAM
- 24 GB
- OS
- Ubuntu 24.04.5
Движок
- Движок
- llama.cpp
- Версия
- b12030
- Repository
- https://github.com/ggml-org/llama.…
- Build
- ghcr.io/ggml-org/llama.cpp@sha256:75037a842f2ec1d1b5317ce64078bbb4a2a134238e91a755c10ce31d8f90550a
- Квант
- Q6_K
- Backend
- cuda
- TP
- 1
- GPU layers
- 999
- KV cache
- f16
- Prefix caching
- нет
- Max running seqs
- 1
- Flash Attn
- да
Конфигурация запуска
- Контекст
- 262 144 токенов
- Глубина
- 0 токенов
- Batch size
- 1
- Prompt tokens
- 217
- Prefill tok/s
- 6,540.2 tok/s
- Потребляемая мощность
- 347 W
- Output tokens
- 512
- Ревизия
- bad5729bba61d076fff20d2548e62526665af215
- Заметки
- GGUF file: LFM3-1.7B-Q6_K.gguf (LiquidAI official Q6_K). llama.cpp llama-server b12030 (official ghcr.io/ggml-org/llama.cpp server-cuda12 image), full GPU offload, FlashAttention on, F16 KV, 1 slot, native 262144 context, prompt cache off per request. Part of a same-size Q6_K-class comparison of LFM3-1.7B GGUFs on one rig: The Kaitchup SLQ EAR97.7 (SLQ by IST-DASLab), AtomicChat AD-Q6_K and LiquidAI Q6_K. Spec decode: none. KV cache: f16. 1x RTX 3090 24GB (Zagitta/gpu-unlock), 420 W limit, PCIe Gen3 x16 | Intel Core i7-9700K 8C | 32 GB DDR4 | Ubuntu 24.04.5, NVIDIA driver 580.178.04. Method: LocalMaxxing canonical prompt code-v1, batch 1, streaming, temperature 0, 512 output tokens (ignore_eos), cache-bust nonce so every prefill is cold, thinking off. Median of 5 runs (range 248.7-249.8 tok/s). tokSOut = (completion - 1) / time after first token.
Сохранённые данные
- Хеш промпта (SHA-256)
- a737db738bd4…
Пример промпта · 760 chars
Implement a small command-line tool in Python called `logtally`. Requirements: - It reads newline-delimited JSON log records from stdin. Each record has `ts` (ISO-8601 string), `level` (one of DEBUG, INFO, WARN, ERROR), `service` (string), and optional `latency_ms` (number). - It prints, per service, the count of records by level and the p50 and p95 of `latency_ms` (ignore records without latency). - Malformed lines must be counted and reported at the end, never crash the program. - Support a `--since <ISO timestamp>` flag that drops earlier records. - Use only the standard library. After the code, explain in two or three sentences how you computed percentiles and why you chose that method, then list three edge cases a unit test suite should cover.
Пример вывода · 1,949 chars
**Python implementation – `logtally.py`**
```python
#!/usr/bin/env python3
"""
logtally – command‑line tool
Reads newline‑delimited JSON log records from stdin.
Each line must be a JSON object with keys:
ts : ISO‑8601 timestamp (string)
level : one of DEBUG, INFO, WARN, ERROR
service : string
latency_ms : optional number
Features
--------
* Per service: total records, count per log level,
and percentiles p50 / p95 of `latency_ms` (ignoring missing values).
* Malformed lines are counted and reported at the end; program never crashes.
* Optional flag --since <ISO‑timestamp> drops records whose timestamp is earlier
than the given value.
Only the Python standard library is used.
"""
import argparse
import json
import sys
from collections import defaultdict
from datetime import datetime
def parse_iso(ts: str) -> datetime:
"""Parse an ISO‑8601 string. Returns a datetime object or raises ValueError."""
try:
# most JSON libraries accept the same format; we use fromisoformat for Python 3.7+
return datetime.fromisoformat(ts.replace("Z", "+00:00"))
except Exception as e:
raise ValueError(f"Invalid ISO timestamp {ts!r}: {e}")
def percentile(data, p):
"""
Return the value at rank *p* (0‑based) from *data*.
Uses the 'nearest-rank' method with linear interpolation.
"""
if not data:
return None
sorted_data = sorted(data)
n = len(sorted_data)
# position = (p / 100) * (n - 1)
pos = (p / 100.0) * (n - 1)
lower = int(pos)
upper = lower + 1
if upper >= n:
return sorted_data[-1]
frac = pos - lower
return sorted_data[lower] + frac * (sorted_data[upper] - sorted_data[lower])
def process_records(lines):
"""
Yield parsed records and also collect malformed lines.
Returns a dict: service -> {
'total': int,
'levels': {'DEBUG':0, 'INFO':0, 'WARN':0, 'ERROR':0},
Другие запуски этой модели на этом оборудовании
- 695tok/sllama.cpp · v1.0.0-dev (build 12588, commit 883286076) · Q4_K_Mконтекст 24K · глубина 1 · батч 1Проверенный запускchiming · 27 нояб. 2026 г.
- 679tok/sllama.cpp · v1.0.0-dev (build 12588, commit 883286076) · Q4_K_Mконтекст 24K · глубина 1 · батч 1Проверенный запускchiming · 27 нояб. 2026 г.
- 651tok/sllama.cpp · v1.0.0-dev (build 12588, commit 883286076) · Q4_K_Mконтекст 24K · глубина 1 · батч 1Проверенный запускchiming · 27 нояб. 2026 г.
- 638tok/sllama.cpp · v1.0.0-dev (build 12588, commit 883286076) · Q4_K_Mконтекст 24K · глубина 1 · батч 1Проверенный запускchiming · 27 нояб. 2026 г.
- 408tok/sllama.cpp · v1.0.0-dev (build 12588, commit 883286076) · Q4_0контекст 24K · глубина 1 · батч 1Проверенный запускchiming · 27 нояб. 2026 г.
- 385tok/sllama.cpp · v1.0.0-dev (build 12588, commit 883286076) · Q4_K_Mконтекст 24K · глубина 1 · батч 1Проверенный запускchiming · 27 нояб. 2026 г.
- 251tok/sllama.cpp · b12030 · Q6_Kконтекст 256K · глубина 0 · батч 1Проверенный запускSandberg · 2 нояб. 2026 г.
- 250tok/sllama.cpp · b12030 · Q6_Kконтекст 256K · глубина 2,047 · батч 1Проверенный запускSandberg · 2 нояб. 2026 г.
- 247tok/sllama.cpp · b12030 · Q6_Kконтекст 256K · глубина 4,095 · батч 1Проверенный запускSandberg · 2 нояб. 2026 г.
- 242tok/sllama.cpp · b12030 · Q6_Kконтекст 256K · глубина 8,191 · батч 1Проверенный запускSandberg · 2 нояб. 2026 г.
