# Omni Dashboard The Omni view covers speech-out (TTS) benchmarking for vLLM-Omni. The current staged rollout is TTS-only — Qwen3-TTS and OmniVoice, streaming and non-streaming, WAV and PCM. ASR, chat-completions TTS, and realtime endpoints are not in the staged CSV yet. The dashboard is a view over the benchmark data; it does not change collection. ## Data flow ``` benchmark runner → local result JSON + logs → MLflow ↓ build_omni_tts_csv.py ↓ consolidated_dashboard_omni.csv ↓ dashboard (local file or S3) ``` - MLflow stores the run hierarchy and artifacts. The dashboard uses it for **View Logs** and run hyperlinks, not for benchmark metrics. - The dashboard reads the CSV from `datasets/omni/consolidated_dashboard_omni.csv`, or from S3 when `S3_BUCKET` is set. - New benchmark runs do not appear automatically. Rebuild the CSV and, when using S3, upload the new object. ## CSV schema The staged schema is **77 columns**. The canonical header is in `datasets/omni/consolidated_dashboard_omni_tts_template.csv`; the populated CSV is not committed. | Group | Contents | | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Identity | `run_key`, `run_name`, `timestamp_utc`, `cluster`, `deployment_uuid`, `mlflow_run_id`, `source_file` | | Model/runtime | `model`, `runtime_version`, `image_tag`, `accelerator`, `gpu_count`, `tp`, `runtime_args` | | Task/protocol | `modality`, `input_modality`, `output_modality`, `task_type`, `recipe`, `experiment_phase`, `benchmark_tool`, `load_generator`, `api_endpoint`, `benchmark_backend`, `benchmark_mode`, `response_format`, `tokenizer_override`, `status` | | Workload | `dataset`, `locale`, `num_prompts`, `request_rate`, `concurrency`, `measured_concurrency`, `short_window` | | Outcome | `duration_s`, `successful_requests`, `errored_requests`, `e2el_ms_{mean,median,p95,p99}`, `request_throughput_rps` | | Stage/system | `stage_0/1_ttft_ms_{p50,p95}`, `stage_0/1_gen_time_ms_{p50,p95}`, `transfer_tx_ms_{p50,p95}` | | Audio output | `audio_ttfp_ms_*`, `audio_rtf_*`, `audio_duration_s_*`, `audio_underrun_s_*`, `audio_throughput_x`, `audio_output_duration_s_total`, `audio_frames_total`, `audio_sample_rate_hz`, `audio_continuity_ok_rate`, plus format/coverage fields | | Extra | `notes` | Notes: - `recipe` is the deployment configuration (`default`, `b8`). Source metadata still calls it `profile`. - `num_prompts` is **N**, the measured requests per benchmark point, excluding warmups and burn-in. - `short_window` is true when the measured duration is below 30 s. - Stage columns are blank when the bench JSON has no stage durations. - The legacy 165-column template (`consolidated_dashboard_omni_template.csv`) remains for the older converter. The staged dashboard uses the 77-column template. ## Build ```bash python3 manual_runs/scripts/build_omni_tts_csv.py \ --recipe-root ~/omni-perf-benchmark-recipe \ --output datasets/omni/consolidated_dashboard_omni.csv ``` Optional: `--mlflow-runs-json` accepts a saved MLflow runs/search response to fill `mlflow_run_id` for runs not present in local metadata. The builder reads the 3.5 legacy CSV/JSONs, the 3.6 base CI/saturation JSONs, and the Athena matrix cells. ## Dashboard sections - **Overview** — summary tiles and coverage. - **Performance Plots** — concurrency on a log2 axis with ticks at the actual ladder; Y-axis includes throughput, audio TTFP/RTF/underrun, audio throughput, and request count (N); Streaming, Response format, and 3.5 legacy toggles; hover shows N, format, UUID, and resolved runtime args; repeated deployments use distinct line styles. - **Compare Versions** — matches on model, task, dataset, concurrency, load generator, TP, accelerator, and response format; recipe is shown in labels. - **View Logs** — one entry per deployment; the vLLM server log is the default source, with a per-concurrency bench-log selector; MLflow/local/S3 fallbacks. - **Filtered Data** — curated default columns, MLflow and Grafana links, "show all columns", and CSV download. Filters and compare selections persist in URL query parameters. ## Configuration S3 (CSV and logs): ```bash export S3_BUCKET='' export S3_KEY_OMNI='/omni_dashboard.csv' export S3_REGION='us-east-1' export S3_LOGS_BUCKET='' # optional, for View Logs export S3_LOGS_PREFIX='logs/' # optional ``` The CSV is cached for 5 minutes. AWS credentials come from the environment or the instance role. Observability links (optional; no URLs are committed): ```bash export MLFLOW_TRACKING_URI='' export MLFLOW_BASE_URL='' export MLFLOW_WORKSPACE='' export OMNI_MLFLOW_EXPERIMENT_ID='' export GRAFANA_BASE_URL='' export OMNI_GRAFANA_DASHBOARD_UID='' ``` If an observability variable is unset, the corresponding link is blank. ## Caveats - **Voxtral streaming WAV** is unsupported: the first audio chunk lacks sample-rate metadata. Use streaming PCM, non-streaming WAV, or wait for the upstream fix. - **Do not compare across workloads directly.** 3.5 legacy uses N=100 and c1–c25; the 3.6 matrix uses N=1000 and c1–c128. Compare only at the same model/version, N, concurrency, streaming mode, response format, and 24 kHz sample rate. - **OmniVoice is single-stage.** Its underrun is 0 by construction, not a streaming win; use TTFP ≈ E2EL when discussing it. - **Stage metrics** are blank unless the run emits stage durations. ## Tests ```bash python3 -m pytest -o addopts="" -q ``` The data CSV, backups, and logs are intentionally not versioned; only the templates and converter are.