स्पीड टेस्ट
NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4
GB10 Grace Blackwell 128GB · atlas · main@fdf94c759 · NVFP4
डिकोड
86.6tok/s
प्रीफ़िल
604tok/s
पहले टोकन तक का समय
398ms
कुल
104tok/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
308.3–312.8 tok/s
273 GB/s memory bandwidth (spec sheet) · 16.50 GB model weights · 16-bit KV cache · 1–240 tokens of context
Includes speculative decoding: 1.72 tokens accepted per model step on average (179.4–182.0 steps/s) · measured 50.4 steps/s
28–28%
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
- Spec decode
- सक्षम
- MTP
- सक्षम
Run config
- Context
- 32,768 tokens
- गहराई
- 0 tokens
- Batch size
- 1
- Prompt tokens
- 240
- Prefill tok/s
- 604.4 tok/s
- Output tokens
- 1024
स्पेक्युलेटिव डिकोडिंग
- विधि
- MTP
- प्रति चरण स्वीकृत
- 1.72 टोकन
- स्वीकृति दर
- 72%
- ड्राफ़्ट टोकन
- 596
- स्वीकृत टोकन
- 428
दर्ज साक्ष्य
- प्रॉम्प्ट हैश (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.
आउटपुट नमूना · 3,994 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 safety.
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 interpolation,
and works well with the small per‑service sample sizes typical of
log‑tally use‑cases. It returns a value from the actual data set,
which is intuitive for latency reporting.
"""
if not sorted_vals:
return 0.0
k = int(math.ceil(p / 100.0 * len(sorted_vals)))
k = min(k, len(sorted_vals))
return sorted_vals[k - 1]
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, ...]}}
svc: dict[str, dict] = defaultdict(lambda: {"levels": defaultdict(int), "latencies": []})
malformed = 0
for line in sys.stdin:
line = line.strip()
if not line:
continue
try:
rec = json.loads(line)
except json.JSONDecodeError:
malformed += 1
continue
# Validate required fields
if not isinstance(rec, dict):
malformed += 1
continue
# Timestamp filtering
try:
ts = parse_ts(rec["ts"])
except (KeyError, ValueError, TypeError):
malformed += 1
continue
if since_ts is not None and ts < since_ts:
continue
# Level
level = rec.get("level")
if level not in LEVELS:
# Treat unknown levels as malformed? No – spec says level is one of the four.
# We still count them under whatever string they provide, but the spec
# expects only the four levels. We'll silently ignore unexpected levels.
continue
service = rec.get("service", "unknown")
latency = rec.get("latency_ms")
if isinstance(latency, (int, float)):
svc[service]["latencies"].append(float(latency))
svc[service]["levels"][level] += 1
# Output
# Sort services for deterministic output
for service in sorted(svc.keys()):
data = svc[service]
levels = data["levels"]
latencies = sorted(data["latencies"])
p50 = percentile(latencies, 50)
p95 = percentile(latencies, 95)
# Ensure all four levels appear in the output even if count is 0
for lvl in LEVELS:
count = levels.get(lvl, 0)
if count or lvl in levels: # print if count>0 or level was seen
print(f"{service} {lvl}: {count}")
if p50 or p95:
print(f"{service} p50 latency: {p50:.3f} ms")
print(f"{service} p95 latency: {p95:.3f} ms")
if malformed:
print(f"malformed lines: {malformed}", file=sys.stderr)
if __name__ == "__main__":
main()
```
### Percentile computation explanation
I used the **nearest‑rank method**: the *p*‑th percentile is the value at index `⌈p/100 · N⌉` (1‑based) of the sorted latency list. This approach is deterministic, requires no interpolation, and always returns anइस हार्डवेयर पर इस मॉडल के और runs
- 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
- 77.1tok/satlas · main@fdf94c759 · NVFP432K कॉन्टेक्स्ट · 0 गहराई · बैच 1सत्यापित रनAzeezIsh · 28 सित॰ 2026
