Kiểm tra tốc độMô hìnhĐánh giá chuẩnCho thuêBáo cáoPhần cứngMáy tính decodeTổ chứcProTài liệu APIGửi
Ngôn ngữ
Actual Computer — Every computer, one endpoint

Kiểm tra tốc độ

Qwen3.8-Flash-Next

RTX 5090 32GB · ninfer · NVFP4

jabbatheduckĐã xác minh19 thg 10, 2026Lượt chạy đã xác minh

Decode

128tok/s

Prefill

199tok/s

Thời gian đến token đầu tiên

1.127ms

Tổng

144tok/s

VRAM đỉnh

30,4GB

Độ dài ngữ cảnh

32K

Độ sâu KV

0

Kích thước batch

1

Đồng thời

1

Công suất tiêu thụ

250W

Xác minh

Lượt chạy đã xác minh

Lệnh khởi chạy

taskset -c 8-23 ./build/apps/ninfer-serve models/Qwen3.8-Flash-NVFP4/qwen3_8_flash_next_nvfp4.ninfer --model-id qwen3.8-flash-next --max-concurrency 1 --max-context 32768 --kv-capacity 32768 --kv-dtype fp8 --expert-cache auto --host-experts 16 --host-expert-share 0.5 --spec mtp --draft-tokens 3

Theoretical memory ceiling

The model doesn't appear to fit in this hardware's recorded memory.

Phần cứng

GPU
RTX 5090
Số lượng
1
VRAM
32 GB
OS
Ubuntu 26.10

Engine

Engine
ninfer
Build
CUDA 13.3, sm_120a, Release, driver 615.71.09
Commit
7d08406d19174245c8205bf216432cd10ecad60b
Quant
NVFP4
Backend
cuda
KV cache
fp8
Prefix caching
có
Chunked prefill
có
Prefill chunk
4096
Spec decode
bật
MTP
bật

Cấu hình chạy

Context
32.768 tokens
Độ sâu
0 tokens
Kích thước batch
1
Prompt tokens
224
Prefill tok/s
199.2 tok/s
Công suất tiêu thụ
250 W
Output tokens
512
Ghi chú
Single RTX 5090 (32 GB) running the full Qwen3.8-Flash-Next: routed experts (NVFP4) live in pinned host RAM behind a device expert cache; a share of each decode step's cache misses is computed on 14 E-core threads (AVX-VNNI) instead of fetched over PCIe. Converted from nvidia/Qwen3.8-Flash-Next-NVFP4 with the NInfer qwen3_8_flash_next_nvfp4 recipe: imported NVFP4 routed experts, FP8 n-gram table, Q8 projections, Q8/Q6 vocabulary weights; FP8 KV. Greedy, MTP K=3, one request, server at --max-concurrency 1 with a 32k context so the smaller KV reservation leaves more VRAM to the expert cache. 512 output tokens incl. reasoning. This run is the median of 5 timed runs after 1 warmup (fresh cache-bust nonce per request); the 5 runs gave 133.4-147.9 tok/s on reasoning-v1 and 120.5-135.7 on code-v1. Same-session medians (reasoning / code): --max-concurrency 2 with 256k context 126.8 / 112.1; --max-concurrency 1 with 256k context 129.1 / 111.2. tokSOut/tokSPrefill from the server's llama.cpp-style timings (TTFT client-side). Short ~250-token prompts prefill slowly here because a cold prompt streams experts over PCIe.

Giải mã suy đoán

Phương pháp
MTP
Được chấp nhận mỗi bước
3,39 token
Tỷ lệ chấp nhận
79%
Token nháp
453
Token được chấp nhận
359

Bằng chứng đã ghi

Mã băm prompt (SHA-256)
a737db738bd4…
Mẫu prompt · 810 chars
[LocalMaxxing cache-bust nonce: 8deb51160a57ef10]
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.
Mẫu đầu ra · 1,855 chars
The user wants me to implement a Python command-line tool called `logtally` that:

1. Reads newline-delimited JSON from stdin
2. Each record has: `ts` (ISO-8601), `level` (DEBUG/INFO/WARN/ERROR), `service` (string), optional `latency_ms` (number)
3. Prints per service: count by level, p50 and p95 of latency_ms (ignoring records without latency)
4. Malformed lines counted and reported at end, never crash
5. Support `--since <ISO timestamp>` flag to drop earlier records
6. Standard library only

Then explain percentile computation method and list three edge cases for unit tests.

Let me design this carefully:

- Use `argparse` for `--since` flag
- Use `json` for parsing
- Use `datetime` for ISO-8601 parsing
- For percentiles: I'll use the "nearest-rank" method (also called the "inclusive" method). Sort the latencies, then for p50, index = ceil(0.50 * n) - 1, for p95, index = ceil(0.95 * n) - 1. This is simple, deterministic, and doesn't require interpolation. Actually, let me think about this more carefully.

The nearest-rank method: for percentile p with n sorted values, the rank is ceil(p/100 * n), and you take the value at that rank (1-indexed). So for p50 with 10 values, rank = ceil(5) = 5, take 5th value. For p95 with 10 values, rank = ceil(9.5) = 10, take 10th value.

Alternative: linear interpolation method (like numpy's default). But since we're using stdlib only, nearest-rank is simpler and perfectly valid.

Let me structure the code:

```python
#!/usr/bin/env python3
"""logtally – per-service log summary from NDJSON on stdin."""

import argparse
import json
import math
import sys
from collections import defaultdict
from datetime import datetime, timezone

LEVELS = ("DEBUG", "INFO", "WARN", "ERROR")

def parse_args():
    parser = argparse.ArgumentParser(description="Tally NDJSON log records per service.")
    parser

Các lượt chạy khác của mô hình này trên phần cứng này