{"adoption": {"forks": 586, "observed_at": "2026-08-28T04:09:45.498985+00:00", "stars": 6588}, "canonical_url": "https://ross.abutalabs.com/products/liger-kernel", "card": {"archived": false, "artifact_type": "library", "description": "Efficient Triton Kernels for LLM Training", "domain": ["large-language-models", "machine-learning", "gpu-computing", "deep-learning"], "enriched": true, "function": ["llm-training", "gpu-computing", "machine-learning", "deep-learning"], "health_score": 100, "homepage": "https://linkedin.github.io/Liger-Kernel/", "language": "Python", "license": "BSD-2-Clause", "license_family": "permissive", "maturity": "active", "member_repos": ["linkedin/Liger-Kernel"], "name": "linkedin/Liger-Kernel", "platform": ["python"], "pushed_at": "2026-08-26T21:48:55+00:00", "repo": "linkedin/Liger-Kernel", "stars": 6588, "tags": ["triton-kernels", "finetuning", "memory-optimization", "huggingface", "fused-kernels", "post-training", "flash-attention", "gpu", "linux"], "topics": ["llm-training", "triton", "finetuning", "gemma2", "llama", "llama3", "llms", "mistral", "phi3", "triton-kernels", "hacktoberfest"], "urls": [], "use_cases": ["speed up multi-GPU LLM fine-tuning throughput", "reduce GPU memory usage when training large language models", "train LLaMA or Mistral models with longer context lengths without OOM", "optimize post-training alignment losses like DPO and ORPO", "patch Hugging Face models with efficient fused kernels", "enable larger batch sizes and massive vocabularies during training"], "what_it_is": "Liger Kernel is a collection of Triton kernels designed to make LLM training faster and more memory-efficient, offering drop-in replacements for layers like RMSNorm, RoPE, SwiGLU, and fused cross-entropy. It patches Hugging Face models with one line of code, boosting multi-GPU training throughput by ~20% and cutting memory usage by up to 60%, with additional kernels for post-training losses like DPO and ORPO.", "when_to_avoid": ["you are not training or fine-tuning LLMs (e.g., inference-only or non-transformer workloads)", "your model architecture is not yet supported by Liger's kernel set", "you need a pure PyTorch implementation without Triton or GPU dependencies", "you are training on CPUs or non-GPU hardware"], "when_to_choose": ["you are fine-tuning supported LLMs (LLaMA, Mistral, Gemma, Phi) on NVIDIA or AMD GPUs", "you hit OOM errors during training and need memory savings without changing model behavior", "you use PyTorch FSDP, DeepSpeed, or Flash Attention and want compatible kernel optimizations", "you need memory-efficient post-training losses for alignment or distillation"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/liger-kernel", "repo": "linkedin/Liger-Kernel", "role": "main", "score": 90}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.498985+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:43:34.671923+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3658ddb98e17da93c452d7775c775aaecfbde11ed902b1dd51c2e2be3167e82", "fetched_at": "2026-08-28T04:09:45.498985+00:00", "kind": "readme", "missing": false, "url": "https://github.com/linkedin/Liger-Kernel"}, {"content_hash": "d0a274af7a8bbbc13af1e42e6db717808e28584f100b2f9718b4f30061bf4851", "fetched_at": "2026-08-29T08:39:58.201571+00:00", "kind": "homepage", "missing": false, "url": "https://linkedin.github.io/Liger-Kernel/"}, {"content_hash": "8eec8580116da895cdb92b92ca37f302b305456954d4368e5870ad24b0fc228b", "fetched_at": "2026-08-29T08:39:58.211166+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/liger-kernel/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.498985+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:43:34.671923+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3658ddb98e17da93c452d7775c775aaecfbde11ed902b1dd51c2e2be3167e82", "fetched_at": "2026-08-28T04:09:45.498985+00:00", "kind": "readme", "missing": false, "url": "https://github.com/linkedin/Liger-Kernel"}, {"content_hash": "d0a274af7a8bbbc13af1e42e6db717808e28584f100b2f9718b4f30061bf4851", "fetched_at": "2026-08-29T08:39:58.201571+00:00", "kind": "homepage", "missing": false, "url": "https://linkedin.github.io/Liger-Kernel/"}, {"content_hash": "8eec8580116da895cdb92b92ca37f302b305456954d4368e5870ad24b0fc228b", "fetched_at": "2026-08-29T08:39:58.211166+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/liger-kernel/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:43:34.671923+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3658ddb98e17da93c452d7775c775aaecfbde11ed902b1dd51c2e2be3167e82", "fetched_at": "2026-08-28T04:09:45.498985+00:00", "kind": "readme", "missing": false, "url": "https://github.com/linkedin/Liger-Kernel"}, {"content_hash": "d0a274af7a8bbbc13af1e42e6db717808e28584f100b2f9718b4f30061bf4851", "fetched_at": "2026-08-29T08:39:58.201571+00:00", "kind": "homepage", "missing": false, "url": "https://linkedin.github.io/Liger-Kernel/"}, {"content_hash": "8eec8580116da895cdb92b92ca37f302b305456954d4368e5870ad24b0fc228b", "fetched_at": "2026-08-29T08:39:58.211166+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/liger-kernel/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:09:45.498985+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.498985+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.498985+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:43:34.671923+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3658ddb98e17da93c452d7775c775aaecfbde11ed902b1dd51c2e2be3167e82", "fetched_at": "2026-08-28T04:09:45.498985+00:00", "kind": "readme", "missing": false, "url": "https://github.com/linkedin/Liger-Kernel"}, {"content_hash": "d0a274af7a8bbbc13af1e42e6db717808e28584f100b2f9718b4f30061bf4851", "fetched_at": "2026-08-29T08:39:58.201571+00:00", "kind": "homepage", "missing": false, "url": "https://linkedin.github.io/Liger-Kernel/"}, {"content_hash": "8eec8580116da895cdb92b92ca37f302b305456954d4368e5870ad24b0fc228b", "fetched_at": "2026-08-29T08:39:58.211166+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/liger-kernel/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.498985+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.498985+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:43:34.671923+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3658ddb98e17da93c452d7775c775aaecfbde11ed902b1dd51c2e2be3167e82", "fetched_at": "2026-08-28T04:09:45.498985+00:00", "kind": "readme", "missing": false, "url": "https://github.com/linkedin/Liger-Kernel"}, {"content_hash": "d0a274af7a8bbbc13af1e42e6db717808e28584f100b2f9718b4f30061bf4851", "fetched_at": "2026-08-29T08:39:58.201571+00:00", "kind": "homepage", "missing": false, "url": "https://linkedin.github.io/Liger-Kernel/"}, {"content_hash": "8eec8580116da895cdb92b92ca37f302b305456954d4368e5870ad24b0fc228b", "fetched_at": "2026-08-29T08:39:58.211166+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/liger-kernel/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.498985+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.498985+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.498985+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:43:34.671923+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3658ddb98e17da93c452d7775c775aaecfbde11ed902b1dd51c2e2be3167e82", "fetched_at": "2026-08-28T04:09:45.498985+00:00", "kind": "readme", "missing": false, "url": "https://github.com/linkedin/Liger-Kernel"}, {"content_hash": "d0a274af7a8bbbc13af1e42e6db717808e28584f100b2f9718b4f30061bf4851", "fetched_at": "2026-08-29T08:39:58.201571+00:00", "kind": "homepage", "missing": false, "url": "https://linkedin.github.io/Liger-Kernel/"}, {"content_hash": "8eec8580116da895cdb92b92ca37f302b305456954d4368e5870ad24b0fc228b", "fetched_at": "2026-08-29T08:39:58.211166+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/liger-kernel/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.498985+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:45.498985+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:43:34.671923+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3658ddb98e17da93c452d7775c775aaecfbde11ed902b1dd51c2e2be3167e82", "fetched_at": "2026-08-28T04:09:45.498985+00:00", "kind": "readme", "missing": false, "url": "https://github.com/linkedin/Liger-Kernel"}, {"content_hash": "d0a274af7a8bbbc13af1e42e6db717808e28584f100b2f9718b4f30061bf4851", "fetched_at": "2026-08-29T08:39:58.201571+00:00", "kind": "homepage", "missing": false, "url": "https://linkedin.github.io/Liger-Kernel/"}, {"content_hash": "8eec8580116da895cdb92b92ca37f302b305456954d4368e5870ad24b0fc228b", "fetched_at": "2026-08-29T08:39:58.211166+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/liger-kernel/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:43:34.671923+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3658ddb98e17da93c452d7775c775aaecfbde11ed902b1dd51c2e2be3167e82", "fetched_at": "2026-08-28T04:09:45.498985+00:00", "kind": "readme", "missing": false, "url": "https://github.com/linkedin/Liger-Kernel"}, {"content_hash": "d0a274af7a8bbbc13af1e42e6db717808e28584f100b2f9718b4f30061bf4851", "fetched_at": "2026-08-29T08:39:58.201571+00:00", "kind": "homepage", "missing": false, "url": "https://linkedin.github.io/Liger-Kernel/"}, {"content_hash": "8eec8580116da895cdb92b92ca37f302b305456954d4368e5870ad24b0fc228b", "fetched_at": "2026-08-29T08:39:58.211166+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/liger-kernel/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:43:34.671923+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3658ddb98e17da93c452d7775c775aaecfbde11ed902b1dd51c2e2be3167e82", "fetched_at": "2026-08-28T04:09:45.498985+00:00", "kind": "readme", "missing": false, "url": "https://github.com/linkedin/Liger-Kernel"}, {"content_hash": "d0a274af7a8bbbc13af1e42e6db717808e28584f100b2f9718b4f30061bf4851", "fetched_at": "2026-08-29T08:39:58.201571+00:00", "kind": "homepage", "missing": false, "url": "https://linkedin.github.io/Liger-Kernel/"}, {"content_hash": "8eec8580116da895cdb92b92ca37f302b305456954d4368e5870ad24b0fc228b", "fetched_at": "2026-08-29T08:39:58.211166+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/liger-kernel/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:43:34.671923+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3658ddb98e17da93c452d7775c775aaecfbde11ed902b1dd51c2e2be3167e82", "fetched_at": "2026-08-28T04:09:45.498985+00:00", "kind": "readme", "missing": false, "url": "https://github.com/linkedin/Liger-Kernel"}, {"content_hash": "d0a274af7a8bbbc13af1e42e6db717808e28584f100b2f9718b4f30061bf4851", "fetched_at": "2026-08-29T08:39:58.201571+00:00", "kind": "homepage", "missing": false, "url": "https://linkedin.github.io/Liger-Kernel/"}, {"content_hash": "8eec8580116da895cdb92b92ca37f302b305456954d4368e5870ad24b0fc228b", "fetched_at": "2026-08-29T08:39:58.211166+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/liger-kernel/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 54, "rhythm": 98}, "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": 757, "days_push": 7, "days_rel": 15, "gap_med": 19, "n_releases_24m": 26}, "score": 90, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}