स्पीड टेस्ट
NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4
GB10 Grace Blackwell 128GB · atlas · main@fdf94c759 · NVFP4
डिकोड
77.1tok/s
प्रीफ़िल
625tok/s
पहले टोकन तक का समय
391ms
कुल
92.7tok/s
पीक VRAM
—
कॉन्टेक्स्ट लंबाई
32K
KV गहराई
0
बैच आकार
1
समवर्तीता
1
बिजली खपत
—
सत्यापन
सत्यापित रनLaunch command
# Remote endpoint: http://127.0.0.1:8889 servedModel: nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4
Theoretical memory ceiling
180.4–182.0 tok/s
273 GB/s memory bandwidth (spec sheet) · 16.50 GB model weights · 16-bit KV cache · 1–244 tokens of context
42–43%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4; size from NVFP4 estimate. Hardware source · Open calculator
हार्डवेयर
- Chip
- GB10 Grace Blackwell
- Memory
- 128 GB
- OS
- Ubuntu 24.04
इंजन
- इंजन
- atlas
- Version
- main@fdf94c759
- Repository
- https://github.com/Atlas-Inf/atlas
- Build
- gb10 sm_121 release, bs1
- Commit
- fdf94c759e825b5201a55d136072eccaf965399b
- Quant
- NVFP4
- Backend
- cuda
Run config
- Context
- 32,768 tokens
- गहराई
- 0 tokens
- Batch size
- 1
- Prompt tokens
- 244
- Prefill tok/s
- 624.6 tok/s
- Output tokens
- 1024
दर्ज साक्ष्य
- प्रॉम्प्ट हैश (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: tally log records from 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_ts(ts_str: str) -> datetime:
"""Parse an ISO-8601 timestamp string to a timezone-aware datetime."""
# Python 3.7+ can handle most ISO-8601 strings via fromisoformat,
# but we normalise trailing 'Z' to '+00:00' for compatibility.
if ts_str.endswith("Z"):
ts_str = ts_str[:-1] + "+00:00"
return datetime.fromisoformat(ts_str)
def percentile(sorted_vals: list[float], p: float) -> float:
"""Compute the *p*‑th percentile using the nearest-rank method.
The nearest-rank method is deterministic, requires no extra imports,
and works well for the small per‑service samples typical of log
tallies. It returns a value from the sorted list, which is
sufficient for monitoring latency distributions.
"""
if not sorted_vals:
return 0.0
k = (len(sorted_vals) * p) / 100.0 # 0 < k <= len
idx = math.ceil(k) # 1‑based index
return sorted_vals[idx - 1] # convert to 0‑based
def main() -> None:
parser = argparse.ArgumentParser(description="Tally log records from stdin")
parser.add_argument("--since", type=str, default=None,
help="Drop records earlier than this ISO-8601 timestamp")
args = parser.parse_args()
since_ts = None
if args.since:
since_ts = parse_ts(args.since)
# per-service aggregation
# service -> {level: count, latencies: [ms, ...], malformed: int}
stats: dict[str, dict] = defaultdict(
lambda: {"levels": defaultdict(int), "latencies": [], "malformed": 0}
)
total_malformed = 0
for line in sys.stdin:
line = line.strip()
if not line:
continue
try:
record = json.loads(line)
except json.JSONDecodeError:
# count malformed line somewhere (pick first service we see,
# or a sentinel). Here we increment a global counter and
# also record it under a "__malformed__" key for output.
total_malformed += 1
stats["__malformed__"]["malformed"] += 1
continue
# basic sanity: must have ts and level
if "ts" not in record or "level" not in record:
total_malformed += 1
stats["__malformed__"]["malformed"] += 1
continue
try:
ts = parse_ts(record["ts"])
except (ValueError, TypeError):
total_malformed += 1
stats["__malformed__"]["malformed"] += 1
continue
level = record["level"]
if level not in LEVELS:
# treat unknown level as malformed or just ignore;
# here we count it as a valid record with that level.
pass
# apply --since filter
if since_ts is not None and ts < since_ts:
continue
service = record.get("service", "<unknown>")
if service not in stats:
stats[service] = {"levels": defaultdict(int), "latencies": [], "malformed": 0}
# count level
stats[service]["levels"][level] += 1
# collect latency if present and numeric
latency = record.get("latency_ms")
if latency is not None and isinstance(latency, (int, float)):
# ensure float for percentile calculation
stats[service]["latencies"].append(float(latency))
# ---- output -------------------------------------------------
# Sort services for deterministic output
for svc in sorted(stats.keys()):
s = stats[svc]
if svc == "__malformed__":
if s["malformed"]:
print(f"malformed: {s['malformed']}")
continue
levels = s["levels"]
# ensure all four levels appear इस हार्डवेयर पर इस मॉडल के और runs
- 86.6tok/satlas · main@fdf94c759 · NVFP432K कॉन्टेक्स्ट · 0 गहराई · बैच 1सत्यापित रनAzeezIsh · 28 सित॰ 2026
- 85.2tok/satlas · main@fdf94c759 · NVFP432K कॉन्टेक्स्ट · 0 गहराई · बैच 1सत्यापित रनAzeezIsh · 28 सित॰ 2026
- 77.5tok/satlas · main@fdf94c759 · NVFP432K कॉन्टेक्स्ट · 0 गहराई · बैच 1सत्यापित रनAzeezIsh · 28 सित॰ 2026
- 77.3tok/satlas · main@fdf94c759 · NVFP432K कॉन्टेक्स्ट · 0 गहराई · बैच 1सत्यापित रनAzeezIsh · 28 सित॰ 2026
- 77.2tok/satlas · main@fdf94c759 · NVFP432K कॉन्टेक्स्ट · 0 गहराई · बैच 1सत्यापित रनAzeezIsh · 28 सित॰ 2026
