Lightning-AI/lit-llama
Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Adapter fine-tuning, pre-training. Apache 2.0-licensed. observed · 2026-08-28
Health v2 · maintenance only
43/100
- Activity 29
- Release rhythm 35
- Longevity 90
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1260
- days_rel: n/a
- days_push: 428
- n_releases_24m: 0
Adoption not part of the score
6085 stars · 517 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Lit-LLaMA is an independent, Apache 2.0-licensed implementation of the LLaMA language model built on nanoGPT, covering pre-training, fine-tuning (LoRA, LLaMA-Adapter), and inference with quantization support. The repository is no longer actively maintained and its successor is LitGPT.
Use cases
- pretrain a llama-style language model from scratch
- fine-tune llama with lora on consumer hardware
- run llama inference with 4-bit quantization
- open-source licensed llama implementation without gpl restrictions
- convert and evaluate llama checkpoints
- fine-tune llama with llama-adapter
When to choose
- you need a permissively licensed (Apache 2.0) LLaMA implementation for research or study
- you want a simple single-file model implementation to read and modify
- you need Int8 or GPTQ 4-bit quantized inference of LLaMA weights
When to avoid
- you want active maintenance, bug fixes, or support for LLaMA 2 and newer checkpoints - use LitGPT instead
- you need production-grade serving infrastructure rather than research code
- you require the latest optimizations or new model architectures
Facets
library · maturity abandoned
llm-training llm-inference machine-learning deep-learning large-language-models deep-learning machine-learning artificial-intelligence python windows llama nanogpt lora quantization fine-tuning apache-2.0 deprecated litgpt-successor gpu linux macos
1 source
- readme: https://github.com/Lightning-AI/lit-llama · fetched 2026-08-28 · 19257ea0b710
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Lightning-AI/lit-llama | main | 43 |
For agents
markdown · JSON · MCP: product_card(name="Lightning-AI/lit-llama")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem