forked from linkedin/Liger-Kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (43 loc) · 1.48 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from setuptools import find_namespace_packages, setup
__version__ = "0.1.1"
setup(
name="liger_kernel",
version=__version__,
description="Efficient Triton kernels for LLM Training",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
license="BSD-2-Clause",
url="https://github.com/linkedin/Liger-Kernel",
package_dir={"": "src"},
packages=find_namespace_packages(where="src"),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
keywords="triton,kernels,LLM training,deep learning,Hugging Face,PyTorch,GPU optimization",
include_package_data=True,
install_requires=[
"torch>=2.1.2",
"triton>=2.3.0",
"transformers>=4.40.1",
],
extras_require={
"dev": [
"matplotlib>=3.7.2",
"flake8>=4.0.1.1",
"black>=24.4.2",
"isort>=5.13.2",
"pre-commit>=3.7.1",
"torch-tb-profiler>=0.4.1",
]
},
)