Test szybkości
Qwen4-35B-A3B-FP8
RTX 3090 24GB ×4 · vllm · vllm-qwen4 · FP8
Dekodowanie
270tok/s
Prefill
2.1ktok/s
Czas do pierwszego tokenu
119ms
Łącznie
326tok/s
Szczytowe VRAM
86,7GB
Długość kontekstu
1024K
Głębokość KV
0
Rozmiar partii
1
Współbieżność
1
Pobór mocy
921W
Weryfikacja
Zweryfikowany przebiegKomenda uruchomienia
vllm serve Qwen/Qwen4-35B-A3B-FP8 --trust-remote-code --dtype bfloat16 -tp 4 --max-model-len 1048576 --block-size 1152 --gpu-memory-utilization 0.94 --enable-prefix-caching --kv-cache-dtype fp8 --engram-config.cpu_offload true --disable-custom-all-reduce --speculative-config '{"method":"dflash","model":"RadixArk/Qwen4-35B-A3B-Dflash2","num_speculative_tokens":7,"kv_cache_dtype":"bfloat16"}'Theoretical memory ceiling
3,029.1–3,035.4 tok/s
3,744.8 GB/s memory bandwidth (spec sheet) · 57.00 GB model weights · 8-bit KV cache · 1–251 tokens of context
Includes speculative decoding: 2.72 tokens accepted per model step on average (1,114.7–1,117.0 steps/s) · measured 99.2 steps/s
9–9%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from Qwen/Qwen4-35B-A3B-FP8; size from FP8 estimate. Hardware source · Open calculator
Sprzęt
- GPU
- RTX 3090
- Liczba
- 4
- VRAM
- 24 GB
- OS
- Ubuntu 26.04.1 LTS
Silnik
- Silnik
- vllm
- Wersja
- vllm-qwen4
- Repository
- https://github.com/vllm-project/vl…
- Build
- vllm-qwen4-dflash2-nvlink4-sm86-turbo-v2-fp8kv-1m
- Quant
- FP8
- Backend
- cuda
- TP
- 4
- KV cache
- fp8
- GPU mem util
- 0.94
- Prefix caching
- tak
- Spec decode
- włączone
Konfiguracja uruchomienia
- Kontekst
- 1 048 576 tokenów
- Głębokość
- 0 tokenów
- Rozmiar batcha
- 1
- Tokeny promptu
- 251
- Prefill tok/s
- 2,102.6 tok/s
- Pobór mocy
- 921 W (224 + 228 + 233 + 236 W)
- Tokeny wyjściowe
- 1024
- Przesłano przez
- lmx v0.1.68 speed-test submit
- Notatki
- 4x RTX 3090 (TP=4 across 2x NVLink4 pairs bridged via PCIe Gen4, 330W/GPU, DDR4-2667 8-channel pinned UVA PLE offload). Full native 1M (1,048,576) context with FP8 KV (--block-size 1152, ~1.40M KV pool) + RadixArk/Qwen4-35B-A3B-Dflash2 (k=7, BF16 draft KV) + vllm-nvlink-pair-comm hierarchical TP4 collectives + drafter-only NVFP4 lm_head + VLLM_GREEDY_LOCAL_ARGMAX=1 + VLLM_FUSED_TOPK_AG=1 + SM86 fused HyperConnection + VLLM_FAST_TEXT_EMBEDS=1 + VLLM_USE_RUST_FRONTEND=1.
Dekodowanie spekulatywne
- Metoda
- DFlash2
- Akceptowane na krok
- 2,72 tokenów
- Współczynnik akceptacji
- 25%
- Tokeny szkicu
- 2641
- Zaakceptowane tokeny
- 648
Zapisane dowody
- Hash promptu (SHA-256)
- a737db738bd4…
Próbka promptu · 826 chars
[LocalMaxxing cache-bust nonce: 0abaf5de16d856a39b6ee5aa97d30700] 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.
Próbka odpowiedzi · 3,950 chars
The user wants a CLI tool. Let me write clean, complete code using only stdlib.
Key design decisions:
- Read stdin line by line, parse JSON, validate fields.
- Count malformed lines with reasons (maybe categorized).
- `--since` flag: parse ISO timestamp, drop earlier records. Need to handle timezone-aware vs naive.
- Percentiles: p50 and p95 of latency_ms per service. Method choice: nearest-rank on sorted list, or linear interpolation. I'll implement linear interpolation (like numpy's default "linear" method) — but simpler and defensible: nearest-rank. Let me think about which to explain.
I'll implement the "linear interpolation between closest ranks" (R-7, the default in numpy/R/Excel), which is standard and gives sensible results for small samples. Actually for a log tool, nearest-rank is simpler and avoids inventing values that were never observed. Hmm. But interpolation is more standard. Let me implement interpolation but mention the alternative. Actually, let me do nearest-rank...
Let me decide: I'll use linear interpolation (R-7) because it's the de facto standard, matches numpy/Excel, and behaves monotonically/smoothly. I'll explain that. And mention nearest-rank as an alternative in the explanation. Actually the explanation should be 2-3 sentences. Fine.
Hmm, but there's a subtlety: with interpolation, p95 of a single sample = that sample. Good. With nearest-rank also. Fine.
Let me write the code.
Structure:
- `argparse` for `--since`.
- Data classes: `ServiceStats` with counts dict, latencies list.
- Percentile function.
- Malformed tracking: count + a few example reasons (bounded, e.g., keep first N examples).
- Output: sorted by service name, formatted table.
Validation details:
- Line must be valid JSON and an object.
- `ts` must be a string parseable as ISO-8601. Python 3.11+ `datetime.fromisoformat` handles 'Z'. For older, replace 'Z' with '+00:00'. I'll write a helper that handles both.
- `level` must be one of the four (case-sensitive? I'll accept exact match, maybe uppercase-normalize... spec says one of DEBUG/INFO/WARN/ERROR. I'll be strict but report unknown levels as malformed? Better: count unknown levels separately as malformed-ish. Hmm — I'll treat unknown level as a malformed record but track it distinctly. Actually simpler: treat as malformed with reason "unknown level". Let me keep a `bad` counter with reason buckets.)
- `service` must be a non-empty string.
- `latency_ms` optional; if present must be a number (int/float, not bool), finite, and >= 0. Negative or NaN → malformed? I'd say non-finite or negative → malformed with reason. Hmm, that might be over-strict. I'll treat negative as malformed (it's clearly bad data) and note it. Actually let me be lenient-ish: reject non-finite and negative as malformed. Document it.
Timezone handling for `--since`: if `since` is naive, assume UTC. If record ts is naive, assume UTC. Compare aware datetimes. If one is aware and other naive after normalization — normalize bot
…
ing malformed? Malformed lines are counted regardless (they can't be time-filtered).
Output format: something like
```
service count DEBUG INFO WARN ERROR p50_ms p95_ms latency_n
```
Let me produce a clean table.
Also add `--json` output? Not required. Keep it focused but maybe nice. I'll skip extra flags to keep it tight — actually a `--json` flag is cheap and useful. Hmm, requirements say "small". I'll keep it minimal but well-structured. I'll skip --json.
Let me also handle: stdin read errors, KeyboardInterrupt, BrokenPipeError.
Exit code: 0 normally; maybe 1 if there were malformed lines? That could be surprising. I'll add `--strict` maybe. No — keep exit 0, but report malformed count. Actually a useful behavior: exit code 0 always unless fatal. I'll mention it.
Let me write the percentile function:
```python
def percentile(sorted_values, q):
"""Linear interpolation between closest ranks (R-7 / numpyWięcej przebiegów tego modelu na tym sprzęcie
- 320tok/svllm · vllm-qwen4 · FP8kontekst 512K · głębokość 0 · partia 1Zweryfikowany przebiegjareddotinfo · 5 gru 2026
- 302tok/svllm · vllm-qwen4 · FP8kontekst 512K · głębokość 0 · partia 1Zweryfikowany przebiegjareddotinfo · 5 gru 2026
- 277tok/svllm · FP8kontekst 2K · głębokość 0 · partia 1jareddotinfo · 5 gru 2026
- 272tok/svllm · vllm-qwen4 · FP8kontekst 1024K · głębokość 0 · partia 1Zweryfikowany przebiegjareddotinfo · 5 gru 2026
- 254tok/svllm · FP8kontekst 2K · głębokość 0 · partia 1jareddotinfo · 5 gru 2026
- 254tok/svllm · FP8kontekst 2K · głębokość 0 · partia 1jareddotinfo · 5 gru 2026
- 239tok/svllm · FP8kontekst 2K · głębokość 0 · partia 1jareddotinfo · 5 gru 2026
- 236tok/svllm · FP8kontekst 2K · głębokość 0 · partia 1jareddotinfo · 5 gru 2026
- 229tok/svllm · FP8kontekst 2K · głębokość 0 · partia 1jareddotinfo · 5 gru 2026
- 227tok/svllm · FP8kontekst 2K · głębokość 0 · partia 1jareddotinfo · 5 gru 2026
