This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/deploy/grafana
Deadcode ac79f4dc8a radiance 1.2.2
- Static YaRN for the Qwen rotary paths (#37): a container whose config names YaRN gets it in
  attention, the QSA index keys and a DFlash2 drafter; one reader for every rotary type, and a
  LLaMA container whose type is not served (llama3, longrope, dynamic) is refused by name.
- --rope-scaling yarn:FACTOR[:ORIG] (#38) writes YaRN over a container's own rotary keys at load,
  no reconvert; the persisted prefix cache's fingerprint carries the resolved rotary.
- An uneven world's cheaper rank (#36) pages the common token count and gives the rest of its
  VRAM to its experts; a plan and pool that disagree refuse to start.
- MoE prefill (#35): wide gather, parallel scan and run-map prefix, 256-column down tile, early
  weight loads -- by rule, bit-identical.
- MoE decode (#34): the sorted operand's own down kernel, its column tiles by routed rows.
- --draft-window fixed|adaptive (#24): a per-sequence draft window priced by measured step time,
  one head depth per step over the batch; fixed stays the default. New metric
  radiance:draft_position_accepted_total and Grafana panels.
- Out-of-tree plugin builds compile to the tree's device code from any build directory.
2026-10-07 12:37:53 +02:00
..
2026-10-07 12:37:53 +02:00
2026-10-07 12:37:53 +02:00

Grafana dashboard

The overview row, one hour of a four-rank server

radiance.json is a Grafana dashboard for /metrics: throughput, prompt tokens by source, speculative decoding by draft position, scheduler steps, latency, the prefix cache and HTTP. The whole dashboard: dashboard.png.

Import it (Dashboards → New → Import) and pick a Prometheus data source. Every query is plain PromQL, so VictoriaMetrics added as a Prometheus data source works the same. Checked with Grafana 13.2 against Prometheus 3.15 and VictoriaMetrics 1.153 scraping one server.

scrape_configs:
  - job_name: radiance
    static_configs:
      - targets: ["gpu-host:8000"]
    # Only when the server runs with --api-key: /metrics is behind the key like every path but
    # /health, /ping and the dashboard page, and an unauthorised scrape gets 401.
    authorization:
      credentials: "<the server's --api-key>"

Window values are counter ratios with the definitions of the since-start gauges:

panel over the window since start
prompt from attention cache attn_cached_tokens / prompt_tokens vllm:gpu_prefix_cache_hit_rate
prompt from linear checkpoint linear_cached_tokens / (linear_cached_tokens + prefill_tokens) radiance:linear_prefix_cache_hit_rate
draft acceptance draft_accepted / draft_tokens radiance:draft_acceptance_ratio
conditional acceptance at j draft_position_accepted(j) / draft_position_reached(j) radiance:draft_position_acceptance_ratio

Draft blocks per decode step is the reach of position 0 over engine_steps_decode_total (GUIDE §6.3). The adaptive draft window and verifies by draft depth have data only under --draft-window adaptive.

Prometheus extrapolates rate() inside the window and VictoriaMetrics does not, so short windows at the edge of a burst differ between the two. The overview's ratios are taken over the dashboard's time range, where both agree.