LogoAISecKit
icon of LitGPT

LitGPT

20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.

Introduction

LitGPT

LitGPT is a comprehensive library providing 20+ high-performance LLMs with recipes to pretrain, finetune, and deploy them at scale.

Key Features:
  • High-Performance: Implements LLMs from scratch with no abstraction, ensuring maximum speed and efficiency.
  • Enterprise Ready: Supports single GPU and large-scale deployments (1-1000+ GPUs).
  • Customizable Workflows: Options to finetune, pretrain, evaluate, and deploy models with easy command-line interfaces.
  • Optimized Training Recipes: Includes validated YAML configurations for efficient training under various conditions.
  • Lightweight Design: Low-memory GPU operations and support for mixed precision training (fp4/8/16/32).
Benefits:
  • Developer Friendly: Easy debugging and customization with single-file implementations.
  • Cost-Effective Performance: Optimized for production use to minimize operational costs.
  • Inclusive Community: Welcomes contributions from all levels of experience and encourages collaboration.
Project Highlights:
  • Used in advanced AI projects and competitions, including NeurIPS 2023 LLM Efficiency Challenge.
  • Powers various initiatives from Microsoft and supports numerous research papers in the AI domain.
Getting Started:

You can install LitGPT with pip install 'litgpt[all]' and explore its full API for LLM manipulation and deployment.

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates