-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
128 lines (116 loc) · 2.93 KB
/
pyproject.toml
File metadata and controls
128 lines (116 loc) · 2.93 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "deepscan"
version = "0.1.0"
description = "DeepScan: A flexible and extensible framework for diagnosing LLMs and MLLMs"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
authors = [
{name = "Your Name", email = "your.email@example.com"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"pyyaml>=6.0",
"datasets>=2.16.0",
]
[project.optional-dependencies]
# Default install - includes common dependencies for most use cases
default = [
"torch>=2.1",
"transformers>=4.37",
"numpy>=1.24",
"tqdm>=4.66",
]
# Development dependencies
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"black>=23.0",
"flake8>=6.0",
"mypy>=1.0",
]
# API server dependencies (removed from core for open-source version)
api = [
"fastapi>=0.110",
"uvicorn>=0.24",
]
# Model runner dependencies
qwen = [
"torch>=2.1",
"transformers>=4.37",
]
glm = [
"torch>=2.1",
# GLM-4.5 series may require a newer Transformers build with glm4_moe support.
"transformers @ git+https://github.com/huggingface/transformers",
]
# Ministral 3 (multimodal) requires the Mistral tokenizer stack from `mistral-common`
# and, per the official model card, a recent Transformers build (often main/v5).
ministral3 = [
"torch>=2.1",
"mistral-common>=1.8.6",
"transformers @ git+https://github.com/huggingface/transformers",
]
# Evaluator dependencies
tellme = [
"torch>=2.1",
"transformers>=4.37",
"pandas>=2.1",
"opt_einsum>=3.3",
"tqdm>=4.66",
]
xboundary = [
"torch>=2.1",
"transformers>=4.37",
"numpy>=1.24",
"scikit-learn>=1.3",
"matplotlib>=3.8",
"seaborn>=0.12",
]
mi_peaks = [
"torch>=2.1",
"transformers>=4.37",
"pandas>=2.1",
"numpy>=1.24",
]
# Convenience extras
all = [
"torch>=2.1",
"transformers>=4.37",
"pandas>=2.1",
"opt_einsum>=3.3",
"tqdm>=4.66",
"numpy>=1.24",
"scikit-learn>=1.3",
"matplotlib>=3.8",
"seaborn>=0.12",
]
[project.urls]
Homepage = "https://github.com/AI45Lab/DeepScan"
Repository = "https://github.com/AI45Lab/DeepScan"
Issues = "https://github.com/AI45Lab/DeepScan/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["deepscan*"]
[tool.black]
line-length = 100
target-version = ['py38', 'py39', 'py310', 'py311']
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false