Testes de velocidadeModelosAvaliações comparativasAluguéisRelatóriosHardwareCalculadora de decodeOrganizaçõesProDocs da APIEnviar
Idioma
Actual Computer — Every computer, one endpoint

Teste de velocidade

Qwen3.6-35B-A3B-NVFP4

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

AzeezIshVerificado28 de set. de 2026Execução verificada

Decode

92.4tok/s

Prefill

1.8ktok/s

Tempo até o primeiro token

137ms

Total

113tok/s

VRAM de pico

—

Tamanho do contexto

32K

Profundidade KV

0

Tamanho do lote

1

Concorrência

1

Consumo de energia

—

Verificação

Execução verificada

Comando de inicialização

# Remote endpoint: http://127.0.0.1:8889  servedModel: nvidia/Qwen3.6-35B-A3B-NVFP4

Theoretical memory ceiling

167.0–167.5 tok/s

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

55–55%

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/Qwen3.6-35B-A3B-NVFP4; size from NVFP4 estimate. Hardware source · Open calculator

Hardware

Chip
GB10 Grace Blackwell
Memória
128 GB
OS
Ubuntu 24.04

Engine

Engine
atlas
Versão
main@fdf94c759
Build
gb10 sm_121 release, bs1
Commit
fdf94c759e825b5201a55d136072eccaf965399b
Quant
NVFP4
Backend
cuda

Configuração da execução

Contexto
32.768 tokens
Profundidade
0 tokens
Tamanho do batch
1
Tokens de prompt
242
Prefill tok/s
1,771.0 tok/s
Tokens de saída
1024

Evidências capturadas

Hash do prompt (SHA-256)
a737db738bd4…
Amostra do 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.
Amostra de saída · 4,000 chars
```python
#!/usr/bin/env python3
"""logtally - Read newline-delimited JSON logs and summarize by service."""

import sys
import json
import argparse
from datetime import datetime, timezone
from collections import defaultdict


def parse_args():
    parser = argparse.ArgumentParser(description="Summarize NDJSON log records by service.")
    parser.add_argument(
        "--since",
        type=str,
        default=None,
        help="Only include records with ts >= this ISO-8601 timestamp.",
    )
    return parser.parse_args()


def parse_iso_timestamp(ts_str):
    """Parse an ISO-8601 timestamp string into a datetime object (UTC)."""
    # Handle various ISO-8601 formats
    ts_str = ts_str.strip()
    # Try parsing with fromisoformat (Python 3.7+)
    try:
        dt = datetime.fromisoformat(ts_str)
    except ValueError:
        raise ValueError(f"Cannot parse timestamp: {ts_str}")

    # If no timezone info, assume UTC
    if dt.tzinfo is None:
        dt = dt.replace(tzinfo=timezone.utc)
    else:
        # Convert to UTC
        dt = dt.astimezone(timezone.utc)
    return dt


def compute_percentile(sorted_values, percentile):
    """Compute the given percentile from a sorted list of values using nearest-rank method."""
    if not sorted_values:
        return None
    n = len(sorted_values)
    # Nearest-rank method: rank = ceil(percentile/100 * n)
    import math
    rank = math.ceil(percentile / 100.0 * n)
    # Clamp to valid index
    rank = max(1, min(rank, n))
    return sorted_values[rank - 1]


def main():
    args = parse_args()

    since_dt = None
    if args.since:
        try:
            since_dt = parse_iso_timestamp(args.since)
        except ValueError as e:
            print(f"Error: Invalid --since timestamp: {e}", file=sys.stderr)
            sys.exit(1)

    # Data structure: {service: {level: count, latencies: [float]}}
    service_data = defaultdict(lambda: {"levels": defaultdict(int), "latencies": []})
    malformed_count = 0
    total_lines = 0

    for line in sys.stdin:
        total_lines += 1
        line = line.strip()
        if not line:
            continue

        try:
            record = json.loads(line)
        except json.JSONDecodeError:
            malformed_count += 1
            continue

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

        if "ts" not in record or "level" not in record or "service" not in record:
            malformed_count += 1
            continue

        ts_str = record["ts"]
        level = record["level"]
        service = record["service"]

        # Validate level
        valid_levels = {"DEBUG", "INFO", "WARN", "ERROR"}
        if level not in valid_levels:
            malformed_count += 
            continue

        # Parse timestamp
        try:
            record_dt = parse_iso_timestamp(ts_str)
        except ValueError:
            malformed_count += 1
            continue

        # Apply --since filter
        if since_dt is not None and record_dt < since_dt:
            continue

        # Record the level count
        service_data[service]["levels"][level] += 1

        # Record latency if present
        if "latency_ms" in record and record["latency_ms"] is not None:
            try:
                latency = float(record["latency_ms"])
                if not (latency != latency):  # Check for NaN
                    service_data[service]["latencies"].append(latency)
            except (TypeError, ValueError):
                pass  # Ignore invalid latency values

    # Output results
    for service in sorted(service_data.keys()):
        data = service_data[service]
        print(f"Service: {service}")

        # Print level counts
        for level in ["DEBUG", "INFO", "WARN", "ERROR"]:
            count = data["levels"].get(level, 0)
            if count > 0:
                print(f"  {level}: {count}")

        # Print latency percentiles
        late

Mais execuções deste modelo neste hardware