File size: 893 Bytes
9de0210
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[build-system]
requires = ["uv", "setuptools>=61.0", "wheel"] # uv for uv-aware builds, setuptools for packaging
build-backend = "setuptools.build_meta"

[project]
name = "cquantize"
version = "0.1.0"
description = "Quantization script module for confidentialmind-graph project for 4bit GPTQ quantizations (so far)"
readme = "README.md"
requires-python = ">=3.11,<=3.13.10" # 3.13.8 is used in the main project

dependencies = [
    "python-dotenv>=1.0.1",
    "gptqmodel>=1.9.0",
    "threadpoolctl>=3.5.0",
    "tokenicer>=0.0.2",
    "device-smi>=0.3.3",
    "pillow>=11.1.0",
    "torch>=2.6.0",
    "accelerate>=1.3.0",
    "safetensors>=0.5.2",
    "transformers>=4.48.3",
    "datasets>=3.3.0",
    "huggingface-hub>=0.28.1",
    "typer>=0.15.1",
    "hf-transfer>=0.1.9",
]

[tool.setuptools.package-data]
quantize = ["README.md", "*.py"] # Include README and Python files if packaged