-
Notifications
You must be signed in to change notification settings - Fork 110
Configure PyTorch x vLLM nightly dashboard #7614
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,146 @@ | ||
| import { BenchmarkUIConfig } from "../../config_book_types"; | ||
| import { | ||
| BRANCH_METADATA_COLUMN, | ||
| DEFAULT_DASHBOARD_BENCHMARK_INITIAL, | ||
| } from "../defaults/default_dashboard_config"; | ||
|
|
||
| export const PYTORCH_X_VLLM_BENCHMARK_ID = "pytorch_x_vllm_benchmark"; | ||
|
|
||
| const COMPARISON_TABLE_METADATA_COLUMNS = [ | ||
| { | ||
| field: "device", | ||
| displayName: "Hardware type", | ||
| }, | ||
| { | ||
| field: "arch", | ||
| displayName: "Hardware model", | ||
| }, | ||
| { | ||
| field: "extra_key.use_compile", | ||
| displayName: "Use Compile", | ||
| }, | ||
| { | ||
| field: "extra_key.request_rate", | ||
| displayName: "Request Rate", | ||
| }, | ||
| { | ||
| field: "extra_key.tensor_parallel_size", | ||
| displayName: "Tensor Parallel", | ||
| }, | ||
| { | ||
| field: "extra_key.input_len", | ||
| displayName: "Input Len", | ||
| }, | ||
| { | ||
| field: "extra_key.output_len", | ||
| displayName: "Max Output Len", | ||
| }, | ||
| ] as const; | ||
|
|
||
| export const PytorchXVllmBenchmarkDashboardConfig: BenchmarkUIConfig = { | ||
| benchmarkId: PYTORCH_X_VLLM_BENCHMARK_ID, | ||
| apiId: PYTORCH_X_VLLM_BENCHMARK_ID, | ||
| title: "PyTorch x vLLM Benchmark", | ||
| type: "dashboard", | ||
| dataBinding: { | ||
| initial: { | ||
| ...DEFAULT_DASHBOARD_BENCHMARK_INITIAL, | ||
| benchmarkId: PYTORCH_X_VLLM_BENCHMARK_ID, | ||
| }, | ||
| required_filter_fields: [], | ||
| }, | ||
| dataRender: { | ||
| type: "auto", | ||
| subSectionRenders: { | ||
| detail_view: { | ||
| filterConstraint: { | ||
| model: { | ||
| disabled: true, | ||
| }, | ||
| deviceName: { | ||
| disableOptions: [""], | ||
| }, | ||
| mode: { | ||
| disableOptions: [""], | ||
| }, | ||
| }, | ||
| renders: [ | ||
| { | ||
| type: "AutoBenchmarkTimeSeriesChartGroup", | ||
| title: "Metrics Time Series Chart Detail View", | ||
| config: { | ||
| type: "line", | ||
| groupByFields: ["metric"], | ||
| lineKey: [ | ||
| "model", | ||
| "extra_key.use_compile", | ||
| "extra_key.request_rate", | ||
| "extra_key.input_len", | ||
| "extra_key.output_len", | ||
| "metric", | ||
| "branch", | ||
| ], | ||
| chart: { | ||
| renderOptions: { | ||
| showLegendDetails: true, | ||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| { | ||
| type: "AutoBenchmarkTimeSeriesTable", | ||
| title: "Comparison Table Detail View", | ||
| config: { | ||
| primary: { | ||
| fields: ["model"], | ||
| displayName: "Model", | ||
| }, | ||
| extraMetadata: COMPARISON_TABLE_METADATA_COLUMNS, | ||
| renderOptions: { | ||
| missingText: "", | ||
| flex: { | ||
| primary: 2, | ||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| { | ||
| type: "AutoBenchmarkRawDataTable", | ||
| title: "Raw Data Table", | ||
| config: { | ||
| extraMetadata: [ | ||
| BRANCH_METADATA_COLUMN, | ||
| ...COMPARISON_TABLE_METADATA_COLUMNS, | ||
| ], | ||
| }, | ||
| }, | ||
| ], | ||
| }, | ||
| }, | ||
| renders: [ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @huydhn I will add another auto component to add pure description for dashboard, it's good that we tells the differerence between this benchmark basedon pinned commit, and another one based on pinned pytorch
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. AutoBenchmarkMarkDownContent |
||
| { | ||
| type: "AutoBenchmarkPairwiseTable", | ||
| title: "Comparison Table", | ||
| config: { | ||
| primary: { | ||
| fields: ["model"], | ||
| displayName: "Model", | ||
| navigation: { | ||
| type: "subSectionRender", | ||
| value: "detail_view", | ||
| applyFilterFields: ["model", "device", "arch"], | ||
| }, | ||
| }, | ||
| extraMetadata: COMPARISON_TABLE_METADATA_COLUMNS, | ||
| renderOptions: { | ||
| missingText: "none", | ||
| bothMissingText: "", | ||
| flex: { | ||
| primary: 2, | ||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| ], | ||
| }, | ||
| }; | ||
Uh oh!
There was an error while loading. Please reload this page.
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.
@huydhn recommend add comment that it's generated based on pinned vllm commit
Uh oh!
There was an error while loading. Please reload this page.
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.
also, maybe put this under vllm section: "vLLM Benchmarks ", instead of pytorch,
maybe also update the description for the vllmx pinned pytorch description, so that we can tell the difference