Repository navigation
Add vLLM-Omni performance dashboard #154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
aas008
wants to merge
76
commits into
openshift-psap:staging
Choose a base branch
from
aas008:omni-dashboard-dev
base: staging
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+6,112
−11
Open
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 871f783
Add GuideLLM audio-to-text sample row
aas008 b92801a
Refine Omni CSV schema and sample rows
aas008 7215d67
Fix load_generator fallback for offline ASR rows
aas008 eaf251b
Document Omni vs RHAIIS dashboard UX comparison
aas008 20c2b7e
Add RHAIIS-style Omni filters, auto-fill, and plot selection
aas008 c84c5e3
Clarify dataset identity as an open question
aas008 5a68e3a
Restore RHAIIS navigation and move Omni filters to main content
aas008 1ec5766
Match Omni Performance Plots to the RHAIIS layout
aas008 1e78d11
Show all concurrency values in Omni plots
aas008 fd4fca0
Match Omni filter band to the RHAIIS layout
aas008 7def235
Simplify Omni placeholder message
aas008 f233d30
Add reusable MLflow run extractor
aas008 dbdb920
Add Omni View Logs page
aas008 de6792e
Show full Omni logs by default
aas008 c436c67
Prefer the full vLLM server log in View Logs
aas008 03d2a0f
Label CI benchmark logs as benchmark logs
aas008 8b4bcb2
Simplify Omni View Logs to match RHAIIS
aas008 a345df6
Add Omni Compare Versions page
aas008 306c793
Align Omni Compare Versions with the RHAIIS layout
aas008 66f7a0a
Use readable TTS, ASR, and Text modality labels
aas008 155a8b6
Label audio-to-text as ASR / STT
aas008 fcaa46c
Add task selector and dummy STT test data
aas008 0ac190a
Clarify Compare Versions task labels
aas008 c9ebff8
Compare one load generator at a time
aas008 01feea1
Add statistic selector to Compare Versions
aas008 5860206
Make Compare Versions table-only
aas008 9fa0aa1
Show STT statistic differences in Compare Versions
aas008 067e5c7
Persist Omni section and Compare Versions selections in URL
aas008 309e663
Merge Input/Output and Task filters
aas008 1bf18e1
Add task explanation tooltips
aas008 ef314a0
Add Select All Models to Omni model selectors
aas008 3c1190b
Add Dataset filter and format task help
aas008 b9fd93e
Preserve performance filter selections
aas008 8d0fb2d
Test Omni filter selection persistence
aas008 2be40c5
Add Omni dashboard methodology checkpoint
aas008 4c9718f
Add Omni schema size and endpoint coverage research memo
aas008 d22c9f0
Add column counts and join diagram to Omni schema memo
aas008 45b6dc5
Add staged Omni TTS CSV rollout
aas008 4757e3b
Allow default dashboard view override
aas008 56f9c40
Render missing Omni table cells as blanks
aas008 5381f05
Match RHAIIS duplicate-run styling in Omni plots
aas008 8206aa5
Add runtime args, persistent filters, and overview design
aas008 2c357d5
Reset downstream Omni filters when a parent changes
aas008 67db693
Connect MLflow View Logs and add streaming toggle
aas008 18125fa
Merge filter cascade reset
aas008 048b1c7
Add dataset help to Omni filters
aas008 acc93ee
Simplify Performance Plots controls and surface request counts
aas008 9b44927
Group View Logs by deployment and resolve server log
aas008 bff2884
Merge grouped View Logs with server/bench sources
aas008 30a5d45
Prefer Qwen deployments in View Logs default
aas008 2fac561
Define N in Performance Plots
aas008 e991ef3
Avoid caching full Omni log bodies
aas008 2652e9a
Add response-format control and log-scale concurrency axis
aas008 a5ea544
Add Grafana links and rename configuration to recipe
aas008 21d0e30
Render missing numeric cells as blank strings
aas008 ca2ea10
Describe Performance Plots without the RHAIIS comparison
aas008 5e841df
Make observability endpoints environment-driven
aas008 f96eb83
Fix lint and type-check findings
aas008 fbd5288
Fix remaining pre-commit findings
aas008 f88c504
Remove unused import in Omni filter test
aas008 c793b1b
Remove dummy Omni fixtures
aas008 8c3665e
Point staging Omni deployment at the S3 CSV key
aas008 675147c
Consolidate Omni documentation into one guide
aas008 2a4898e
Address CodeRabbit review findings
aas008 e4bb2b0
Remove unused static AWS credential constants
aas008 5c137fe
Fix remaining comparison and ASR identity edge cases
aas008 33c9567
Make comparison key normalization pandas-version independent
aas008 180f2bc
Fix MLflow lookup order and comparison edge cases
aas008 d0bf026
Persist streaming preference via toggle callback
aas008 37806af
Group Omni manual tools under vllm-omni
aas008 dec87c9
Fix Omni CSV identity and UI edge cases
aas008 1c8cb21
Fingerprint legacy rows when json_file is missing
aas008 ab359c7
Include all mapped measurements in legacy fingerprint
aas008 675750c
Ignore Omni builder outputs and mark offline ASR
aas008 f8ff460
Include legacy config in fingerprint and preserve ASR zero
aas008 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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>' \ | ||
|
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 | ||
|
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 | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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 todatasets/omni/logs/. These rules cover onlyconsolidated_dashboard_omni.csvand 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.There was a problem hiding this comment.
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, anddatasets/omni/logs/.