{"adoption": {"forks": 1488, "observed_at": "2026-08-28T04:11:04.432841+00:00", "stars": 13629}, "canonical_url": "https://ross.abutalabs.com/products/litgpt", "card": {"archived": false, "artifact_type": "library", "description": "20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.", "domain": ["large-language-models", "deep-learning", "machine-learning", "artificial-intelligence"], "enriched": true, "function": ["llm-training", "llm-inference", "machine-learning", "deep-learning", "cli"], "health_score": 98, "homepage": "https://lightning.ai", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["Lightning-AI/litgpt"], "name": "Lightning-AI/litgpt", "platform": ["python", "cli", "cross-platform"], "pushed_at": "2026-08-17T10:24:35+00:00", "repo": "Lightning-AI/litgpt", "stars": 13629, "tags": ["pytorch", "finetuning", "pretraining", "lora", "flash-attention", "fsdp", "model-deployment", "open-source-llms", "gpu"], "topics": ["ai", "artificial-intelligence", "deep-learning", "large-language-models", "llm", "llm-inference", "llms"], "urls": [], "use_cases": ["finetune an open-source LLM with LoRA or QLoRA", "pretrain a large language model from scratch on multiple GPUs", "run fast LLM inference locally", "deploy a finetuned LLM as an API", "reduce GPU memory usage with quantization", "read clean from-scratch transformer implementations for learning", "scale LLM training across hundreds of GPUs"], "what_it_is": "LitGPT is a Python library providing from-scratch, hackable implementations of 20+ open-source large language models with recipes for pretraining, finetuning (LoRA, QLoRA, adapters), and deployment at scale. It supports distributed training on 1-1000+ GPUs/TPUs with features like Flash attention, FSDP, and fp4/8/16/32 quantization.", "when_to_avoid": ["you just want a plug-and-play inference server with the widest model coverage", "you need a high-level API with minimal configuration", "you are not working with PyTorch or GPUs"], "when_to_choose": ["you want full control and readable, abstraction-free LLM code", "you need to pretrain or finetune LLMs at scale with FSDP", "you want Apache-2.0 licensed enterprise-ready LLM tooling", "you want to experiment with many open LLM architectures in one library"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/litgpt", "repo": "Lightning-AI/litgpt", "role": "main", "score": 93}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:11:04.432841+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.190799+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bbd861fefbdbb7ab6c1a9ffb6f589ad2eef2c19d31e0807bbcd8d5212bdc0d7", "fetched_at": "2026-08-28T04:11:04.432841+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Lightning-AI/litgpt"}, {"content_hash": "21f0a0890a808be5f26e6ca8052778349129acde4177a766d639f1b1372bcc83", "fetched_at": "2026-08-29T08:07:41.242019+00:00", "kind": "homepage", "missing": false, "url": "https://lightning.ai"}, {"content_hash": "501fc1ce43d1daf1298b278b840f933b43d5c2e1c46568d9e3e7cb2fd39eb76c", "fetched_at": "2026-08-29T08:07:41.251784+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/litgpt/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:11:04.432841+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.190799+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bbd861fefbdbb7ab6c1a9ffb6f589ad2eef2c19d31e0807bbcd8d5212bdc0d7", "fetched_at": "2026-08-28T04:11:04.432841+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Lightning-AI/litgpt"}, {"content_hash": "21f0a0890a808be5f26e6ca8052778349129acde4177a766d639f1b1372bcc83", "fetched_at": "2026-08-29T08:07:41.242019+00:00", "kind": "homepage", "missing": false, "url": "https://lightning.ai"}, {"content_hash": "501fc1ce43d1daf1298b278b840f933b43d5c2e1c46568d9e3e7cb2fd39eb76c", "fetched_at": "2026-08-29T08:07:41.251784+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/litgpt/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.190799+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bbd861fefbdbb7ab6c1a9ffb6f589ad2eef2c19d31e0807bbcd8d5212bdc0d7", "fetched_at": "2026-08-28T04:11:04.432841+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Lightning-AI/litgpt"}, {"content_hash": "21f0a0890a808be5f26e6ca8052778349129acde4177a766d639f1b1372bcc83", "fetched_at": "2026-08-29T08:07:41.242019+00:00", "kind": "homepage", "missing": false, "url": "https://lightning.ai"}, {"content_hash": "501fc1ce43d1daf1298b278b840f933b43d5c2e1c46568d9e3e7cb2fd39eb76c", "fetched_at": "2026-08-29T08:07:41.251784+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/litgpt/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:11:04.432841+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:11:04.432841+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:11:04.432841+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.190799+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bbd861fefbdbb7ab6c1a9ffb6f589ad2eef2c19d31e0807bbcd8d5212bdc0d7", "fetched_at": "2026-08-28T04:11:04.432841+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Lightning-AI/litgpt"}, {"content_hash": "21f0a0890a808be5f26e6ca8052778349129acde4177a766d639f1b1372bcc83", "fetched_at": "2026-08-29T08:07:41.242019+00:00", "kind": "homepage", "missing": false, "url": "https://lightning.ai"}, {"content_hash": "501fc1ce43d1daf1298b278b840f933b43d5c2e1c46568d9e3e7cb2fd39eb76c", "fetched_at": "2026-08-29T08:07:41.251784+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/litgpt/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:11:04.432841+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:11:04.432841+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.190799+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bbd861fefbdbb7ab6c1a9ffb6f589ad2eef2c19d31e0807bbcd8d5212bdc0d7", "fetched_at": "2026-08-28T04:11:04.432841+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Lightning-AI/litgpt"}, {"content_hash": "21f0a0890a808be5f26e6ca8052778349129acde4177a766d639f1b1372bcc83", "fetched_at": "2026-08-29T08:07:41.242019+00:00", "kind": "homepage", "missing": false, "url": "https://lightning.ai"}, {"content_hash": "501fc1ce43d1daf1298b278b840f933b43d5c2e1c46568d9e3e7cb2fd39eb76c", "fetched_at": "2026-08-29T08:07:41.251784+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/litgpt/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:11:04.432841+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:11:04.432841+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:11:04.432841+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.190799+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bbd861fefbdbb7ab6c1a9ffb6f589ad2eef2c19d31e0807bbcd8d5212bdc0d7", "fetched_at": "2026-08-28T04:11:04.432841+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Lightning-AI/litgpt"}, {"content_hash": "21f0a0890a808be5f26e6ca8052778349129acde4177a766d639f1b1372bcc83", "fetched_at": "2026-08-29T08:07:41.242019+00:00", "kind": "homepage", "missing": false, "url": "https://lightning.ai"}, {"content_hash": "501fc1ce43d1daf1298b278b840f933b43d5c2e1c46568d9e3e7cb2fd39eb76c", "fetched_at": "2026-08-29T08:07:41.251784+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/litgpt/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:11:04.432841+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:11:04.432841+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.190799+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bbd861fefbdbb7ab6c1a9ffb6f589ad2eef2c19d31e0807bbcd8d5212bdc0d7", "fetched_at": "2026-08-28T04:11:04.432841+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Lightning-AI/litgpt"}, {"content_hash": "21f0a0890a808be5f26e6ca8052778349129acde4177a766d639f1b1372bcc83", "fetched_at": "2026-08-29T08:07:41.242019+00:00", "kind": "homepage", "missing": false, "url": "https://lightning.ai"}, {"content_hash": "501fc1ce43d1daf1298b278b840f933b43d5c2e1c46568d9e3e7cb2fd39eb76c", "fetched_at": "2026-08-29T08:07:41.251784+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/litgpt/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.190799+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bbd861fefbdbb7ab6c1a9ffb6f589ad2eef2c19d31e0807bbcd8d5212bdc0d7", "fetched_at": "2026-08-28T04:11:04.432841+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Lightning-AI/litgpt"}, {"content_hash": "21f0a0890a808be5f26e6ca8052778349129acde4177a766d639f1b1372bcc83", "fetched_at": "2026-08-29T08:07:41.242019+00:00", "kind": "homepage", "missing": false, "url": "https://lightning.ai"}, {"content_hash": "501fc1ce43d1daf1298b278b840f933b43d5c2e1c46568d9e3e7cb2fd39eb76c", "fetched_at": "2026-08-29T08:07:41.251784+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/litgpt/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.190799+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bbd861fefbdbb7ab6c1a9ffb6f589ad2eef2c19d31e0807bbcd8d5212bdc0d7", "fetched_at": "2026-08-28T04:11:04.432841+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Lightning-AI/litgpt"}, {"content_hash": "21f0a0890a808be5f26e6ca8052778349129acde4177a766d639f1b1372bcc83", "fetched_at": "2026-08-29T08:07:41.242019+00:00", "kind": "homepage", "missing": false, "url": "https://lightning.ai"}, {"content_hash": "501fc1ce43d1daf1298b278b840f933b43d5c2e1c46568d9e3e7cb2fd39eb76c", "fetched_at": "2026-08-29T08:07:41.251784+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/litgpt/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:13:09.190799+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bbd861fefbdbb7ab6c1a9ffb6f589ad2eef2c19d31e0807bbcd8d5212bdc0d7", "fetched_at": "2026-08-28T04:11:04.432841+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Lightning-AI/litgpt"}, {"content_hash": "21f0a0890a808be5f26e6ca8052778349129acde4177a766d639f1b1372bcc83", "fetched_at": "2026-08-29T08:07:41.242019+00:00", "kind": "homepage", "missing": false, "url": "https://lightning.ai"}, {"content_hash": "501fc1ce43d1daf1298b278b840f933b43d5c2e1c46568d9e3e7cb2fd39eb76c", "fetched_at": "2026-08-29T08:07:41.251784+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/litgpt/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 86, "rhythm": 90}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1217, "days_push": 16, "days_rel": 65, "gap_med": 16, "n_releases_24m": 16}, "score": 93, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}