This repository was archived by the owner on May 21, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (82 loc) · 2.38 KB
/
pyproject.toml
File metadata and controls
90 lines (82 loc) · 2.38 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
[build-system]
requires = ["setuptools >= 63.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "bitsandbytes-intel"
version = "0.0.1.dev0"
description = "Intel-optimized version of bitsandbytes"
readme = "README.md"
maintainers = [
{name="Titus von Köller", email="titus@huggingface.co"},
{name="Matthew Douglas", email="matthew.douglas@huggingface.co"}
]
license = {text = "MIT"}
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Environment :: GPU :: NVIDIA CUDA :: 11",
"Environment :: GPU :: NVIDIA CUDA :: 12",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: C++",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
]
requires-python = ">=3.9"
dependencies = [
"bitsandbytes",
"numpy>=1.20.0",
"torch>=2.2,<3",
]
[project.optional-dependencies]
dev = [
"build>=1.0.0,<2",
"ruff==0.11.2",
"pre-commit>=3.5.0,<4",
"wheel>=0.42,<1"
]
test = [
"pytest~=8.3",
]
[project.urls]
"Homepage" = "https://github.com/bitsandbytes-foundation/bitsandbytes-intel"
"Bug Tracker" = "https://github.com/bitsandbytes-foundation/bitsandbytes-intel/issues"
[tool.setuptools]
packages = ["bitsandbytes_intel"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
[tool.ruff]
src = [
"bitsandbytes",
"tests",
"benchmarking"
]
target-version = "py39"
line-length = 119
[tool.ruff.lint]
select = [
"B", # bugbear: security warnings
"E", # pycodestyle (error)
"W", # pycodestyle (warning)
"F", # pyflakes
"I", # isort
"ISC", # implicit string concatenation
"UP", # alert you when better syntax is available in your python version
"RUF", # the ruff developer's own rules
]
ignore = [
"B028", # no-explicit-stacklevel
]
[tool.ruff.lint.isort]
combine-as-imports = true
detect-same-package = true
force-sort-within-sections = true
known-first-party = ["bitsandbytes", "bitsandbytes_intel"]