Tests de vitesseModèlesÉvaluations comparativesLocationsRapportsMatérielCalculateur de décodageOrganisationsProDocs APIEnvoyer
Langue
Actual Computer — Every computer, one endpoint

Test de vitesse

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

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

AzeezIshVérifié28 sept. 2026Exécution vérifiée

Décodage

77.2tok/s

Prefill

615tok/s

Délai jusqu'au premier token

390ms

Total

92.7tok/s

VRAM max

—

Longueur de contexte

32K

Profondeur KV

0

Taille de lot

1

Concurrence

1

Consommation

—

Vérification

Exécution vérifiée

Commande de lancement

# Remote endpoint: http://127.0.0.1:8889  servedModel: nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4

Theoretical memory ceiling

180.5–182.0 tok/s

273 GB/s memory bandwidth (spec sheet) · 16.50 GB model weights · 16-bit KV cache · 1–241 tokens of context

42–43%

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

Matériel

Puce
GB10 Grace Blackwell
Mémoire
128 GB
OS
Ubuntu 24.04

Moteur

Moteur
atlas
Version
main@fdf94c759
Build
gb10 sm_121 release, bs1
Commit
fdf94c759e825b5201a55d136072eccaf965399b
Quant
NVFP4
Backend
cuda

Configuration du run

Contexte
32 768 tokens
Profondeur
0 tokens
Taille de batch
1
Tokens de prompt
241
Prefill tok/s
615.4 tok/s
Tokens de sortie
1024

Preuves capturées

Empreinte du prompt (SHA-256)
a737db738bd4…
Extrait du 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.
Extrait de sortie · 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_args(argv=None):
    parser = argparse.ArgumentParser(description="Tally log records from stdin")
    parser.add_argument("--since", metavar="ISO-TS",
                        help="Drop records earlier than this ISO-8601 timestamp")
    return parser.parse_args(argv)


def parse_ts(ts_str):
    """Return a timezone-aware datetime or None."""
    try:
        # fromisoformat handles most ISO-8601 flavours in Python 3.7+
        dt = datetime.fromisoformat(ts_str)
        if dt.tzinfo is None:
            dt = dt.replace(tzinfo=timezone.utc)
        return dt
    except (ValueError, TypeError):
        return None


def percentile(sorted_data, p):
    """Compute the p-th percentile using linear interpolation (nearest-rank-ish)."""
    if not sorted_data:
        return None
    n = len(sorted_data)
    k = (p / 100.0) * (n - 1)          # zero-based index
    f = math.floor(k)
    c = math.ceil(k)
    if f == c:
        return sorted_data[int(k)]
    d0 = sorted_data[int(f)] * (c - k)
    d1 = sorted_data[int(c)] * (k - f)
    return d0 + d1


def main(argv=None):
    args = parse_args(argv)

    since_ts = None
    if args.since:
        since_ts = parse_ts(args.since)
        if since_ts is None:
            print("Error: --since requires a valid ISO-8601 timestamp", file=sys.stderr)
            return 1

    malformed = 0
    # service -> {level -> count}, service -> {latencies: [ms]}
    svc_levels = defaultdict(lambda: defaultdict(int))
    svc_latencies = defaultdict(list)

    for line in sys.stdin:
        line = line.strip()
        if not line:
            continue
        try:
            record = json.loads(line)
        except json.JSONDecodeError:
            malformed += 1
            continue

        # Validate required fields
        if not isinstance(record, dict):
            malformed += 1
            continue

        ts_str = record.get("ts")
        level = record.get("level")
        service = record.get("service")

        # Skip if missing required fields
        if ts_str is None or level is None or service is None:
            malformed += 1
            continue

        # Level must be one of the known levels
        if level not in LEVELS:
            malformed += 1
            continue

        # Apply --since filter
        rec_ts = parse_ts(ts_str)
        if rec_ts is None or rec_ts < since_ts:
            continue

        # Count level
        svc_levels[service][level] += 1

        # Collect latency if present and numeric
        lat = record.get("latency_ms")
        if lat is not None and isinstance(lat, (int, float)):
            svc_latencies[service].append(lat)

    # Output per-service tallies
    services = sorted(svc_levels.keys())
    if services:
        for svc in services:
            levels = svc_levels[svc]
            lat = svc_latencies.get(svc, [])
            lat_sorted = sorted(lat)
            p50 = percentile(lat_sorted, 50)
            p95 = percentile(lat_sorted, 95)

            # Build level-count string, ensuring all four levels appear
            level_str = ", ".join(
                f"{lvl}={levels.get(lvl, 0)}" for lvl in LEVELS
            )
            # Latency line only if we have data
            lat_str = f"p50={p50}ms p95={p95}ms" if lat else "no latency data"

            print(f"{svc}: levels={level_str} latency={lat_str}")

    # Report malformed count
    if malformed:
        print(f"malformed lines: {malformed}", file=sys.stderr)


if __name__ == "__main__":
    raise SystemExit(main())
```

### Percentile computation

I used **linear interpolation between adjacent sorted values** (the same method NumPy employs with its default `method='linear'`). Given a sorted list of `n` latency values

Autres runs de ce modèle sur ce matériel