速度测试
Qwen3.8-27B-NVFP4
GB10 Grace Blackwell 128GB · atlas · main@fdf94c759 · NVFP4
解码
34.4tok/s
预填充
375tok/s
首个 token 延迟
645ms
总计
41.5tok/s
峰值 VRAM
—
上下文长度
32K
KV 深度
0
批大小
1
并发数
1
功耗
—
验证
已验证运行启动命令
# Remote endpoint: http://127.0.0.1:8889 servedModel: nvidia/Qwen3.8-27B-NVFP4
Theoretical memory ceiling
97.6–98.1 tok/s
273 GB/s memory bandwidth (spec sheet) · 14.00 GB model weights · 16-bit KV cache · 1–242 tokens of context
Includes speculative decoding: 5.66 tokens accepted per model step on average (17.2–17.3 steps/s) · measured 6.1 steps/s
35–35%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from nvidia/Qwen3.8-27B-NVFP4; size from NVFP4 estimate. Hardware source · Open calculator
模型
- 芯片
- GB10 Grace Blackwell
- 内存
- 128 GB
- OS
- Ubuntu 24.04
引擎
- 引擎
- atlas
- 版本
- main@fdf94c759
- Repository
- https://github.com/Atlas-Inf/atlas
- Build
- gb10 sm_121 release, bs1
- Commit
- fdf94c759e825b5201a55d136072eccaf965399b
- 量化
- NVFP4
- 后端
- cuda
- Spec decode
- 已启用
运行配置
- 上下文
- 32,768 个 token
- 深度
- 0 个 token
- 批量大小
- 1
- 提示词 token
- 242
- 预填 tok/s
- 375.2 tok/s
- 输出 token
- 1024
推测解码
- 方法
- DFlash2
- 每步接受数
- 5.66 个 token
- 接受率
- 67%
- 草稿 token
- 1,262
- 已接受 token
- 841
已记录的证据
- 提示词哈希(SHA-256)
- a737db738bd4…
提示词样本 · 760 chars
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
```python
#!/usr/bin/env python3
"""logtally: A command-line to tally log records from stdin."""
import sys
import json
import argparse
from datetime import datetime, timezone
from typing import Dict, List, Optional, Any
def parse_iso8601(ts_str: str) -> Optional[datetime]:
"""Parse an ISO-8601 timestamp string into a datetime object.
Returns None if parsing fails.
"""
try:
# Handle 'Z' suffix for UTC
if ts_str.endswith('Z'):
ts_str = ts_str[:-1] + '+00:00'
dt = datetime.fromisoformat(ts_str)
# Ensure timezone-aware; assume UTC if naive
if dt.tzinfo is None:
dt = dt.replace(tzinfo=timezone.utc)
return dt
except (ValueError, TypeError):
return None
def compute_percentile(sorted_values: List[float], percentile: float) -> float:
"""Compute the given percentile (0-100) of a sorted list using linear interpolation.
Uses the 'exclusive' method (similar to numpy's default 'linear' interpolation).
If the list is empty, returns 0.0.
"""
if not sorted_values:
return 0.0
n = len(sorted_values)
if n == 1:
return sorted_values[0]
# Rank calculation: rank = (percentile / 100) * (n - 1)
rank = (percentile / 100.0) * (n - 1)
lower_rank = int(rank)
upper_rank = min(lower_rank + 1, n - 1)
fraction = rank - lower_rank
return sorted_values[lower_rank] + fraction * (sorted_values[upper_rank] - sorted_values[lower_rank])
def main():
parser = argparse.ArgumentParser(description="Tally log records from stdin.")
parser.add_argument(
"--since",
type=str,
default=None,
help="Only include records with ts >= this ISO-8601 timestamp"
)
args = parser.parse_args()
since_dt: Optional[datetime] = None
if args.since:
since_dt = parse_iso8601(args.since)
if since_dt is None:
print(f"Warning: Invalid --since timestamp '{args.since}', ignoring filter.", file=sys.stderr)
since_dt = None
# Data structures
service_data: Dict[str, Dict[str, Any]] = {}
malformed_count = 0
for line in sys.stdin:
line = line.strip()
if not line:
continue
try:
record = json.loads(line)
# Validate required fields
if not isinstance(record, dict):
raise ValueError("Record is not a JSON object")
ts_str = record.get("ts")
level = record.get("level")
service = record.get("service")
if ts_str is None or level is None or service is None:
raise ValueError("Missing required field(s)")
# Validate level
valid_levels = {"DEBUG", "INFO", "WARN", "ERROR"}
if level not in valid_levels:
raise ValueError(f"Invalid level: {level}")
# Parse timestamp
dt = parse_iso8601(ts_str)
if dt is None:
raise ValueError(f"Invalid timestamp: {ts_str}")
# Apply --since filter
if since_dt is not None and dt < since_dt:
continue
# Initialize service data if needed
if service not in service_data:
service_data[service] = {
"counts": {"DEBUG": 0, "INFO": 0, "WARN": 0, "ERROR": 0},
"latencies": []
}
# Increment count
service_data[service]["counts"][level] += 1
# Collect latency if present
latency = record.get("latency_ms")
if latency is not None:
try:
latency_val = float(latency)
service_data[service]["latencies"].append(latency_val)
except (ValueError, TypeError):
# If 