Test di velocitàModelliValutazioni comparativeNoleggiReportHardwareCalcolatore di decodificaOrganizzazioniProDocumentazione APIInvia
Lingua
Actual Computer — Every computer, one endpoint

Test di velocità

Qwen3.6-35B-A3B

RTX 5090 32GB · ninfer · INT4

jabbatheduckVerificato19 ott 2026Esecuzione verificata

Decodifica

705tok/s

Prefill

6.9ktok/s

Tempo al primo token

34ms

Totale

842tok/s

VRAM di picco

24,1GB

Lunghezza del contesto

32K

Profondità KV

0

Dimensione batch

1

Concorrenza

1

Consumo energetico

440W

Verifica

Esecuzione verificata

Comando di avvio

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 confidence

The 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

Hardware

GPU
RTX 5090
Conteggio
1
VRAM
32 GB
OS
Ubuntu 26.10

Motore

Motore
ninfer
Build
CUDA 13.3, sm_120a, Release, driver 615.71.09
Commit
7d08406d19174245c8205bf216432cd10ecad60b
Quant
INT4
Backend
cuda
KV cache
bf16
Prefix caching
sì
Chunked prefill
sì
Chunk prefill
1024
Spec decode
abilitato
MTP
abilitato

Configurazione run

Contesto
32.768 token
Profondità
0 token
Dimensione batch
1
Token prompt
225
Prefill tok/s
6,936.8 tok/s
Consumo energetico
440 W
Token output
1024
Note
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.

Decodifica speculativa

Metodo
MTP
Accettati per passo
2,92 token
Tasso di accettazione
70%
Token di bozza
959
Token accettati
672

Evidenze acquisite

Hash del prompt (SHA-256)
a737db738bd4…
Esempio di prompt · 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.
Esempio di output · 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:
              

Altri run di questo modello su questo hardware