Installation¶
From PyPI¶
With Optional Dependencies¶
# Development tools (pytest, ruff, mypy)
pip install model-garage[dev]
# TUI dashboard (Textual)
pip install model-garage[dashboard]
# Everything
pip install model-garage[all]
From Source¶
Requirements¶
- Python 3.10+
- PyTorch 2.0+
- Transformers 4.30+
GPU Optional
Model Garage works on CPU for small models (GPT-2, DistilBERT). For larger models (Llama, Phi-4), a CUDA-capable GPU is recommended.
Verify Installation¶
Or from Python:
Next Steps¶
- Follow the Quick Start to perform your first model surgery
- Read about core concepts behind Model Garage