Installation¶
This guide will help you install LLMBuilder and set up your environment.
System Requirements¶
Minimum Requirements¶
- Python: 3.8 or higher
- RAM: 4GB (8GB+ recommended)
- Storage: 2GB free space
- OS: Windows, macOS, or Linux
Installation¶
Simple Installation¶
The easiest way to install LLMBuilder is via PyPI:
Verify Installation¶
Test your installation by running:
# Check if LLMBuilder is installed
python -c "import llmbuilder; print(f'LLMBuilder {llmbuilder.__version__} installed successfully!')"
# Test the CLI
llmbuilder --version
You should see output showing the version number.
Optional Dependencies¶
For GPU Training¶
If you have an NVIDIA GPU:
# Install CUDA-enabled PyTorch
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
For Document Processing¶
For processing PDF, DOCX, and other document formats:
Environment Setup¶
Virtual Environment (Recommended)¶
Create a dedicated virtual environment:
# Create virtual environment
python -m venv llmbuilder-env
# Activate it
# On Windows:
llmbuilder-env\Scripts\activate
# On macOS/Linux:
source llmbuilder-env/bin/activate
# Install LLMBuilder
pip install llmbuilder
Troubleshooting¶
Common Issues¶
ImportError: No module named 'torch'¶
Solution: Install PyTorch first:
Permission denied errors¶
Solution: Use --user flag or virtual environment:
Next Steps¶
Once you have LLMBuilder installed:
- Quick Start - Train your first model
- User Guide - Learn about features
For the best experience, we recommend using a virtual environment.