프로젝트
GitHub에서 보기
alexziskind1/llm-inference-calculator
소개
A web-based calculator to estimate hardware requirements for running Large Language Models (LLMs) in inference mode. This tool helps you determine the VRAM and system RAM needed for running different LLM configurations.
AI 및 머신러닝What you can do
- Model size (number of parameters)
- Quantization method (FP32/FP16/INT8/INT4/etc.)
- KV cache settings
- Support for both discrete GPUs and unified memory systems
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +4
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalLLM Inference Hardware Calculator
A web-based calculator to estimate hardware requirements for running Large Language Models (LLMs) in inference mode. This tool helps you determine the VRAM and system RAM needed for running different LLM configurations.
Features
- Calculate VRAM requirements based on:
- Model size (number of parameters)
- Quantization method (FP32/FP16/INT8/INT4/etc.)
- Context length
- KV cache settings
- Support for both discrete GPUs and unified memory systems
- Estimates for:
- Required VRAM
- Minimum system RAM
- On-disk model size
- Number of GPUs needed
Development
This project uses React + TypeScript + Vite.
# Install dependencies
npm install
# Run development server
npm run dev
# Build for production
npm run build
Docker
- to use Docker and docker compose first create a
.envfile based on the .env.example and set a PORT that should be exposed - then run
docker compose up -d --buildto run the app
Technical Notes
- Calculations are approximations and may vary based on specific implementations
- VRAM estimates include overhead for KV cache when enabled
- Unified memory calculations assume up to 75% of system RAM can be used as VRAM
- Discrete GPU calculations assume 24GB VRAM cards (like RTX 3090/4090)
License
MIT
관련 프로젝트 살펴보기
불러오는 중…