-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
64 lines (62 loc) · 2.04 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="quantllm",
version="1.1.0",
author="Dark Coder",
author_email="[email protected]",
description="A lightweight library for quantized LLM fine-tuning and deployment",
long_description=long_description,
long_description_content_type="text/markdown",
project_urls={
"Homepage": "https://github.com/codewithdark-git/DiffusionLM",
"Sponsor": "https://github.com/sponsors/codewithdark-git", # 💰
},
packages=find_packages(),
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
python_requires=">=3.10",
install_requires=[
"torch>=2.0.0",
"transformers>=4.30.0",
"datasets>=2.12.0",
"accelerate>=0.20.0",
"peft>=0.4.0",
"bitsandbytes>=0.40.0",
"scipy>=1.10.0",
"scikit-learn>=1.0.0",
"tqdm>=4.65.0",
"numpy>=1.24.0",
"wandb>=0.15.0",
"sentencepiece>=0.1.99",
"protobuf>=3.20.0",
"einops>=0.6.1",
"evaluate>=0.4.0",
"tensorboard>=2.13.0"
],
extras_require={
"dev": [
"sphinx>=4.5.0",
"sphinx-rtd-theme>=1.0.0",
"sphinx-copybutton>=0.5.0",
"sphinx-autodoc-typehints>=1.18.3",
"myst-parser>=0.18.1",
"pytest>=7.0.0",
"pytest-cov>=3.0.0",
"black>=22.0.0",
"isort>=5.10.0",
"flake8>=4.0.0",
],
},
include_package_data=True,
zip_safe=False,
)