GPU Setup
ForgeAI uses GPU acceleration for inference (Test module), fine-tuning (Training module), and model conversion (Convert module).Auto-Detection
Go to Settings (07) to see your detected hardware:llama.cpp Variants
For GGUF inference and quantization, install the appropriate llama.cpp variant:- CUDA (NVIDIA)
- Vulkan (Cross-platform)
- CPU
Fastest option for NVIDIA GPUs.Requirements:
- NVIDIA GPU (GTX 1060+ / RTX series)
- NVIDIA drivers 515+
Python Environments (Training & Convert)
ForgeAI manages two separate Python virtual environments, each with GPU-aware PyTorch:Training Environment
Used by the Training module for LoRA, QLoRA, SFT, DPO, and full fine-tuning:- NVIDIA GPU detected: PyTorch is installed with CUDA support automatically during setup
- No GPU: CPU-only PyTorch (training will be slow)
- Includes:
transformers,peft,trl,bitsandbytes,datasets
Convert Environment
Used by the Convert module for SafeTensors-to-GGUF conversion and by Test for SafeTensors inference:- NVIDIA GPU detected: PyTorch is installed with CUDA support automatically during setup
- No GPU: CPU-only PyTorch is installed
- OOM fallback: If the model doesn’t fit in GPU VRAM, ForgeAI automatically falls back to CPU inference
Both environments can be managed (viewed, cleaned, deleted) in Settings.