LitGPT

Lightning AI library of 20+ from-scratch LLM implementations with recipes to pretrain, fine-tune, and deploy.

Open SourceSelf HostedOffline CapableGPU Required
0.0 (0)

About

Recipes rather than abstractions drive LitGPT, the Lightning AI library that reimplements more than 20 language models from scratch, including Llama 3, Qwen 2.5, Phi 4, Gemma 2, Mistral, Falcon 3, and Code Llama, each kept readable with no abstraction layers on top of PyTorch. The command line covers the full lifecycle, litgpt pretrain, finetune, evaluate, and serve, with parameter-efficient LoRA, QLoRA, and Adapter methods alongside full fine-tuning, 4-bit and 8-bit quantization, Flash Attention 2, and multi-GPU scaling through FSDP. Configs ship as validated YAML files with tested hyperparameters, so a fine-tune can start with a single command after pip install litgpt[extra]. Serious training needs an NVIDIA GPU, while quantized runs of small models fit on modest hardware. Everything is Apache-2.0 licensed, and the project has about 13,600 GitHub stars. Several open pretraining efforts have used it as their base implementation, and it comes from the team that maintains PyTorch Lightning, which shows in the emphasis on reproducible, debuggable single-file model code.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Easy (2/5)
License
Apache-2.0
Added
Jul 29, 2026

Related Tools

Framework for generating synthetic data and AI feedback through composable LLM pipelines.

Open SourceSelf HostedOffline
Intermediate
0.0 (0)

Subject-driven fine-tuning technique for personalizing diffusion models.

Open SourceSelf HostedOfflineGPU 8GB+
Intermediate
0.0 (0)

Video model fine-tuning toolkit by Hugging Face Diffusers team.

Open SourceSelf HostedOfflineGPU 16GB+
Advanced
0.0 (0)

Efficient LLM quantization preserving important weight channels.

Open SourceSelf HostedOfflineGPU 8GB+
Intermediate
0.0 (0)

All-in-one Stable Diffusion fine-tuning tool with intuitive GUI.

Open SourceSelf HostedOfflineGPU 8GB+
Easy
0.0 (0)

No-code tool by Hugging Face for training ML models automatically.

Open SourceSelf HostedOfflineGPU 8GB+
Beginner
0.0 (0)
Browse all Model Training & Fine-Tuning tools