forked from ModelCloud/GPTQModel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (105 loc) · 2.76 KB
/
Copy pathpyproject.toml
File metadata and controls
109 lines (105 loc) · 2.76 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[build-system]
requires = [
"setuptools>=80.9",
"ninja>=1.13.0", # required for faster compilataion
]
build-backend = "setuptools.build_meta"
[project]
name = "GPTQModel"
dynamic = ["version"]
description = "Production ready LLM model compression/quantization toolkit with hw accelerated inference support for both cpu/gpu via HF, vLLM, and SGLang."
readme = "README.md"
requires-python = ">=3.10"
license = "Apache-2.0"
license-files = [
"LICENSE",
"licenses/LICENSE.apache",
]
authors = [
{ name = "ModelCloud", email = "qubitium@modelcloud.ai" },
]
keywords = ["gptq", "awq", "qqq", "autogptq", "autoawq", "eora", "gar", "quantization", "large-language-models", "transformers", "llm", "moe", "compression"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: C++",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Intended Audience :: Information Technology",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
]
dependencies = [
"accelerate>=1.10.1",
"numpy==2.2.6",
"torch>=2.8.0",
"safetensors>=0.6.2",
"transformers>=4.57.1",
"threadpoolctl>=3.6.0",
"packaging>=24.2",
"device-smi>=0.5.2",
"protobuf>=6.32.0",
"pillow>=11.3.0",
"pypcre>=0.2.5",
"hf_transfer>=0.1.9",
"huggingface_hub>=0.34.4",
"random_word>=1.0.13",
"tokenicer>=0.0.5",
"logbar>=0.1.7",
"maturin>=1.9.4", # required by safetensors and hf_transfer
"datasets>=3.6.0",
"pyarrow>=21.0",
"dill>=0.3.8", # datasets requirements
"pypcre>=0.2.4",
"torchao>=0.14.1", # fix bad transformers 4.57.1 breaking torchao compat
# "cython>=3.1.4", # required by hf-xet/hf-transfer
# "flash-attn>=2.8.3", <-- install for lower vram usage
]
[project.scripts]
gptqmodel = "gptqmodel.cli.gptqmodel:main"
[project.urls]
Homepage = "https://github.com/ModelCloud/GPTQModel"
[project.optional-dependencies]
test = [
"pytest>=8.3.5",
"pytest-timeout>=2.3.1",
"parameterized",
]
quality = [
"ruff==0.13.0",
# "isort==6.0.1",
]
vllm = [
"vllm>=0.10.2",
"flashinfer-python>=0.3.1",
]
sglang = [
"sglang[srt]>=0.4.6",
"flashinfer-python>=0.3.1",
]
bitblas = [
"bitblas==0.1.0.post1",
]
hf = [
"optimum>=1.21.2",
]
eval = [
"lm_eval>=0.4.7",
"evalplus>=0.3.1",
]
triton = [
"triton>=3.4.0",
]
openai = [
"uvicorn",
"fastapi",
"pydantic",
]
mlx = [
"mlx_lm>=0.24.0",
]