├── bun.lockb ├── db.sqlite ├── public ├── logo.png ├── banner.png ├── favicon.ico ├── mozilla-logo.png ├── apple-touch-icon.png ├── cli-screenshot.jpeg ├── android-chrome-192x192.png ├── android-chrome-512x512.png ├── manifest.webmanifest ├── accel-focus.svg ├── model-focus.svg ├── accel.svg ├── model.svg └── icon.svg ├── postcss.config.mjs ├── src ├── pages │ ├── download │ │ ├── TabStepLabel.tsx │ │ ├── TabStep.tsx │ │ ├── OperatingSystemSelector.tsx │ │ ├── ModelTab.tsx │ │ ├── index.tsx │ │ └── OfficialTab.tsx │ ├── _app.tsx │ ├── api │ │ ├── download │ │ │ └── [model].ts │ │ ├── search.ts │ │ └── results.ts │ ├── _document.tsx │ ├── index.tsx │ ├── model │ │ └── [id] │ │ │ └── index.tsx │ ├── latest.tsx │ ├── accelerator │ │ └── [id] │ │ │ └── index.tsx │ ├── about │ │ └── index.tsx │ └── result │ │ └── [id].tsx ├── lib │ ├── env.ts │ ├── swr.ts │ ├── constants.ts │ ├── hooks │ │ └── useDownload.ts │ ├── config.ts │ ├── utils.ts │ ├── types.ts │ └── selectStyles.ts ├── components │ ├── ui │ │ ├── CardHeader.tsx │ │ ├── Card.tsx │ │ ├── Button.tsx │ │ ├── Hyperlink.tsx │ │ ├── Separator.tsx │ │ ├── GenericSelect.tsx │ │ ├── Tooltip.tsx │ │ ├── CodeBlock.tsx │ │ ├── Tab.tsx │ │ └── GenericMultiSelect.tsx │ ├── layout │ │ ├── PageHeader.tsx │ │ ├── Layout.tsx │ │ ├── Meta.tsx │ │ ├── Footer.tsx │ │ ├── Header.tsx │ │ └── SearchBar.tsx │ ├── select │ │ ├── MultiSelectOption.tsx │ │ ├── CustomMenuList.tsx │ │ ├── ModelSelectOptionLabel.tsx │ │ └── AcceleratorSelectOptionLabel.tsx │ ├── icons │ │ ├── CaratIcon.tsx │ │ ├── ArrowIcon.tsx │ │ ├── EmailIcon.tsx │ │ ├── GithubIcon.tsx │ │ ├── DiscordIcon.tsx │ │ └── SearchIcon.tsx │ ├── leaderboard │ │ ├── constants.ts │ │ ├── LeaderboardAcceleratorSelect.tsx │ │ ├── LeaderboardSelectedModelHeader.tsx │ │ ├── Leaderboard.tsx │ │ ├── HomepageLeaderboard.tsx │ │ ├── LeaderboardAcceleratorRow.tsx │ │ ├── LeaderboardTable.tsx │ │ └── LeaderboardHeader.tsx │ ├── display │ │ ├── MetricSelector.tsx │ │ ├── RuntimeInfo.tsx │ │ ├── PerformanceMetricDisplay.tsx │ │ ├── PerformanceResultsGrid.tsx │ │ ├── SystemInfo.tsx │ │ ├── AcceleratorInfo.tsx │ │ └── ModelInfo.tsx │ ├── cards │ │ ├── compare │ │ │ ├── AcceleratorSelect.tsx │ │ │ ├── useInitialCompareSelection.ts │ │ │ ├── CompareCard.tsx │ │ │ ├── CompareCardComponents.tsx │ │ │ ├── AcceleratorCompareCard.tsx │ │ │ └── ModelCompareCard.tsx │ │ └── LatestRunCard.tsx │ ├── charts │ │ ├── AcceleratorMetricsChart.tsx │ │ ├── ModelMetricsChart.tsx │ │ └── MetricsBarChart.tsx │ └── informational │ │ └── TestDescriptionsTable.tsx ├── db │ ├── index.ts │ ├── schema.sql │ ├── schema.txt │ └── schema.ts ├── styles │ └── globals.css └── middleware.ts ├── .eslintrc.json ├── migrations ├── meta │ └── _journal.json └── 0000_dear_veda.sql ├── next.config.mjs ├── drizzle.config.ts ├── .gitignore ├── tsconfig.json ├── tailwind.config.ts ├── package.json └── README.md /bun.lockb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjpais/LocalScore/HEAD/bun.lockb -------------------------------------------------------------------------------- /db.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjpais/LocalScore/HEAD/db.sqlite -------------------------------------------------------------------------------- /public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjpais/LocalScore/HEAD/public/logo.png -------------------------------------------------------------------------------- /public/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjpais/LocalScore/HEAD/public/banner.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjpais/LocalScore/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/mozilla-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjpais/LocalScore/HEAD/public/mozilla-logo.png -------------------------------------------------------------------------------- /public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjpais/LocalScore/HEAD/public/apple-touch-icon.png -------------------------------------------------------------------------------- /public/cli-screenshot.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjpais/LocalScore/HEAD/public/cli-screenshot.jpeg -------------------------------------------------------------------------------- /public/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjpais/LocalScore/HEAD/public/android-chrome-192x192.png -------------------------------------------------------------------------------- /public/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjpais/LocalScore/HEAD/public/android-chrome-512x512.png -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- 1 | /** @type {import('postcss-load-config').Config} */ 2 | const config = { 3 | plugins: { 4 | tailwindcss: {}, 5 | }, 6 | }; 7 | 8 | export default config; 9 | -------------------------------------------------------------------------------- /src/pages/download/TabStepLabel.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | const TabStepLabel = ({ children }: { children: React.ReactNode }) => { 4 | return
{model.name}
22 |{model.quant}
24 |{acc.name}
24 |{acc.memory_gb}GB
27 |•
28 |{acc.type}
29 |{acc.name}
33 |{acc.memory_gb}GB
34 |{formatted}
46 |{suffix}
47 |{label}
49 |20 | LocalScore is an open benchmark which helps you understand 21 | how well your computer can handle local AI tasks.{" "} 22 |
23 | {/* 24 | Learn more 25 | */} 26 |{title}
; 54 | }; 55 | 56 | export const CompareChartContainer = ({ 57 | children, 58 | }: { 59 | children: ReactNode; 60 | }) => { 61 | return#{result.performance_rank}
*/} 21 | 25 | {result.accelerator.name} 26 | 27 |{name}
35 |{quant}
36 | 37 | ) : ( 38 |{name}
40 |45 | {quant} 46 |
47 |26 | {dayjs.utc(run.created_at).local().format("MM/DD/YYYY - h:mm A")} 27 |
28 |{children}
34 |
70 | 27 | There are two ways to run LocalScore. The easiest way to get started is 28 | to download one of the Official Models. If you have .gguf models already 29 | you run LocalScore with them. 30 |
31 | 32 |
45 | Having issues with the CLI client? Check out the{" "}
46 |
51 | For further documentation on the LocalScore CLI, check out the{" "}
52 |
| 72 | PROMPT TOKENS 73 | | 74 |75 | TEXT GENERATION 76 | | 77 |78 | SAMPLE USE CASES 79 | | 80 |
|---|---|---|
|
86 |
87 | {test.promptProcessing}
88 |
89 | tokens
90 |
91 |
92 | |
93 |
94 |
95 | {test.textGeneration}
96 |
97 | tokens
98 |
99 |
100 | |
101 |
102 | {test.description}
103 | |
104 |
{model.name}
45 |{model.quant}
46 |
8 |
9 |
10 | 
11 | LocalScore is a Mozilla Builders project.
12 |
13 |
{label}
87 | {payload.map((entry, index) => { 88 | // Handle different value types (number or string) 89 | const value = 90 | typeof entry.value === "number" 91 | ? entry.value.toFixed(1) 92 | : entry.value; 93 | 94 | return ( 95 |99 | {`${value} ${MetricUnits[metricKey]}`} 100 |
101 | ); 102 | })} 103 |Search
65 | )} 66 | 67 |