RepositoryPythonUSUnited States
Lightning-AI

Lightning-AI/litgpt

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

13.8kstars
1.6kforks
267issues
11views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

5
TINIX TRENDING·Chủ đề: large-language-models

#5 Repository Của Tuần

6
TINIX TRENDING·Chủ đề: llm-inference

#6 Repository Của Tuần

8
TINIX TRENDING·Chủ đề: artificial-intelligence

#8 Repository Của Tuần

⚡ LitGPT - 20+ LLM từ zero, tối ưu cho pretrain, finetune và deploy

LitGPT cung cấp 20+ mô hình LLM được cài đặt từ đầu, không abstraction layer, hỗ trợ Flash attention, FSDP, LoRA/QLoRA, quantization, chạy trên 1-1000+ GPU/TPU.

LitGPT là một thư viện Python mã nguồn mở (Apache 2.0) từ Lightning AI, cài đặt lại hơn 20 mô hình LLM lớn từ đầu với kiến trúc tối giản, trực tiếp, không qua lớp trừu tượng nào. Dự án hướng tới việc cung cấp các công thức (recipes) tối ưu để pretrain, finetune và triển khai mô hình ở quy mô doanh nghiệp, đồng thời hỗ trợ inference nhanh và tiết kiệm bộ nhớ GPU.

✨ Điểm nổi bật

  • Cài đặt từ đầu (no abstractions): Mỗi mô hình được viết trong một tệp duy nhất, dễ gỡ lỗi, kiểm soát hoàn toàn.
  • Flash attention & FSDP: Tối ưu tốc độ attention và hỗ trợ phân phối mô hình trên nhiều GPU/TPU.
  • LoRA, QLoRA, Adapter: Hỗ trợ fine-tuning hiệu quả với bộ nhớ thấp.
  • Quantization (fp4/8/16/32): Giảm tiêu thụ bộ nhớ GPU, chạy trên GPU thấp cấu hình.
  • 20+ mô hình hỗ trợ: Bao gồm Llama 3, Code Llama, Gemma 2, Phi 4, Qwen2.5, DeepSeek R1...
  • Triển khai nhanh: Dùng API đơn giản LLM.load() và llm.generate() để inference ngay.
  • Công thức YAML (recipes): Cấu hình pretrain/finetune bằng YAML, dễ tù biến và tái sử dụng.
  • Apache 2.0: Miễn phí cho mọi mục đích, bao gồm cả sử dụng thương mại.

💡 Vì sao đáng chú ý

LitGPT khác biệt bởi cách tiếp cận "từ đầu, không abstraction" — thay vì dựa trên các framework nặặc, mỗi mô hình được cài đặt trực tiếp trong một tệp Python, giúp dễ dàng gỡ lỗi và tối ưu hiệu năng. Kết hợp Flash attention, FSDP và quantization, thư viện giảm đáng kể bộ nhớ GPU nhưng vẫn duy trì tốc độ inference cao, phù hợp cho cả môi trường cá nhân lẫn quy mô doanh nghiệp lớn.


#LLM #MachineLearning #OpenSource #AI #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryJupyter Notebook
rasbt/LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

109.4k
Nov 26, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026
RepositoryPython
rohitg00/ai-engineering-from-scratch

Learn AI Engineering! Learn it. Build it. Ship it for others.

81.4k
Nov 30, 2026
RepositoryMDX
f/prompts.chat

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

179.0k
Dec 1, 2026
RepositoryPython
AUTOMATIC1111/stable-diffusion-webui

Stable Diffusion web UI

165.4k
Mar 2, 2026
RepositorySvelte
open-webui/open-webui

User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

160.1k
Dec 2, 2026
RepositoryTypeScript
firecrawl/firecrawl

Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else.

215.1k
Dec 2, 2026
RepositoryPython
NousResearch/hermes-agent

The agent that grows with you

267.7k
Dec 2, 2026
RepositoryJupyter Notebook
microsoft/AI-For-Beginners

12 Weeks, 24 Lessons, AI for All!

71.5k
Nov 15, 2026