Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman committed Dec 19, 2024
1 parent f9c69ab commit 0002c5b
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions torchci/pages/nightlies.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Grid, Paper, Skeleton, Stack, Typography } from "@mui/material";
import TablePanel from "components/metrics/panels/TablePanel";
import { useCHContext } from "components/UseClickhouseProvider";
import dayjs from "dayjs";
import { EChartsOption } from "echarts";
import ReactECharts from "echarts-for-react";
Expand Down Expand Up @@ -86,7 +85,7 @@ function ValidationRedPanel({
JSON.stringify([
params,
{
"channel": channel
channel: channel,
},
])
)}`;
Expand Down Expand Up @@ -173,17 +172,16 @@ export default function Page() {
const [startTime, setStartTime] = useState(dayjs().subtract(1, "week"));
const [stopTime, setStopTime] = useState(dayjs());
const [timeRange, setTimeRange] = useState<number>(7);
const { useCH: useClickHouse } = useCHContext();

const timeParams = [
{
"startTime": startTime
startTime: startTime,
},
{
"stopTime": stopTime,
stopTime: stopTime,
},
{
"repo": "pytorch",
repo: "pytorch",
},
];

Expand Down Expand Up @@ -214,7 +212,7 @@ export default function Page() {
queryName={"nightly_jobs_red_past_day"}
queryParams={[
{
"repo": "pytorch"
repo: "pytorch",
},
]}
columns={[
Expand All @@ -235,7 +233,7 @@ export default function Page() {
queryName={"nightly_jobs_red_past_day"}
queryParams={[
{
"repo": "vision"
repo: "vision",
},
]}
columns={[
Expand All @@ -256,7 +254,7 @@ export default function Page() {
queryName={"nightly_jobs_red_past_day"}
queryParams={[
{
"repo": "audio"
repo: "audio",
},
]}
columns={[
Expand All @@ -281,7 +279,7 @@ export default function Page() {
queryName={"validation_jobs_red_past_day"}
queryParams={[
{
"channel": "release"
channel: "release",
},
]}
columns={[
Expand All @@ -306,7 +304,7 @@ export default function Page() {
queryName={"validation_jobs_red_past_day"}
queryParams={[
{
"channel": "nightly"
channel: "nightly",
},
]}
columns={[
Expand Down

0 comments on commit 0002c5b

Please sign in to comment.