Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
6a5c091
Add vLLM-Omni performance dashboard and consolidated CSV schema
aas008 Nov 25, 2026
871f783
Add GuideLLM audio-to-text sample row
aas008 Nov 25, 2026
b92801a
Refine Omni CSV schema and sample rows
aas008 Nov 25, 2026
7215d67
Fix load_generator fallback for offline ASR rows
aas008 Nov 25, 2026
eaf251b
Document Omni vs RHAIIS dashboard UX comparison
aas008 Nov 25, 2026
20c2b7e
Add RHAIIS-style Omni filters, auto-fill, and plot selection
aas008 Nov 25, 2026
c84c5e3
Clarify dataset identity as an open question
aas008 Nov 25, 2026
5a68e3a
Restore RHAIIS navigation and move Omni filters to main content
aas008 Nov 26, 2026
1ec5766
Match Omni Performance Plots to the RHAIIS layout
aas008 Nov 26, 2026
1e78d11
Show all concurrency values in Omni plots
aas008 Nov 26, 2026
fd4fca0
Match Omni filter band to the RHAIIS layout
aas008 Nov 26, 2026
7def235
Simplify Omni placeholder message
aas008 Nov 26, 2026
f233d30
Add reusable MLflow run extractor
aas008 Nov 26, 2026
dbdb920
Add Omni View Logs page
aas008 Nov 26, 2026
de6792e
Show full Omni logs by default
aas008 Nov 26, 2026
c436c67
Prefer the full vLLM server log in View Logs
aas008 Nov 26, 2026
03d2a0f
Label CI benchmark logs as benchmark logs
aas008 Nov 26, 2026
8b4bcb2
Simplify Omni View Logs to match RHAIIS
aas008 Nov 26, 2026
a345df6
Add Omni Compare Versions page
aas008 Nov 26, 2026
306c793
Align Omni Compare Versions with the RHAIIS layout
aas008 Nov 26, 2026
66f7a0a
Use readable TTS, ASR, and Text modality labels
aas008 Nov 26, 2026
155a8b6
Label audio-to-text as ASR / STT
aas008 Nov 26, 2026
fcaa46c
Add task selector and dummy STT test data
aas008 Nov 26, 2026
0ac190a
Clarify Compare Versions task labels
aas008 Nov 26, 2026
c9ebff8
Compare one load generator at a time
aas008 Nov 26, 2026
01feea1
Add statistic selector to Compare Versions
aas008 Nov 26, 2026
5860206
Make Compare Versions table-only
aas008 Nov 26, 2026
9fa0aa1
Show STT statistic differences in Compare Versions
aas008 Nov 26, 2026
067e5c7
Persist Omni section and Compare Versions selections in URL
aas008 Nov 26, 2026
309e663
Merge Input/Output and Task filters
aas008 Nov 26, 2026
1bf18e1
Add task explanation tooltips
aas008 Nov 26, 2026
ef314a0
Add Select All Models to Omni model selectors
aas008 Nov 26, 2026
3c1190b
Add Dataset filter and format task help
aas008 Nov 26, 2026
b9fd93e
Preserve performance filter selections
aas008 Nov 30, 2026
8d0fb2d
Test Omni filter selection persistence
aas008 Dec 1, 2026
2be40c5
Add Omni dashboard methodology checkpoint
aas008 Dec 1, 2026
4c9718f
Add Omni schema size and endpoint coverage research memo
aas008 Dec 2, 2026
d22c9f0
Add column counts and join diagram to Omni schema memo
aas008 Dec 2, 2026
45b6dc5
Add staged Omni TTS CSV rollout
aas008 Dec 2, 2026
4757e3b
Allow default dashboard view override
aas008 Dec 2, 2026
56f9c40
Render missing Omni table cells as blanks
aas008 Dec 2, 2026
5381f05
Match RHAIIS duplicate-run styling in Omni plots
aas008 Dec 2, 2026
8206aa5
Add runtime args, persistent filters, and overview design
aas008 Dec 2, 2026
2c357d5
Reset downstream Omni filters when a parent changes
aas008 Dec 2, 2026
67db693
Connect MLflow View Logs and add streaming toggle
aas008 Dec 2, 2026
18125fa
Merge filter cascade reset
aas008 Dec 2, 2026
048b1c7
Add dataset help to Omni filters
aas008 Dec 2, 2026
acc93ee
Simplify Performance Plots controls and surface request counts
aas008 Dec 2, 2026
9b44927
Group View Logs by deployment and resolve server log
aas008 Dec 2, 2026
bff2884
Merge grouped View Logs with server/bench sources
aas008 Dec 2, 2026
30a5d45
Prefer Qwen deployments in View Logs default
aas008 Dec 3, 2026
2fac561
Define N in Performance Plots
aas008 Dec 3, 2026
e991ef3
Avoid caching full Omni log bodies
aas008 Dec 3, 2026
2652e9a
Add response-format control and log-scale concurrency axis
aas008 Dec 3, 2026
a5ea544
Add Grafana links and rename configuration to recipe
aas008 Dec 3, 2026
21d0e30
Render missing numeric cells as blank strings
aas008 Dec 3, 2026
ca2ea10
Describe Performance Plots without the RHAIIS comparison
aas008 Dec 3, 2026
5e841df
Make observability endpoints environment-driven
aas008 Dec 3, 2026
f96eb83
Fix lint and type-check findings
aas008 Dec 3, 2026
fbd5288
Fix remaining pre-commit findings
aas008 Dec 3, 2026
f88c504
Remove unused import in Omni filter test
aas008 Dec 3, 2026
c793b1b
Remove dummy Omni fixtures
aas008 Dec 3, 2026
8c3665e
Point staging Omni deployment at the S3 CSV key
aas008 Dec 3, 2026
675147c
Consolidate Omni documentation into one guide
aas008 Dec 3, 2026
2a4898e
Address CodeRabbit review findings
aas008 Dec 3, 2026
e4bb2b0
Remove unused static AWS credential constants
aas008 Dec 3, 2026
5c137fe
Fix remaining comparison and ASR identity edge cases
aas008 Dec 3, 2026
33c9567
Make comparison key normalization pandas-version independent
aas008 Dec 3, 2026
180f2bc
Fix MLflow lookup order and comparison edge cases
aas008 Dec 3, 2026
d0bf026
Persist streaming preference via toggle callback
aas008 Dec 3, 2026
37806af
Group Omni manual tools under vllm-omni
aas008 Dec 3, 2026
dec87c9
Fix Omni CSV identity and UI edge cases
aas008 Dec 3, 2026
1c8cb21
Fingerprint legacy rows when json_file is missing
aas008 Dec 3, 2026
ab359c7
Include all mapped measurements in legacy fingerprint
aas008 Dec 3, 2026
675750c
Ignore Omni builder outputs and mark offline ASR
aas008 Dec 4, 2026
f8ff460
Include legacy config in fingerprint and preserve ASR zero
aas008 Dec 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ __pycache__/
!mlperf-data/mlperf-*.csv
!mlperf-data/summaries/*.csv
!datasets/summaries/*.csv
!manual_runs/scripts/vllm-omni/templates/*.csv
# Populated local datasets and builder outputs contain deployment/MLflow IDs; keep them out of git.
datasets/omni/consolidated_dashboard_omni.csv

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P2] Ignore the builder's default output and local logs

The builder defaults to datasets/omni/consolidated_dashboard_omni_legacy.csv, and the dashboard's local log directory defaults to datasets/omni/logs/. These rules cover only consolidated_dashboard_omni.csv and its sidecars, so artifacts from the documented default remain visible to git. Please add ignore rules for the legacy CSV and its sidecars, plus the local logs directory, to match the documented guidance not to commit generated results and logs.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 675750c: added explicit ignores for datasets/omni/consolidated_dashboard_omni_legacy.csv, its sidecars, and datasets/omni/logs/.

datasets/omni/consolidated_dashboard_omni.csv.*
datasets/omni/consolidated_dashboard_omni_legacy.csv
datasets/omni/consolidated_dashboard_omni_legacy.csv.*
datasets/omni/logs/
vllm-cpu-perf-eval/

# Ignore large original dataset files in datasets/ (pkl, parquet, npy)
Expand Down
50 changes: 41 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AI Inference Performance Dashboard

A comprehensive performance analysis dashboard for AI inference benchmarks including RHAIIS (Red Hat AI Inference Server), LLM-D (disaggregated LLM inference), and MLPerf submissions. This dashboard provides interactive visualizations and analysis of AI model performance across different accelerators, versions, and configurations.
A comprehensive performance analysis dashboard for AI inference benchmarks including RHAIIS (Red Hat AI Inference Server), LLM-D (disaggregated LLM inference), vLLM-Omni (speech-in, speech-out, and text), and MLPerf submissions. This dashboard provides interactive visualizations and analysis of AI model performance across different accelerators, versions, and configurations.

## Features

Expand All @@ -24,6 +24,14 @@ A comprehensive performance analysis dashboard for AI inference benchmarks inclu
- **Performance Plots**: Interactive visualizations with multiple Y-axis metric options
- **Runtime Configuration Tracking**: View server configurations and deployment parameters

### Omni Dashboard

- **Speech, ASR, and text views**: Filter one consolidated CSV by modality, task type, load generator, model, runtime, accelerator, and concurrency
- **Speech-out metrics**: Audio TTFP, RTF, underrun, audio throughput, and streaming continuity
- **ASR metrics**: WER, RTFx, transcription throughput, and input-audio duration
- **Text metrics**: TTFT, TPOT, ITL, E2EL, and token throughput
- **Extensible schema**: One row per benchmark point; modality-inapplicable fields may be blank, and future metrics live in `extra_json`

### MLPerf Dashboard

- **Multi-Version Support**: Compare MLPerf v5.0 and v5.1 submissions
Expand Down Expand Up @@ -270,6 +278,28 @@ When you have code changes:

2. **Consolidate data**: Merge new results with existing CSV file

## Omni Data Management

The Omni dashboard reads `datasets/omni/consolidated_dashboard_omni.csv` locally, or the `S3_KEY_OMNI` object when `S3_BUCKET` is set. Header-only templates are included:

- `manual_runs/scripts/vllm-omni/templates/consolidated_dashboard_omni_template.csv`
- `manual_runs/scripts/vllm-omni/templates/consolidated_dashboard_omni_tts_template.csv`

Build the staged 77-column TTS CSV:

```bash
python manual_runs/scripts/vllm-omni/build_omni_tts_csv.py \
--recipe-root ~/omni-perf-benchmark-recipe \
--output datasets/omni/consolidated_dashboard_omni.csv
```

The older 165-column converter
(`manual_runs/scripts/vllm-omni/build_consolidated_omni_csv.py`) remains for the
legacy schema/template.

See `docs/omni-dashboard.md` for the schema, units, dashboard sections, and
configuration.

## MLPerf Data Management

### MLPerf CSV Files
Expand Down Expand Up @@ -369,14 +399,15 @@ See [tests/README.md](tests/README.md) for detailed test documentation.

The dashboard can load CSV data directly from an AWS S3 bucket instead of local files. This is useful for production deployments where data is updated externally.

| Variable | Description | Default |
| ----------------------- | ----------------------------------------- | ---------------------------- |
| `S3_BUCKET` | S3 bucket name (enables S3 mode when set) | _(none)_ |
| `S3_KEY` | Path to RHAIIS CSV in bucket | `consolidated_dashboard.csv` |
| `S3_KEY_LLMD` | Path to LLM-D CSV in bucket | `llmd-dashboard.csv` |
| `S3_REGION` | AWS region | `us-east-1` |
| `AWS_ACCESS_KEY_ID` | AWS access key (for private buckets) | _(none)_ |
| `AWS_SECRET_ACCESS_KEY` | AWS secret key (for private buckets) | _(none)_ |
| Variable | Description | Default |
| ----------------------- | ----------------------------------------- | --------------------------------- |
| `S3_BUCKET` | S3 bucket name (enables S3 mode when set) | _(none)_ |
| `S3_KEY` | Path to RHAIIS CSV in bucket | `consolidated_dashboard.csv` |
| `S3_KEY_LLMD` | Path to LLM-D CSV in bucket | `llmd-dashboard.csv` |
| `S3_KEY_OMNI` | Path to Omni CSV in bucket | `consolidated_dashboard_omni.csv` |
| `S3_REGION` | AWS region | `us-east-1` |
| `AWS_ACCESS_KEY_ID` | AWS access key (for private buckets) | _(none)_ |
| `AWS_SECRET_ACCESS_KEY` | AWS secret key (for private buckets) | _(none)_ |

**Behavior:**

Expand All @@ -393,6 +424,7 @@ export AWS_SECRET_ACCESS_KEY='your-secret'
export S3_BUCKET='your-s3-bucket'
export S3_KEY='location of the consolidated-dashboard.csv file in the bucket'
export S3_KEY_LLMD='location of the llmd-dashboard.csv file in the bucket'
export S3_KEY_OMNI='location of the consolidated_dashboard_omni.csv file in the bucket'
export S3_REGION='us-east-1'

# Run the dashboard
Expand Down
23 changes: 22 additions & 1 deletion dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,15 @@ def _render_methodology_note(versions):
CPU_AVAILABLE = False
print("Warning: cpu_dashboard module not found. vLLM CPU view will be disabled.")

# Import Omni dashboard
try:
from omni_dashboard import render_omni_dashboard

OMNI_AVAILABLE = True
except ImportError:
OMNI_AVAILABLE = False
print("Warning: omni_dashboard module not found. Omni view will be disabled.")

# Configure logging to stdout for container logs
logging.basicConfig(
level=logging.INFO,
Expand All @@ -173,13 +182,15 @@ def _render_methodology_note(versions):
S3_KEY = os.environ.get("S3_KEY", "consolidated_dashboard.csv")
S3_KEY_LLMD = os.environ.get("S3_KEY_LLMD", "llmd-dashboard.csv")
S3_KEY_CPU = os.environ.get("S3_KEY_CPU", "cpu_dashboard.csv")
S3_KEY_OMNI = os.environ.get("S3_KEY_OMNI", "consolidated_dashboard_omni.csv")
S3_REGION = os.environ.get("S3_REGION", "us-east-1")
AWS_ACCESS_KEY_ID = os.environ.get("AWS_ACCESS_KEY_ID")
AWS_SECRET_ACCESS_KEY = os.environ.get("AWS_SECRET_ACCESS_KEY")
S3_LOGS_BUCKET = os.environ.get("S3_LOGS_BUCKET", "psap-model-furnace")
S3_LOGS_PREFIX = os.environ.get("S3_LOGS_PREFIX", "logs/")
MLFLOW_BASE_URL = os.environ.get("MLFLOW_BASE_URL", "")
MLFLOW_WORKSPACE = os.environ.get("MLFLOW_WORKSPACE", "forge-rhaiis")
DEFAULT_DASHBOARD_VIEW = os.environ.get("DEFAULT_DASHBOARD_VIEW", "RHAIIS Dashboard")


# ── Overview version configuration (single source of truth) ──────
Expand Down Expand Up @@ -12404,12 +12415,16 @@ def render_sidebar_header():
view_options.append("LLM-D Dashboard")
if CPU_AVAILABLE:
view_options.append("vLLM CPU Dashboard")
if OMNI_AVAILABLE:
view_options.append("Omni Dashboard")

if len(view_options) > 1:
# Pre-populate the widget key so we never need the `index`
# param (which can conflict with the key and eat the first click).
if "dashboard_view_selector" not in st.session_state:
current_view = st.session_state.get("selected_view", "RHAIIS Dashboard")
current_view = st.session_state.get(
"selected_view", DEFAULT_DASHBOARD_VIEW
)
st.session_state.dashboard_view_selector = (
current_view if current_view in view_options else view_options[0]
)
Expand Down Expand Up @@ -12466,6 +12481,7 @@ def render_confidentiality_notice():
"MLPerf Dashboard",
"LLM-D Dashboard",
"vLLM CPU Dashboard",
"Omni Dashboard",
]:
st.session_state.selected_view = view_from_url
st.session_state.dashboard_view_selector = view_from_url
Expand Down Expand Up @@ -12609,6 +12625,11 @@ def render_confidentiality_notice():
render_cpu_dashboard("cpu_dashboard.csv")
st.stop() # Stop execution here, don't load RHAIIS data

# If Omni view is selected, render Omni dashboard and exit
if OMNI_AVAILABLE and selected_view == "Omni Dashboard":
render_omni_dashboard("datasets/omni/consolidated_dashboard_omni.csv")
st.stop() # Stop execution here, don't load RHAIIS data

# Otherwise, continue with RHAIIS dashboard
DATA_FILE = "consolidated_dashboard.csv"

Expand Down
2 changes: 2 additions & 0 deletions deploy/openshift-deployment-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ spec:
value: "the location of the llmd-dashboard.csv file"
- name: S3_KEY_CPU
value: "the location of the cpu_dashboard.csv file"
- name: S3_KEY_OMNI
value: "staging/omni-dashboard/omni_dashboard.csv"
- name: S3_REGION
value: "the region of your bucket"
# S3 Configuration for logs
Expand Down
106 changes: 106 additions & 0 deletions docs/omni-dashboard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# 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 `manual_runs/scripts/vllm-omni/templates/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 (`manual_runs/scripts/vllm-omni/templates/consolidated_dashboard_omni_template.csv`) remains for the older converter. The staged dashboard uses the 77-column template.

## Build

```bash
python3 manual_runs/scripts/vllm-omni/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='<bucket>'
export S3_KEY_OMNI='<path>/omni_dashboard.csv'
export S3_REGION='us-east-1'
export S3_LOGS_BUCKET='<bucket>' # optional, for View Logs
export S3_LOGS_PREFIX='logs/' # optional
```

The CSV is cached for 5 minutes. AWS credentials use the standard provider chain (environment variables, shared config, or instance role). Set `S3_ANONYMOUS=true` only for a public bucket.

Observability links (optional; no URLs are committed):

```bash
export MLFLOW_TRACKING_URI='<mlflow tracking uri>'
export MLFLOW_BASE_URL='<mlflow ui base url>'
export MLFLOW_WORKSPACE='<workspace>'
export OMNI_MLFLOW_EXPERIMENT_ID='<experiment id>'
export GRAFANA_BASE_URL='<grafana base url>'
export OMNI_GRAFANA_DASHBOARD_UID='<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.
78 changes: 78 additions & 0 deletions manual_runs/scripts/vllm-omni/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# vLLM-Omni Manual Runs

Scripts for turning manual vLLM-Omni benchmark artifacts into the Omni
dashboard CSV.

## Scripts

| Script | Purpose |
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `build_omni_tts_csv.py` | Build the staged 77-column TTS dashboard CSV from the 3.5 legacy, 3.6 base, and 3.6 Athena results. |
| `build_consolidated_omni_csv.py` | Build the older 165-column consolidated schema used by the legacy converter. |
| `extract_mlflow_runs.py` | Optional MLflow export/backfill helper. Writes `runs.json` so the CSV builder can attach MLflow links when the benchmark files have no run ID. |

The dashboard reads the finished CSV; it does not import these scripts.

## Manual workflow

```text
1. vllm bench serve -> result JSONs (no MLflow ID)
2. export_athena_csv.py -> raw benchmark CSV (no MLflow ID)
3. log_to_mlflow.py -> MLflow runs (IDs live only in MLflow)
4. extract_mlflow_runs.py -> runs.json (IDs copied locally)
5. build_omni_tts_csv.py -> dashboard CSV (IDs joined into rows)
6. dashboard / S3 -> MLflow links + logs
```

`extract_mlflow_runs.py` is kept as executable documentation for the manual
backfill step. Future runs can avoid it by writing the ID mapping during the
MLflow upload step.

## Build the staged TTS CSV

```bash
python3 manual_runs/scripts/vllm-omni/build_omni_tts_csv.py \
--recipe-root ~/omni-perf-benchmark-recipe \
--output datasets/omni/consolidated_dashboard_omni.csv
```

Optional MLflow backfill:

```bash
export MLFLOW_TRACKING_URI='<mlflow tracking uri>'
export MLFLOW_WORKSPACE='<workspace>'
export MLFLOW_TRACKING_USERNAME='<username>'
export MLFLOW_TRACKING_PASSWORD='<password>'

python3 manual_runs/scripts/vllm-omni/extract_mlflow_runs.py \
--experiment-id <experiment-id> \
--name-regex '<run-name-regex>' \
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
--artifact-pattern 'results/*.json' \
--artifact-pattern 'logs/*.log' \
--output-dir ~/Downloads/mlflow-extract

python3 manual_runs/scripts/vllm-omni/build_omni_tts_csv.py \
--recipe-root ~/omni-perf-benchmark-recipe \
--mlflow-runs-json ~/Downloads/mlflow-extract/runs.json \
--output datasets/omni/consolidated_dashboard_omni.csv
```

## Build the legacy schema

```bash
python3 manual_runs/scripts/vllm-omni/build_consolidated_omni_csv.py \
--omni-json path/to/omni-json/ \
--legacy-csv path/to/legacy-benchmark_results.csv \
--output datasets/omni/consolidated_dashboard_omni_legacy.csv
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
```

Add `--metadata-json PATH` when you have defaults or pattern overrides to supply.

See `docs/omni-dashboard.md` for the schema, dashboard sections, and deployment
configuration.

## Requirements

- Python 3.9+
- `mlflow` only for `extract_mlflow_runs.py`
- `pandas`/`streamlit` only for running the dashboard
Loading
Loading