-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (57 loc) · 1.25 KB
/
Copy pathpyproject.toml
File metadata and controls
65 lines (57 loc) · 1.25 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
[project]
name = "llemb"
version = "0.3.0"
description = "Embedding extractor for decoder-only LLMs"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"accelerate>=1.10.1",
"bitsandbytes>=0.48.2",
"numpy>=2.0.2",
"torch>=2.0.0",
"tqdm>=4.66.0",
"transformers>=4.30.0",
]
classifiers = [
"Programming Language :: Python :: 3",
"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",
]
[project.optional-dependencies]
quantization = []
vllm = [
"vllm>=0.10.0",
]
[dependency-groups]
dev = [
"mkdocs-material>=9.7.1",
"mypy>=1.0.0",
"pytest>=7.0.0",
"ruff>=0.1.0",
]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = ["F841", "F401"]
[tool.mypy]
python_version = "3.9"
strict = true
follow_imports = "skip"
ignore_missing_imports = true
# Exclude virtual environment directories
exclude = [
"\\.venv",
"venv",
".venv"
]
[tool.pytest.ini_options]
testpaths = ["tests"]