{"adoption": {"forks": 3744, "observed_at": "2026-08-28T04:11:56.502104+00:00", "stars": 30879}, "canonical_url": "https://ross.abutalabs.com/products/llmc", "card": {"archived": false, "artifact_type": "library", "description": "LLM training in simple, raw C/CUDA", "domain": ["large-language-models", "deep-learning", "machine-learning", "gpu-computing"], "enriched": true, "function": ["llm-training", "deep-learning", "machine-learning", "gpu-computing"], "health_score": 37, "homepage": null, "language": "Cuda", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["karpathy/llm.c"], "name": "karpathy/llm.c", "platform": ["cpp", "c"], "pushed_at": "2025-06-26T17:03:40+00:00", "repo": "karpathy/llm.c", "stars": 30879, "tags": ["cuda", "gpt-2", "gpt-3", "pretraining", "educational", "no-pytorch", "karpathy", "linux", "gpu"], "topics": [], "urls": [], "use_cases": ["train a GPT-2 model from scratch in pure C", "learn how LLM training works at the CUDA level", "pretrain GPT-2/GPT-3 scale models without PyTorch", "study a minimal readable LLM training implementation", "benchmark custom CUDA training against PyTorch", "run LLM pretraining on a single GPU with fp32"], "what_it_is": "llm.c is a pure C/CUDA implementation for training large language models like GPT-2 and GPT-3, with no dependency on PyTorch or Python. It includes a compact ~1,000-line CPU reference implementation and a faster-than-PyTorch CUDA training path.", "when_to_avoid": ["you need a production training framework with broad model support", "you want fine-tuning, RLHF, or inference features out of the box", "you don't have NVIDIA GPUs and need multi-backend support", "you prefer Python ecosystem tooling and integrations"], "when_to_choose": ["you want to understand or modify every detail of LLM training in C/CUDA", "you need a lightweight training stack without PyTorch's overhead", "you're reproducing GPT-2/GPT-3 pretraining on NVIDIA GPUs", "you're learning CUDA through a real, high-performance codebase"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/llmc", "repo": "karpathy/llm.c", "role": "main", "score": 37}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:11:56.502104+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T16:52:36.136171+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c6ba00b6e2cfdd3f91a2c7b3a2bbcc005f76c21e1c2b1edb820fa201a721641b", "fetched_at": "2026-08-28T04:11:56.502104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/llm.c"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:11:56.502104+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T16:52:36.136171+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c6ba00b6e2cfdd3f91a2c7b3a2bbcc005f76c21e1c2b1edb820fa201a721641b", "fetched_at": "2026-08-28T04:11:56.502104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/llm.c"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T16:52:36.136171+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c6ba00b6e2cfdd3f91a2c7b3a2bbcc005f76c21e1c2b1edb820fa201a721641b", "fetched_at": "2026-08-28T04:11:56.502104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/llm.c"}], "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:56.502104+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:11:56.502104+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:11:56.502104+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T16:52:36.136171+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c6ba00b6e2cfdd3f91a2c7b3a2bbcc005f76c21e1c2b1edb820fa201a721641b", "fetched_at": "2026-08-28T04:11:56.502104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/llm.c"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:11:56.502104+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:11:56.502104+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T16:52:36.136171+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c6ba00b6e2cfdd3f91a2c7b3a2bbcc005f76c21e1c2b1edb820fa201a721641b", "fetched_at": "2026-08-28T04:11:56.502104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/llm.c"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:11:56.502104+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:11:56.502104+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:11:56.502104+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T16:52:36.136171+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c6ba00b6e2cfdd3f91a2c7b3a2bbcc005f76c21e1c2b1edb820fa201a721641b", "fetched_at": "2026-08-28T04:11:56.502104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/llm.c"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:11:56.502104+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:11:56.502104+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T16:52:36.136171+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c6ba00b6e2cfdd3f91a2c7b3a2bbcc005f76c21e1c2b1edb820fa201a721641b", "fetched_at": "2026-08-28T04:11:56.502104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/llm.c"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T16:52:36.136171+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c6ba00b6e2cfdd3f91a2c7b3a2bbcc005f76c21e1c2b1edb820fa201a721641b", "fetched_at": "2026-08-28T04:11:56.502104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/llm.c"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T16:52:36.136171+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c6ba00b6e2cfdd3f91a2c7b3a2bbcc005f76c21e1c2b1edb820fa201a721641b", "fetched_at": "2026-08-28T04:11:56.502104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/llm.c"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T16:52:36.136171+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c6ba00b6e2cfdd3f91a2c7b3a2bbcc005f76c21e1c2b1edb820fa201a721641b", "fetched_at": "2026-08-28T04:11:56.502104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/karpathy/llm.c"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 28, "longevity": 62, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 877, "days_push": 433, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 37, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}