python3Packages.liger-kernel: init at 0.8.0 (#531922)

This commit is contained in:
Alexander Bantyev
2026-07-16 09:13:44 +00:00
committed by GitHub
2 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
torch,
triton,
}:
buildPythonPackage (finalAttrs: {
pname = "liger-kernel";
version = "0.8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "linkedin";
repo = "liger-kernel";
tag = "v${finalAttrs.version}";
hash = "sha256-MAJ0goMxi8qA+ODd/kLIO7hp4dmNIOPLpSdkrm7hnnQ=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
torch
triton
];
# Requires NVIDIA driver.
doCheck = false;
pythonImportsCheck = [ "liger_kernel" ];
meta = {
description = "Efficient Triton Kernels for LLM Training";
homepage = "https://github.com/linkedin/liger-kernel";
changelog = "https://github.com/linkedin/liger-kernel/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ jherland ];
};
})

View File

@@ -9513,6 +9513,8 @@ self: super: with self; {
lifx-emulator-core = callPackage ../development/python-modules/lifx-emulator-core { };
liger-kernel = callPackage ../development/python-modules/liger-kernel { };
lightgbm = callPackage ../development/python-modules/lightgbm { };
lightify = callPackage ../development/python-modules/lightify { };