Test szybkości
Qwen3.6-35B-A3B
RTX 5090 32GB · ninfer · INT4
Dekodowanie
705tok/s
Prefill
6.9ktok/s
Czas do pierwszego tokenu
34ms
Łącznie
842tok/s
Szczytowe VRAM
24,1GB
Długość kontekstu
32K
Głębokość KV
0
Rozmiar partii
1
Współbieżność
1
Pobór mocy
440W
Weryfikacja
Zweryfikowany przebiegKomenda uruchomienia
taskset -c 8-23 ./build/apps/ninfer-serve models/qwen3_6_35b_a3b.ninfer --model-id qwen3.6-35b-a3b --port 18080 --max-concurrency 1 --max-context 32768 --kv-capacity 32768 --spec mtp --draft-tokens 3 --lm-head-draft
Theoretical memory ceiling
2,762.9–2,782.6 tok/s
1,792 GB/s memory bandwidth (spec sheet) · 18.00 GB model weights · 16-bit KV cache · 1–225 tokens of context
Includes speculative decoding: 2.92 tokens accepted per model step on average (947.2–953.9 steps/s) · measured 241.6 steps/s
25–26%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from Qwen/Qwen3.6-35B-A3B; size from INT4 estimate. Hardware source · Open calculator
Sprzęt
- GPU
- RTX 5090
- Liczba
- 1
- VRAM
- 32 GB
- OS
- Ubuntu 26.10
Silnik
- Silnik
- ninfer
- Repository
- https://github.com/giveen/ninfer-e…
- Build
- CUDA 13.3, sm_120a, Release, driver 615.71.09
- Commit
- 7d08406d19174245c8205bf216432cd10ecad60b
- Quant
- INT4
- Backend
- cuda
- KV cache
- bf16
- Prefix caching
- tak
- Chunked prefill
- tak
- Prefill chunk
- 1024
- Spec decode
- włączone
- MTP
- włączone
Konfiguracja uruchomienia
- Kontekst
- 32 768 tokenów
- Głębokość
- 0 tokenów
- Rozmiar batcha
- 1
- Tokeny promptu
- 225
- Prefill tok/s
- 6,936.8 tok/s
- Pobór mocy
- 440 W
- Tokeny wyjściowe
- 1024
- Notatki
- Single RTX 5090, whole model resident. NInfer qwen3_6_35b_a3b groupwise-int recipe from the official checkpoint: routed experts INT4 group-64 (expert down projections Q5/Q6), shared/projection weights Q8; BF16 KV. Built-in MTP head, K=3, with NInfer's reduced-vocabulary proposal head (--lm-head-draft); the target verifies with the full head, greedy output is exact. One request, 1024 output tokens incl. reasoning. tokSOut/tokSPrefill from the server's llama.cpp-style timings, TTFT client-side. Same-session A/B on these prompts: this config 705-728 tok/s; DFlash K=7 645-679; NVFP4 artifact + MTP3 601-655; NVFP4 + EAGLE3 K=7 561-614.
Dekodowanie spekulatywne
- Metoda
- MTP
- Akceptowane na krok
- 2,92 tokenów
- Współczynnik akceptacji
- 70%
- Tokeny szkicu
- 959
- Zaakceptowane tokeny
- 672
Zapisane dowody
- Hash promptu (SHA-256)
- a737db738bd4…
Próbka promptu · 810 chars
[LocalMaxxing cache-bust nonce: 0133e275cc9bc066] 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 · 4,000 chars
Here's a thinking process:
1. **Understand User Requirements:**
- **Tool Name:** `logtally`
- **Input:** Newline-delimited JSON (NDJSON) from stdin
- **Record Fields:** `ts` (ISO-8601 string), `level` (DEBUG, INFO, WARN, ERROR), `service` (string), optional `latency_ms` (number)
- **Output:** Per service: count of records by level, p50 and p95 of `latency_ms` (ignore missing latency)
- **Error Handling:** Malformed lines counted and reported at the end, never crash
- **Flag:** `--since <ISO timestamp>` to filter out earlier records
- **Constraints:** Use only Python standard library
- **Post-code Requirements:**
- Explain percentile computation method in 2-3 sentences
- List 3 edge cases for unit tests
2. **Design the Tool:**
- **CLI Interface:** Use `argparse` for `--since` flag
- **Input Parsing:** Read from `sys.stdin`, line by line
- **JSON Parsing:** Use `json.loads()` per line, handle exceptions for malformed lines
- **Filtering:** Parse `ts` and compare with `--since` value using `datetime.fromisoformat()` (Python 3.7+)
- **Data Structures:**
- Dictionary mapping service -> dict of level counts
- Dictionary mapping service -> list of latencies
- **Percentile Calculation:** Need to compute p50 and p95 from lists of latencies. Since only stdlib is allowed, I'll implement a simple interpolation or nearest-rank method. The standard "linear interpolation" method used by many libraries (like numpy's default) is good, but I'll stick to a simpler, deterministic approach: sort the list, use index calculation `index = ceil(p/100 * n) - 1` or linear interpolation. Actually, Python's `statistics.quantiles` exists in 3.8+, but it might be overkill or not exactly what's needed. I'll implement a straightforward linear interpolation method for percentiles, or just use the "nearest rank" method for simplicity and clarity. Let's go with linear interpolation as it's standard: `i = (p/100) * (n-1)`, then interpolate between floor and ceiling indices.
- **Output Format:** Print per service, maybe sorted alphabetically. Format: service name, level counts, p50/p95.
- **Error Reporting:** Count malformed lines, print at the end.
3. **Implementation Details (Mental Refinement):**
- Imports: `sys`, `json`, `argparse`, `datetime`, `math`
- Argparse: `parser.add_argument('--since', type=str, default=None)`
- Parse `--since`: if provided, convert to datetime using `datetime.fromisoformat()`. Note: ISO-8601 strings might have timezone info or not. `fromisoformat` handles most, but I should be careful. I'll assume naive or aware datetimes are consistent. To be safe, I'll strip timezone or handle both, but for simplicity, I'll just use `fromisoformat` and compare directly. If timezone-aware vs naive mix occurs, it might crash, but that's acceptable for a small tool. I'll add a note or handle it gracefully by converting both to naive UTC if needed, but let's keep it simple: `datetime.fromisoformat(ts.replace('Z', '+00:00'))` to handle 'Z' suffix.
- Data structures:
```python
service_levels = {} # service -> {level: count}
service_latencies = {} # service -> [float]
malformed_count = 0
```
- Processing each line:
```python
for line in sys.stdin:
line = line.strip()
if not line: continue
try:
record = json.loads(line)
except json.JSONDecodeError:
malformed_count += 1
continue
# Validate required fields
ts_str = record.get('ts')
level = record.get('level')
service = record.get('service')
if not all([ts_str, level, service]):
malformed_count += 1
continue
# Filter by --since
if since_dt:
try:
rec_ts = datetime.fromisoformat(ts_str.replace('Z', '+00:00'))
if rec_ts < since_dt:
Więcej przebiegów tego modelu na tym sprzęcie
- 721tok/sninfer · INT4kontekst 32K · głębokość 0 · partia 1Zweryfikowany przebiegjabbatheduck · 19 paź 2026
- 241tok/svllm · v0.20.2rc1 · compressed-tensors (NVFP4+FP8)kontekst 256K · głębokość 0 · partia 1slow4cyl · 13 maj 2026
- 231tok/sllama.cpp · b6217 (6217b49) · Q4_K_Mkontekst 4K · głębokość 0 · partia 1Skiipy · 14 maj 2026
- 226tok/svllm · v0.20.2rc1.dev189+gfb1ac806c · NVFP4kontekst 256K · głębokość 0 · partia 1slow4cyl · 11 maj 2026
- 220tok/sllama.cpp · b741 (1fd6dfe) · UD-Q6_Kkontekst 4K · głębokość 0 · partia 1Skiipy · 14 cze 2026
- 190tok/sllama.cpp · b8965 · UD-Q4_K_XLkontekst 256K · głębokość 0 · partia 1claudehath · 26 kwi 2026
- 176tok/sollama · Q4_K_Mkontekst 32K · głębokość 0 · partia 1rubysuelocal-rgb · 27 kwi 2026
- 173tok/svllm · v0.20.0 · NVFP4kontekst 4K · głębokość 0 · partia 1Skiipy · 14 cze 2026
- 171tok/svllm · v0.20.2rc1.dev189+gfb1ac806c · Q4_K_Mkontekst 8K · głębokość 0 · partia 1slow4cyl · 11 maj 2026
- 170tok/svllm · v0.20.2 · NVFP4kontekst 256K · głębokość 0 · partia 1slow4cyl · 11 maj 2026
