-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (67 loc) · 1.72 KB
/
pyproject.toml
File metadata and controls
73 lines (67 loc) · 1.72 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mps-bitsandbytes"
version = "0.7.0"
description = "NF4/FP4/FP8/INT8 quantization for PyTorch on Apple Silicon with Metal GPU acceleration"
readme = "README.md"
license = "MIT"
authors = [
{name = "imperatormk"}
]
keywords = [
"quantization",
"4bit",
"8bit",
"nf4",
"qlora",
"apple-silicon",
"pytorch",
"mps",
"metal",
"bitsandbytes",
"llm",
"transformers",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
requires-python = ">=3.10"
dependencies = [
"torch>=2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov",
]
transformers = [
"transformers>=4.30.0",
"accelerate>=0.20.0",
]
[project.urls]
Homepage = "https://github.com/mpsops/mps-bitsandbytes"
Repository = "https://github.com/mpsops/mps-bitsandbytes"
Issues = "https://github.com/mpsops/mps-bitsandbytes/issues"
Documentation = "https://github.com/mpsops/mps-bitsandbytes#readme"
[tool.setuptools]
packages = ["mps_bitsandbytes", "mps_bitsandbytes.nn", "mps_bitsandbytes.optim"]
include-package-data = true
[tool.setuptools.package-data]
mps_bitsandbytes = [
"kernels/*.metal",
"kernels/*.metallib",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
addopts = "-v"