速度測試模型基準評測租用報告硬體解碼計算器組織ProAPI文件提交
語言
Actual Computer — Every computer, one endpoint

速度測試

Qwen3.6-35B-A3B

RTX 5090 32GB · ninfer · INT4

jabbatheduck已驗證2026年10月19日已驗證執行

解碼

705tok/s

預填

6.9ktok/s

首個 token 延遲

34ms

總計

842tok/s

峰值 VRAM

24.1GB

上下文長度

32K

KV 深度

0

批次大小

1

並行數

1

功耗

440W

驗證

已驗證執行

啟動命令

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

模型

GPU
RTX 5090
數量
1
VRAM
32 GB
OS
Ubuntu 26.10

引擎

引擎
ninfer
Build
CUDA 13.3, sm_120a, Release, driver 615.71.09
Commit
7d08406d19174245c8205bf216432cd10ecad60b
量化
INT4
後端
cuda
KV 快取
bf16
Prefix caching
是
Chunked prefill
是
Prefill chunk
1024
Spec decode
已啟用
MTP
已啟用

執行設定

上下文
32,768 個 token
深度
0 個 token
批次大小
1
提示詞 token
225
預填 tok/s
6,936.8 tok/s
功耗
440 W
輸出 token
1024
備註
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.

推測解碼

方法
MTP
每步接受數
2.92 個 token
接受率
70%
草稿 token
959
已接受 token
672

已記錄的證據

提示詞雜湊(SHA-256)
a737db738bd4…
提示詞樣本 · 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.
輸出樣本 · 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:
              

此模型在此硬體上的更多執行