cjpais/LocalScore là dự án TypeScript với 121 sao. LocalScore is an open benchmark which helps you understand how well your computer can handle local AI tasks.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
LocalScore is an open-source benchmarking tool and public database for measuring how fast Large Language Models (LLMs) run on your specific hardware.
Check out localscore.ai to explore benchmark results.
LocalScore is a Mozilla Builders project.
About
LocalScore helps answer questions like:
Can my computer run an 8 billion parameter LLM?
Which GPU should I buy for my local AI setup?
How does my current hardware stack up against others?
It measures three key performance metrics:
Prompt Processing Speed: How quickly your system processes input text (tokens per second)
Generation Speed: How fast your system generates new text (tokens per second)
Time to First Token: The latency before the response begins to appear (milliseconds)
These metrics are combined into a LocalScore, making it easy to compare different hardware configurations. A score of 1,000 is excellent, 250 is passable, and below 100 will likely be a poor user experience or have significant tradeoffs.
LocalScore leverages Llamafile to ensure portability and acceleration across different systems.
Supported Hardware
CPUs (various architectures)
NVIDIA GPUs
AMD GPUs
Apple Silicon (M series)
Currently supports single-GPU setups, which represents the most practical approach for most users running LLMs locally.
Database Submissions
LocalScore maintains a public database of benchmark results. Currently, submissions are accepted from:
The official LocalScore CLI client
We welcome contributions from other clients in the future. If you're developing a client that would like to submit to the LocalScore database, please ensure it conforms to the submission specification defined in src/pages/api/results. Please reach out to [email protected] for the inclusion of your client.
The submission API expects properly formatted benchmark data including hardware details, model information, and performance metrics. Reviewing the existing implementation will provide the best guidance on the expected format.
Stack
This is a Next.js Pages Router application. It uses SQLite (via libSQL) for the database and Drizzle ORM for database interactions. The repo ships with an example SQLite database which can be used for development and testing.
Prerequisites
Bun / Node.js
Local Development Setup
Install Bun (or the Node.js runtime of your choice) if you haven't already:
curl -fsSL https://bun.sh/install | bash
After installation, you may need to add Bun to your PATH. Follow the instructions displayed after installation.
Open your browser and navigate to http://localhost:3000
Database Setup
An example SQLite database is included in the repository, so there's no need to set up a database for local development.
However if you wish to use a remote (libSQL) database. Configure the following .env vars. Currently Turso is used in production, but other libSQL remote databases can be used.
TURSO_DATABASE_URL=
TURSO_AUTH_TOKEN=
Contributing
Contributions are welcome! Here's how you can help:
Code Style: Follow the existing code style and use TypeScript
Documentation: Update documentation for any changes you make
Pull Requests: Keep PRs focused on a single feature or bug fix
Issues: Check existing issues before opening a new one
Future Work
We are thinking of some features to add in the future:
API Endpoints: Add public API endpoints for querying the database. If you have ideas for what you would build and what you would want/need, please let us know.
Multi-GPU Support: Add support for multi-GPU setups.
Upstreaming to llama.cpp: If the changes are welcome, we would love to upstream the LocalScore CLI client to llama.cpp.
If you have any ideas for features or improvements, please open an issue or submit a pull request.
Feedback
We would love to hear your feedback! Please open an Issue/Disccusion or reach out to [email protected] with any suggestions, questions, or comments.
Acknowledgements
LocalScore was created with support from Mozilla Builders as a resource for the AI community. It builds upon the excellent work of llama.cpp and Llamafile.
📄 License
This project is licensed under the Apache 2.0 License.
cjpais/LocalScore có 121 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/cjpais/LocalScore. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
cjpais/LocalScore có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho cjpais/LocalScore. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
cjpais/LocalScore còn đang phát triển không?
Commit gần nhất trên cjpais/LocalScore là 18 ngày trước (theo timestamp GitHub). Repo có 14 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
cjpais/LocalScore là gì?
cjpais/LocalScore (cjpais/LocalScore) là dự án TypeScript trên GitHub. Theo mô tả gốc: LocalScore is an open benchmark which helps you understand how well your computer can handle local AI tasks.
cjpais/LocalScore viết bằng ngôn ngữ gì?
cjpais/LocalScore chủ yếu viết bằng TypeScript. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về LocalScore?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về LocalScore.