diff --git a/torchci/components/benchmark/llms/components/LLMsSummaryPanel.tsx b/torchci/components/benchmark/llms/components/LLMsSummaryPanel.tsx index 067f3c6ab4..699334ceea 100644 --- a/torchci/components/benchmark/llms/components/LLMsSummaryPanel.tsx +++ b/torchci/components/benchmark/llms/components/LLMsSummaryPanel.tsx @@ -1,5 +1,6 @@ import { Grid, styled, Tooltip } from "@mui/material"; import { GridCellParams, GridRenderCellParams } from "@mui/x-data-grid"; +import { RenderRawContent } from "components/benchmark_v3/components/common/RawContentDialog"; import styles from "components/metrics.module.css"; import { TablePanelWithData } from "components/metrics/panels/TablePanel"; import { Granularity } from "components/metrics/panels/TimeSeriesPanel"; @@ -478,21 +479,25 @@ export default function LLMsSummaryPanel({ // TODO (huydhn): Table bigger than 100 rows requires x-data-grid-pro return ( - - - el.name }} - showFooter={true} - disableAutoPageSize={true} - customStyle={{ - maxHeight: 1200, - }} - /> + <> + + + + + el.name }} + showFooter={true} + disableAutoPageSize={true} + customStyle={{ + maxHeight: 1200, + }} + /> + - + ); } diff --git a/torchci/lib/benchmark/api_helper/backend/dataFetchers/queryBuilderUtils/benchmarkDataQueryBuilder.ts b/torchci/lib/benchmark/api_helper/backend/dataFetchers/queryBuilderUtils/benchmarkDataQueryBuilder.ts index b39a176e4c..cd1be3a0b6 100644 --- a/torchci/lib/benchmark/api_helper/backend/dataFetchers/queryBuilderUtils/benchmarkDataQueryBuilder.ts +++ b/torchci/lib/benchmark/api_helper/backend/dataFetchers/queryBuilderUtils/benchmarkDataQueryBuilder.ts @@ -492,6 +492,10 @@ export class PytorchHelionDataFetcher "floor(arrayAvg(o.metric.'benchmark_values'), 2)", "avg_value" ); + this._data_query.addSelectStatement( + "tupleElement(o.metric, 'benchmark_values')", + "raw_value_list" + ); } applyFormat(