Kiểm tra tốc độ
Qwen3.8-27B-NVFP4
GB10 Grace Blackwell 128GB · atlas · main@fdf94c759 · NVFP4
Decode
34.4tok/s
Prefill
375tok/s
Thời gian đến token đầu tiên
645ms
Tổng
41.5tok/s
VRAM đỉnh
—
Độ 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ụ
—
Xác minh
Lượt chạy đã xác minhLệnh khởi chạy
# 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
Phần cứng
- Chip
- GB10 Grace Blackwell
- Bộ nhớ
- 128 GB
- OS
- Ubuntu 24.04
Engine
- Engine
- atlas
- Phiên bản
- main@fdf94c759
- Repository
- https://github.com/Atlas-Inf/atlas
- Build
- gb10 sm_121 release, bs1
- Commit
- fdf94c759e825b5201a55d136072eccaf965399b
- Quant
- NVFP4
- Backend
- cuda
- Spec decode
- bật
Cấu hình chạy
- Context
- 32.768 tokens
- Độ sâu
- 0 tokens
- Kích thước batch
- 1
- Prompt tokens
- 242
- Prefill tok/s
- 375.2 tok/s
- Output tokens
- 1024
Giải mã suy đoán
- Phương pháp
- DFlash2
- Được chấp nhận mỗi bước
- 5,66 token
- Tỷ lệ chấp nhận
- 67%
- Token nháp
- 1.262
- Token được chấp nhận
- 841
Bằng chứng đã ghi
- Mã băm prompt (SHA-256)
- a737db738bd4…
Mẫu prompt · 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.
Mẫu đầu ra · 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 Các lượt chạy khác của mô hình này trên phần cứng này
- 49.8tok/ssglang · v0.0.0.dev1+g5f55db35e · NVFP4Ngữ cảnh 128K · độ sâu 0 · batch 1scottleimroth · 20 thg 9, 2026
- 24.8tok/satlas · main@fdf94c759 · NVFP4Ngữ cảnh 32K · độ sâu 0 · batch 1Lượt chạy đã xác minhAzeezIsh · 28 thg 9, 2026
- 12.3tok/ssglang · v0.0.0.dev1+g5f55db35e · NVFP4Ngữ cảnh 128K · độ sâu 0 · batch 1scottleimroth · 20 thg 9, 2026
