Uji kecepatanModelTolok UkurSewaLaporanHardwareKalkulator decodeOrganisasiProDokumen APIKirim
Bahasa
Actual Computer — Every computer, one endpoint

Uji kecepatan

NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4

GB10 Grace Blackwell 128GB · atlas · main@fdf94c759 · NVFP4

AzeezIshTerverifikasi28 Sep 2026Run terverifikasi

Decode

86.6tok/s

Prefill

604tok/s

Waktu ke token pertama

398ms

Total

104tok/s

VRAM puncak

—

Panjang konteks

32K

Kedalaman KV

0

Ukuran batch

1

Konkurensi

1

Konsumsi daya

—

Verifikasi

Run terverifikasi

Luncurkan perintah

# 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 confidence

The 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

Hardware

Kepingan
GB10 Grace Blackwell
Ingatan
128 GB
OS
Ubuntu 24.04

Engine

Engine
atlas
Versi
main@fdf94c759
Build
gb10 sm_121 release, bs1
Commit
fdf94c759e825b5201a55d136072eccaf965399b
Quant
NVFP4
Bagian belakang
cuda
Dekode spesifikasi
aktif
MTP
aktif

Jalankan konfigurasi

Konteks
Token 32.768
Kedalaman
Token 0
Ukuran kumpulan
1
Token yang cepat
240
Isi awal tok/s
604.4 tok/s
Token keluaran
1024

Decoding spekulatif

Metode
MTP
Diterima per langkah
1,72 token
Tingkat penerimaan
72%
Token draf
596
Token diterima
428

Bukti terekam

Hash prompt (SHA-256)
a737db738bd4…
Sampel 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.
Sampel output · 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

Run lain dari model ini di hardware ini