Installation#
Detailed installation instructions for La Perf across different platforms.
System Requirements#
Minimum Requirements#
- Python: 3.12 or higher
- RAM: 8 GB (embeddings), 16 GB (LLM), 18 GB (VLM)
- Disk Space: ~100 GB free for models and datasets
- OS: Linux, macOS, or Windows
Recommended Requirements#
- GPU: NVIDIA (CUDA), AMD (ROCm), or Apple Silicon (MPS)
- RAM: 24 GB+ for comfortable multitasking
- SSD: Fast storage for dataset loading
Installing uv#
La Perf uses uv as its package manager.
Verify installation:
Why uv?
La Perf uses uv for fast, reliable dependency management. It's significantly faster than pip and handles environment isolation automatically.
Installing La Perf#
1. Clone the repository#
2. Install dependencies#
For benchmarking only#
For development#
This installs additional tools:
ruff- Fast Python lintermypy- Type checkerbandit- Security scannerpre-commit- Git hooks
3. Verify installation#
LM Studio Setup#
For LLM/VLM benchmarks, install LM Studio:
1. Download LM Studio#
Visit lmstudio.ai and download for your platform.
2. Load a model#
Best way to find it is using LM Studio UI
Load LLM
Search for gpt-oss-20b in available models
mlx-community/gpt-oss-20b-MXFP4-Q8
lmstudio-community/gpt-oss-20b-GGUF
Load VLM
Search for Qwen3-VL-8B-Instruct in available models
lmstudio-community/Qwen3-VL-8B-Instruct-MLX-4bit
lmstudio-community/Qwen3-VL-8B-Instruct-GGUF-Q4_K_M
3. Start the server#
- Click "Developer" tab
- Click "Start Server"
- Verify it's running on
http://localhost:1234
Ollama Setup#
For LLM/VLM benchmarks, install Ollama:
1. Install Ollama#
2. Pull a model#
Pull LLM
Pull VLMVerifying Your Setup#
Run a quick test to ensure everything works:
Using make
Using uv
This will:
- Auto-detect your hardware (CUDA / MPS / CPU)
- Run all available benchmarks
(all are pre-selected — you can toggle individual ones in the TUI using
Space) - Save the results to
results/report_{your_device}.json
Hardware Detection
La Perf automatically detects your GPU and optimizes accordingly. No manual configuration needed!
Troubleshooting#
uv command not found#
After installing uv, restart your terminal or run:
Python version mismatch#
Ensure you're using Python 3.12+:
CUDA not detected#
- Install NVIDIA drivers
- Install CUDA toolkit
- Restart your system
Next Steps#
- Quick Start Guide - Run your first benchmark
- Requirements - Detailed hardware requirements
- Benchmark Results - View benchmark results and metrics