From c11152577255b13def0f6a4f8bc80ce47fc0408a Mon Sep 17 00:00:00 2001 From: Yang Wang Date: Sat, 6 Sep 2025 00:23:12 -0700 Subject: [PATCH] replace api --- torchci/components/benchmark/llms/LLMsBenchmarkPage.tsx | 1 + torchci/components/layout/NavBar.tsx | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/torchci/components/benchmark/llms/LLMsBenchmarkPage.tsx b/torchci/components/benchmark/llms/LLMsBenchmarkPage.tsx index 0b43ca1d3b..9596a4b8ae 100644 --- a/torchci/components/benchmark/llms/LLMsBenchmarkPage.tsx +++ b/torchci/components/benchmark/llms/LLMsBenchmarkPage.tsx @@ -131,6 +131,7 @@ const MainPage = ({ }${router.asPath.replace(/\?.+/, "")}` ); }, [router.query]); + const queryParams = getLLMsBenchmarkPropsQueryParameter(props); const { data, error, isLoading } = useBenchmarkPropsData(queryParams); diff --git a/torchci/components/layout/NavBar.tsx b/torchci/components/layout/NavBar.tsx index 333f46988a..6098b0f07e 100644 --- a/torchci/components/layout/NavBar.tsx +++ b/torchci/components/layout/NavBar.tsx @@ -110,6 +110,10 @@ function NavBar() { name: "TorchAO Micro API", href: "/benchmark/llms?repoName=pytorch%2Fao&benchmarkName=micro-benchmark+api", }, + { + name: "PyTorch operator benchmark", + href: "/benchmark/llms?repoName=pytorch%2Fpytorch&benchmarkName=PyTorch%20operator%20benchmark", + }, { name: "PT CacheBench", href: "/benchmark/llms?repoName=pytorch%2Fpytorch&benchmarkName=TorchCache+Benchmark",